Added: 3 years ago
From: jnbjabnk
Views: 5,715
Sort by time | Sort by thread (beta)

Link to this comment:

Share to:

All Comments (32)

Sign In or Sign Up now to post a comment!
  • Can you tell me how to save an enabled button for example you unlocked a game and it unlocks a button how would you make it on the login member? please answer

  • thanks very much

  • Thank you so much.

  • I know this is an old post but...

    The reason it disappears is because you have it set as

    Dim settings as NEW my.mysettings

    Try Dim settings as my.mysettings.

  • THIS VIDEO IS AMAZING!!! IS THERE ANYWAY I CAN GIVE IT 2 THUMBS UP?

  • Is there a way to save the hole form? I'm trying to make a manager game in VB 2008 (Like Football Manager, but this is Game Making Company Manager), but i don't know how to save the game file. If i like have made tons of employees in the game, how do i like save all the forms so they stay when you close the program? Thanks for all help!

  • thenks man realy work.......

  • Thanks man! That was very helpful. I had two radio buttons, and it was so annoying to choose one of them everytime the program runs. I used your video, so now the user can rightclick and sets the radio button as default. Very helpful.

    aman,

  • tnx, i was tryin to use ini files on visual studio 2008 and I fail cause was imposible; but with this tutorial I do my work

  • Subscribed =)

  • lol i wish i watched this video before , i have previous knowledge on settings,save but it kept being a bitch lol all i ended up doing was on form close copying files to the temp directory that meets the criteria and on next boot if there there, settings change corrosponding to them and if it's textboxes i wanted to change i used the streamwrite and streamread class tbh both methods take just as long well if your dealing with several startup properties. Well at least im learning hehe thanks dude

  • you could do it like this, well first you could add the picture for the button into your resources. and for the settings part, you can do this: My.Settings.ButtonBackGround = "1"

    but you have to make a new setting in your projects settings. it would look like this: ButtonBackGround-String-User-N­o Value.

    then make sure you save it with: My.Settings.Save

    now in the form load type this:If My.Settings.ButtonBackGround = "1" Then

    Button1.Backgroundimage = My.Resources.Whatever picture you have

    end if

  • nice tut, helped loads thnx

  • Thanks.

  • how would i do it so it saves a trackbar value

  • Awesome Tutorial!

    I need your Help!

    Ive tried Everything, bu how do you alow it to Save an Image, so when you start it up Next time, it will stay their?

    Please Help!!

  • How Do You Do Size

  • I have a two forms. form2 changes a labels text in form1. If i close the exe file after changed the text, and then open the exe file again, the old text is back what i changed is not there, how do i save it?

  • Make sure you put in:

    'I declared Setting as new My.Mysettings

    Setting.save

    Try that ;D

  • what is that i declare seting as new?

    p.s. I can't use " settings.save "

    I have to use " my.settings.save "

    will that still work?

  • Well it's still wrong, because it's called My.MySettings, but if you look in the video at about 3:18 you'll see i'm declaring Settings as New My.MySettings. Use your declare thing with the command .Save behind it, like i did, Settings.Save ;D

  • i figured it out. Thank you!

    p.s. I have another question please see the link bellow for it. Anyone who reads this post, please help me also! it's a good question about vb browsers.

    h t t p : / / w w w . geeks to go . com / forum / How - to - make - visual - basic - browser - out - needing - any - other - browser - t 2 4 0 6 8 6 . html

  • How do you save a bacground image???

  • How would you go about setting the backcolor of the form, or other items which have backcolor settings, using a button to save the information, after setting it with a radiobutton, and then loading the previously saved backcolor change on form load?

  • This Video is super!!!!! Thank you very much for your help!!!!

  • no problem man :P

  • Looova Ya'

    Thank you : )

  • Follow these steps to save your backcolor:

    1. Make a setting and call it whatever you want

    2.Type of setting is System.Drawing.Color

    3. Make a radiobutton or something and call it red if you want the color red...

    4.Doubleclick that radiobutton and typ in this code:

    Me.BackColor = Color.Red My.Settings.HERE YOUR SETTINGNAME = Me.BackColor My.Settings.Save()

    5. now, doubleclick your form(Form1_load)and typ in :

    Me.BackColor = My.Settings.HERE YOUR SETTINGNAME

  • THANKSTHANKS!!!!

  • thx

  • LOL u just said lol :) at 4:40

  • whats the code for saving the background color???????

  • Some thing like:

    Dim BGColor As Color

    BGColor = Me.BackColor

    (SettingsString/Color) = BGColor

    My.settings.save

    something like that :D

  • i want my program to allow user to change color to either red, blue or green. i have radio buttons and everything but i dont understand how to do wat you are showing

    HELP

  • Thanks for spreading your knowledge!

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