kresh7
02-21-2008, 09:44 AM
How to make my program remember the last work ?
so when i work on my program and i close it and open it again it remembers the access databases and other stuff i done how can i do that ?
the master
02-21-2008, 09:49 AM
You could use a registry setting. This is my fave method for simple things like window positions or the path of the last file you opened but i hear Vista has trouble with registry functions. I have only run 1 app on Vista so far and the registry settings worked fine for me.
The other way is to have a file thats saved in the same folder as your app with all the settings in. This is usefull if your app is moved from 1 PC to another or is stored on a server or removable storage device. Its also a good method for storing a lot of data