Visual basic 2008 tutorial - How to save username and password
Loading...
2,679
Loading...
Uploader Comments (theonlinegamers)
see all
All Comments (15)
-
great tutorial, man. thank you!
-
as I can do that, instead of saving what is written in the textbox, save an image ,???
-
do you know how i would make it remember the login not like this video?
Please answer
-
Hi is there way to make my program remember the checkbox has been checked ? if yea how to do ... sorry my eng is bad
-
@theonlinegamers i worked but when i try to add a new one it gets rid of the other i want it to add it to a list if thats possible
Loading...
How can i make so a user can add some text to a list and it will still be there?
MagicalFlump 1 year ago
@MagicalFlump Go into Settings like I showed in the video. Add a new setting (start typing in the empty field at the bottom). Change datatype to string, name to Text. If you want to save the text of a textbox, just type: My.Settings.Text = Textbox1.text (Ofc, replace textbox1 with whatever your textbox is called). When the user opens the program, set the text of textbox1 to My.Settings.Text
theonlinegamers 1 year ago
@theonlinegamers Ok thanks, i need users to save IP addresses so this should work, but lets say i have a richtextbox and when a user writes the IP address in the text box what code do i put in the button to add a new line to the rich text box?
MagicalFlump 1 year ago
@MagicalFlump Let me get this straight: You want the user to be able to click a button to add a new line to the richtextbox? Depending a bit on what version you have, here it is in 2008 express edition:
RichTextBox1.Text += vbNewLine
theonlinegamers 1 year ago
@theonlinegamers yeah thats it but i want to be able to add the new IP address to the new line
MagicalFlump 1 year ago
@MagicalFlump If RichTextBox1.Text = some IP address, then do this:
RichTextBox1.Text = vbNewline & RichTextBox1.Text
Before:
Some IP Address
After:
EMPTY LINE
Same IP address
theonlinegamers 1 year ago