Thread: Saving/Loading
View Single Post
Old 07-02-2006, 03:25 PM   #1 (permalink)
Storm33229
Forum Expert
 
Join Date: Jul 2003
Location: Arizona
Age: 18
Posts: 3,186
Send a message via AIM to Storm33229 Send a message via Yahoo to Storm33229
Default Saving/Loading

Saving and Loading aka Serialization / De-Serialization (i think).
Variables:
public int age;
public string name;

Forms:
startForm // This is run on Main
--Button : fillOutForm
--Button : loadForm
fillOutForm // This is where you fill out your age and name
--Button : Ok // returns to startForm
loadForm // displays all saved profiles (profile consists of name and age)
--Button : Load a profile //Loads selected profile (selection is via radiobutton) Opens profile in viewForm
viewForm // 2 labels displaying the loaded profile

None of this is coded, why? Because I have no freaking idea on how to do it. I have tried googling it, and going to several sites. The problem? The problem is they have messy/complicated code that I don't want to have to read through just to figure it out. So, if anyone can show me code on how to do this (dont give me the actuall Form code) that would be awesome.

-Storm
__________________
Quote:
Originally Posted by Radwen
You should crush your pills and sniff them.
Storm33229 is offline   Reply With Quote