save and load value from registry in vb.net -


i have application user select configuration, need write function 1 save configuration when application closed , other load configuration when application loaded, need use registry able me giving me 2 small example how save , load registry. thank jp

the "my" class in vb contains need. read data:

my.computer.registry.localmachine.getvalue("mykey") 

to write data:

my.computer.registry.localmachine.setvalue("mykey", "myvalue") 

hope helps.


Comments

Popular posts from this blog

javascript - Enclosure Memory Copies -

php - Replacing tags in braces, even nested tags, with regex -