yo_daz_uk
asked on
EASY - VB 6 Forms save
Hello,
I have a problem with my VB 6 Project.
If i have a label on a form called 'theform' on a label called 'thelabel' that says "Hello" i can edit this by using code like ...
theform.thelabel = "Goodbye"
this works fine. However, if i close my running project, and then start it back up again the labe has changed back to "Hello" and has not saved my changes.
I know in Access you have to edit a form in design mode for the changes to save, i dont think there is any kind of design mode in VB is there?
Does anyone know how i can save my changes to my vb form?
Thanks,
Daz
I have a problem with my VB 6 Project.
If i have a label on a form called 'theform' on a label called 'thelabel' that says "Hello" i can edit this by using code like ...
theform.thelabel = "Goodbye"
this works fine. However, if i close my running project, and then start it back up again the labe has changed back to "Hello" and has not saved my changes.
I know in Access you have to edit a form in design mode for the changes to save, i dont think there is any kind of design mode in VB is there?
Does anyone know how i can save my changes to my vb form?
Thanks,
Daz
ASKER
I thought about just getting it from a text file or even setting up a mini database for all my forms so they would be easy to change, however this seemed a bit excessive, for what i would think is a minor change.
I have only got 4 forms in the project!!!
Is there no simple save method or anything like that? That would save it to the form some how?
I have only got 4 forms in the project!!!
Is there no simple save method or anything like that? That would save it to the form some how?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
OK thanks
When you start the program, you can load the value from that file and if you close your form, save the values back into the file.