10-12-2009 08:26 PM
hi,
I have problem with storing data into the string.
I am working on small project , where i need to print labels. I am using string control to print numbers. whenever i close the whole exe, and re open the exe program ,the string control does not remembers last value entered and displays blank. So, again I have to remember or note down the last value entered in the string and feed into it every time when i open exe.
what i have to do?
Solved! Go to Solution.
10-12-2009 09:12 PM
Before you close your executable, you need to have the program write the value of that string out to a file.
When when your program starts, it needs to read that file and write the value to a local variable of that string.
10-12-2009 09:16 PM
Modify your program:
1) write the string in a text file before closing the executable;
2) read the text file when the executable starts.
Jean-Marc