• Unfortunately, we have experienced significant hard drive damage that requires urgent maintenance and rebuilding. The forum will be a state of read only until we install our new drives and rebuild all the configurations needed. Please follow our Facebook page for updates, we will be back up shortly! (The forum could go offline at any given time due to the nature of the failed drives whilst awaiting the upgrades.) When you see an Incapsula error, you know we are in the process of migration.

Launcher problem

Newbie Spellweaver
Joined
Apr 8, 2021
Messages
5
Reaction score
0
Hello guys its me again...

I've downloaded odoLauncher v3 and decided to check it. Works great but there's no ,,save" button in settings so i can't change game path i wanted to add it so i created button in design called it: pbSet

Then i stuck because i dont really know how to code it to make it work properly, to save settings after clicking it...

Sending u screenshot from project with buttons code
launcher - Launcher problem - RaGEZONE Forums
 

Attachments

You must be registered for see attachments list
Joined
Oct 16, 2004
Messages
897
Reaction score
97
there are many ways to save it.
1. INI
2. JSON
3. XML
4. REGISTRY
pick your poison.

in the PbBrowse_Click method, add there the option to save the directory AFTER you verified that the file exists.

Then on Form_Load(), add a function to load your settings and pass it to your lblGamePathValue.text.
 
Upvote 0
Back
Top