Alert icon
We're changing our privacy policy. This stuff matters.  Learn more  Dismiss

How to make a program that saves stuff for the next time you open it

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
865 views
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on May 23, 2010

how to make a program that lets you save stuff for next time you open it

IMPORTANT!
===========

when you go to the project go to the top tab and find a checkbox that says save my.settings on shutdown UNCHECK that box

CODE:
=====

form1_load:

textbox1.text = my.settings.a



Button1_Click:

my.settings.a = textbox1.text


if you wanted to do this for a couple of textboxes you would have to add more settings and the code would look like this.

Form1_Load:

textbox1.text = my.settings.a
textbox1.text = my.settings.b
textbox1.text = my.settings.c
textbox1.text = my.settings.d
textbox1.text = my.settings.e


Button1_Click:

my.settings.a = textbox1.text
my.settings.b = textbox1.text
my.settings.c = textbox1.text
my.settings.d = textbox1.text
my.settings.e = textbox1.text


New video out soon so SUSCRIBE :))

Category:

Howto & Style

Tags:

License:

Standard YouTube License

Link to this comment:

Share to:
see all

All Comments (4)

Sign In or Sign Up now to post a comment!
  • @SDprojecten you cant its only for windows he just has a Mac theme on his pc

  • how do you get Visual basic on Mac....

  • My love goes to you ! <3

  • Thank you alot!

Loading...

Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more