• Log in or sign up for an account here: https://www.sythe.org/login

What's the Best way to do this?

  • Thread starter Thread starter Darkgroove
  • Start date Start date
D

Darkgroove

Guest
I've had a few ideas, but they've all failed miserably.

I want a user to input values in 1 tab, then the program some how stores these values and outputs them in another tab. They have to be stored somehow so that I can call on them after I close and open the application again.

No textbox1.text= textbox2.text :p
 
Member of the Month Winner
Sythe's 10th Anniversary
You can use application settings, which are rather easy. Otherwise, you could store the settings in a file, but that requires a small amount more effort.

Info on Application Settings can be found on MSDN, as with almost any other thing to do with .Net coding: http://msdn.microsoft.com/en-us/library/k4s6c3a0.aspx
 
Valentine's Singing Competition Winner
Sythe Awards 2015 Winner
Sythe Awards 2016 Winner
Sythe Awards 2020 Winner
Member of the Month Winner
MushyMuncher
Gohan has AIDS
Extreme Homosex
World War 3
I'm LAAAAAAAME
Discord Verified
Off Topic Participant
You can also use the registry to save your settings then load them in the second tab.
Code:
GetSetting()
SaveSetting()

Returns as a string ofc.
 
Member of the Month Winner
Sythe's 10th Anniversary
You can also use the registry to save your settings then load them in the second tab.
Code:
GetSetting()
SaveSetting()

Returns as a string ofc.
Use of the registry is rather stupid for such a small application, and also very annoying when you can just store the settings in the same directory anyway. I HATE when apps become broken because they can't find the right reg keys.
 
Runescape Gamblingrunescape gambling
Back
Top