very_confused
05-29-2003, 09:44 AM
in a visual basic n00b and i was woundering how u write settings into the registry and then read them at a later date.
thanks in adv
thanks in adv
read/write into registryvery_confused 05-29-2003, 09:44 AM in a visual basic n00b and i was woundering how u write settings into the registry and then read them at a later date. thanks in adv loquin 05-29-2003, 09:59 AM For basic registry operations, look up the Getsetting and Savesetting commands. They are quite appropriate for the beginner, since the registry changes you can make using them can't crash your computer. very_confused 05-29-2003, 10:19 AM why doesn't this work? SaveSetting ("Form1", "Form", "form", straddress) loquin 05-29-2003, 11:41 AM SaveSetting "Form1", "Form", "form", straddress But, you may wish to give the registry entries more descriptive names...like Savesetting App.Title, me.Name, "Address", strSddress (App.Title returns the Title of your application, Me.Name returns the Name of your active form) The reason for doing so is that you will find yourself using the registry more and more, and you don't want to use the same field & section names for two different apps... Just make sure that you give each form a descriptive Name, and that you go into Project Properties and give the App a descriptive, preferably unique Title. very_confused 05-30-2003, 01:56 PM thanks it works now |
EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum