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
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!
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.
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-No 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
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?
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
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 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?
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
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
diddims4 4 months ago
thanks very much
1111kalo 5 months ago
Thank you so much.
YouDucks32 9 months ago
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.
kaisersozia 1 year ago
THIS VIDEO IS AMAZING!!! IS THERE ANYWAY I CAN GIVE IT 2 THUMBS UP?
TheVJackV 1 year ago
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!
fpscreatorfan 1 year ago
thenks man realy work.......
THEBOOTENGINE 1 year ago
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,
AmanKeren 1 year ago
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
maggiver 1 year ago
Subscribed =)
XDementedSheepX 2 years ago
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
XDementedSheepX 2 years ago
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-No 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
lucasbear123 2 years ago
nice tut, helped loads thnx
NOTtheWii 2 years ago
Thanks.
iAurOx 2 years ago
how would i do it so it saves a trackbar value
swaghack428 2 years ago
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!!
mattydavid12 2 years ago
How Do You Do Size
GamingGlitcher01 2 years ago
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?
vbsripter 2 years ago
Make sure you put in:
'I declared Setting as new My.Mysettings
Setting.save
Try that ;D
jnbjabnk 2 years ago
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?
vbsripter 2 years ago
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
jnbjabnk 2 years ago
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
vbsripter 2 years ago
How do you save a bacground image???
alexdarcylive 2 years ago
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?
runescapesstupid929 2 years ago
This Video is super!!!!! Thank you very much for your help!!!!
ACJumper1993 2 years ago
no problem man :P
jnbjabnk 2 years ago
Looova Ya'
Thank you : )
Shaisbajs 2 years ago
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
chinagangstertje 3 years ago
THANKSTHANKS!!!!
ErlendRampRamp 3 years ago
thx
xxwimanxx 3 years ago
LOL u just said lol :) at 4:40
PokerBoi123 3 years ago
whats the code for saving the background color???????
XBLXxR1fleManxX 3 years ago
Some thing like:
Dim BGColor As Color
BGColor = Me.BackColor
(SettingsString/Color) = BGColor
My.settings.save
something like that :D
jnbjabnk 3 years ago
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
thakurabhi16 3 years ago
Thanks for spreading your knowledge!
calialec 3 years ago