How to make save/load state??

Dr_Colossos
05-07-2005, 07:18 AM
I am creating a very simple program.
It contains only a few textboxes and labels
I want to make a save and a load button. So when I save, the program will remember what for example text1.text was and label5 was... And how to load the saved state...

I am using the following buttons

command7 = save button
command9 = load button

How to do????

OMID SOFT
05-07-2005, 07:39 AM
I am creating a very simple program.
It contains only a few textboxes and labels
I want to make a save and a load button. So when I save, the program will remember what for example text1.text was and label5 was... And how to load the saved state...

I am using the following buttons

command7 = save button
command9 = load button

How to do????

Store data:

SaveSetting(AppName As String, Section As String, Key As String, Setting As String)

Re-store data:

GetSetting(AppName As String, Section As String, Key As String, [Default])

Or use .ini files.

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum