Jump to content

Welcome to Geeks to Go - Register now for FREE

Geeks To Go is a helpful hub, where thousands of volunteer geeks quickly serve friendly answers and support. Check out the forums and get free advice from the experts. Register now to gain access to all of our features, it's FREE and only takes one minute. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more.

Create Account How it Works
Photo

help with saving visual basic 6 data / variables


  • Please log in to reply

#1
Samjula

Samjula

    Member

  • Member
  • PipPip
  • 92 posts
hi all, im making this vb program for my a level coursework and it involves storing a load of data for different people, like name and adress etc. I could have used access for it, but ive been learning vb recently and would like to try it. How can i store these fields so that when i quit vb and load it up again. The records for the different people are still there. Can you save them to a text file and then tell vb to fetch the information from a certain line of the file? Any help to make this work would be much appreciated. Thanks in advance
  • 0

Advertisements


#2
Phil

Phil

    IRC Chat Staff

  • IRC Chat Staff
  • 21 posts
You should really use a database with your programme. VB will integrate with access quite well and will also integrate with MySQL, Postgre etc. with an ODBC.

If you don't want to use a database on the back end, you can just use a flat file system which will act as a database using separator characters between fields and users.

The database option is massively easier and more efficient. I don't really like access as a RDBMS but as the backend of a VB project it isn't too bad.

~Phil~
  • 0






Similar Topics

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

As Featured On:

Microsoft Yahoo BBC MSN PC Magazine Washington Post HP