Joer es q te explicas fatal.. en vez de crear la llave en el reg pones esa info al final de tu server y luego la lees y haces lo q corresponda.
Hay q buscar...
http://foro.elhacker.net/index.php/topic,171824.0.html
Ahí tienes un codigo completo y funcional
zi buske i no encontre nunca tu post o mas facil alguien sabe de una guia para hacer un editor de server 

Hay q buscar...
http://foro.elhacker.net/index.php/topic,171824.0.html
Ahí tienes un codigo completo y funcional


i gracias por el link
