hi everbody!
I am a complete vb novice.could anyone tell me if it is possible to save the value of a checkbox (eg.checked or unchecked)so that this value is returned the next time the programme is run?
all help much appreciated
Printable View
hi everbody!
I am a complete vb novice.could anyone tell me if it is possible to save the value of a checkbox (eg.checked or unchecked)so that this value is returned the next time the programme is run?
all help much appreciated
Hi
Check this link out and it will answer your question :)http://forums.vb-world.net/showthread.php?threadid=34339
Use the registry to save the true/false value on app exit then when the app restarts access the registry to retrieve the old value and set it.
Check out the post by Megatron - here
which shows how to call the registry API functions.
It's easyer to use these vb things to read/write the registry:
http://msdn.microsoft.com/library/de...aveSetting.htm
http://msdn.microsoft.com/library/de...GetSetting.htm