| View previous topic :: View next topic |
| Author |
Message |
Golden Wing Grandmaster Cheater
Reputation: 0
Joined: 29 Aug 2007 Posts: 905
|
Posted: Tue Nov 27, 2007 6:04 pm Post subject: vb6 save/load |
|
|
im making a game how do i save it and load it not the vb6 project but the game the player reached lv 27 then they click save and it save then when they come back they press load and their character loads whats the code for this or how?
_________________
|
|
| Back to top |
|
 |
Blader I post too much
Reputation: 2
Joined: 19 Jan 2007 Posts: 2049
|
Posted: Tue Nov 27, 2007 6:08 pm Post subject: |
|
|
You could have all the info stored in a certain file, and just load it again when the person presses load
_________________
|
|
| Back to top |
|
 |
Golden Wing Grandmaster Cheater
Reputation: 0
Joined: 29 Aug 2007 Posts: 905
|
Posted: Tue Nov 27, 2007 6:10 pm Post subject: |
|
|
| Blader wrote: | You could have all the info stored in a certain file, and just load it again when the person presses load  | i know that lol but how
_________________
|
|
| Back to top |
|
 |
Blader I post too much
Reputation: 2
Joined: 19 Jan 2007 Posts: 2049
|
Posted: Tue Nov 27, 2007 6:16 pm Post subject: |
|
|
Hmm
Use the print method thing (I forgot what it was called)
_________________
|
|
| Back to top |
|
 |
Pseudo Xero I post too much
Reputation: 0
Joined: 16 Feb 2007 Posts: 2607
|
Posted: Tue Nov 27, 2007 6:17 pm Post subject: |
|
|
XML / INI files, or just reading certain lines in a text file.
_________________
| haxory' wrote: | can't VB do anything??
windows is programmed using VB right? correct me if im wrong.
so all things in windows you have like the start menu is a windows form too. |
|
|
| Back to top |
|
 |
Golden Wing Grandmaster Cheater
Reputation: 0
Joined: 29 Aug 2007 Posts: 905
|
Posted: Tue Nov 27, 2007 6:23 pm Post subject: |
|
|
| Xenephobe wrote: | | XML / INI files, or just reading certain lines in a text file. | i know i have to use thoes file but how?
_________________
|
|
| Back to top |
|
 |
Pseudo Xero I post too much
Reputation: 0
Joined: 16 Feb 2007 Posts: 2607
|
Posted: Tue Nov 27, 2007 6:25 pm Post subject: |
|
|
| xDemonRobbiex wrote: | | Xenephobe wrote: | | XML / INI files, or just reading certain lines in a text file. | i know i have to use thoes file but how? |
Google it.
_________________
| haxory' wrote: | can't VB do anything??
windows is programmed using VB right? correct me if im wrong.
so all things in windows you have like the start menu is a windows form too. |
|
|
| Back to top |
|
 |
Golden Wing Grandmaster Cheater
Reputation: 0
Joined: 29 Aug 2007 Posts: 905
|
Posted: Tue Nov 27, 2007 6:28 pm Post subject: |
|
|
| Xenephobe wrote: | | xDemonRobbiex wrote: | | Xenephobe wrote: | | XML / INI files, or just reading certain lines in a text file. | i know i have to use thoes file but how? |
Google it. | thx i did not know what to search would have put vb6 save/load and probably get how to save the project
_________________
|
|
| Back to top |
|
 |
atom0s Moderator
Reputation: 205
Joined: 25 Jan 2006 Posts: 8587 Location: 127.0.0.1
|
Posted: Tue Nov 27, 2007 10:49 pm Post subject: |
|
|
The easiest way to find something for this nature would be to Google for a VB6 phone book / address book type program. As most will have some method of saving and loading to files. Be sure to check out:
www.freevbcode.com
www.pscode.com
There are more then enough examples on how to use ini and xml files on both those sites.
_________________
- Retired. |
|
| Back to top |
|
 |
Golden Wing Grandmaster Cheater
Reputation: 0
Joined: 29 Aug 2007 Posts: 905
|
Posted: Wed Nov 28, 2007 8:36 pm Post subject: |
|
|
| Wiccaan wrote: | The easiest way to find something for this nature would be to Google for a VB6 phone book / address book type program. As most will have some method of saving and loading to files. Be sure to check out:
www.freevbcode.com
www.pscode.com
There are more then enough examples on how to use ini and xml files on both those sites. | thx again! i found it on pscode
_________________
|
|
| Back to top |
|
 |
|