I want to save my visual basic express 2008 program including the data entered in the program and then open the file again to add to or correct the data in it. I want to keep the original software program so that it opens without the data in it.
How can I save my Visual Basic project after I have entered data.?
There are three ways to save data:
- create a file and dump any data you wish to that file. The caveat: You've got to create a parser that can read the data back.
- Save the data in an .ini files or registry. The caveat: it is intended for application configuration datas, not user input data and it doesn't scale well, especially registry, which might make a permanent slow down of the whole system if you put in too much everything
- Put the data in a database. The caveat: databases aren't that simple for new programmers
You may choose whichever solution works best for your situation
Reply:You could create another file which stores the information added for a certain file. If that file is then loaded, it also loads the file with the information and fills out the form.
You could do this either storing the data in an ini file, and xml file or a custom file which you can then parse and extract the data from.
wholesale flowers
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment