Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Get a text from the Registry to VB Form

Status
Not open for further replies.

256652

Programmer
Jan 8, 2003
3
LK
when the form is running i want to add a some text (a Name) permenantly to the form without saving to a database. can i use the Registry to store this information and is there any way to get it back to the form when the form is loaded. can anyone help me.
 
Look up SaveSetting and GetSetting to easily access the registry. There are good examples in VBHelp
________________________________________________________________
If you want to get the best response to a question, please check out FAQ222-2244 first

'People who live in windowed environments shouldn't cast pointers.'
 
I agree completely. Both SaveSetting and getSetting can be called at any time. Also there is a GetALLSettings if you are dealing with several saved items. The only thing to remember is that these deal with strings, so some data may have to be convereted to save, then converted back to use it properly
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top