Hack Forums
[.NET] Treeview and Application Saving - Printable Version

+- Hack Forums (https://hackforums.net)
+-- Forum: Tech (https://hackforums.net/forumdisplay.php?fid=444)
+--- Forum: Coding (https://hackforums.net/forumdisplay.php?fid=151)
+---- Forum: Software Development (https://hackforums.net/forumdisplay.php?fid=118)
+---- Thread: [.NET] Treeview and Application Saving (/showthread.php?tid=5565033)



Treeview and Application Saving - Shadow Reign - Mar 2, 2017

I'm creating an application where you input a name and then a series of options using the treeview function. Essentially it's going to be a database of users and information for a specific game.

My only issue is how does one save this information within the application upon exiting? Is it possible or do I have to create an outside database?

I'm still not very good with vb.net but I'm trying 😵


* - Nick (Name) - Mar 3, 2017

Just serialize your data into xml and store it on disk somewhere


* - GuRuHaX - Mar 4, 2017

(Mar 2, 2017 07:08 PM)Shadow Reign Wrote:  I'm creating an application where you input a name and then a series of options using the treeview function. Essentially it's going to be a database of users and information for a specific game.

My only issue is how does one save this information within the application upon exiting? Is it possible or do I have to create an outside database?

I'm still not very good with vb.net but I'm trying 😵

If you are anyway gonna use a DB than add columns for the settings.
Make a class Settings for example, manage your properties how you want them and afterwards you can "attach" those settings to a specific user and save it to DB.

🤝