Raymond9654
New member
- Joined
- Mar 8, 2011
- Messages
- 3
- Programming Experience
- Beginner
Ok....
I have this neat little web browser that has recently been gaining a bit of speed in download rates because of it's ability to change proxies by the click of a button. None of this is important, I'm just giving you backround info.
I want to make the program a little bit.. spiffier and cooler.
I thought it would be cool if the program could refer to you by name so I want an inputbox to open up if there is no fname saved to a setting and ask for your name.
Right now I have
This is what I have so far.
I believe it would work except for the but "If My.Settings.fname = clear Then" because the setting being clear is not a clear command.
How would you say if the setting doesn't have anything saved to it then execute the following command?
This is important for a school project and for my friends who told me that I couldn't do this, so I really need an answer.
Thanks!
I have this neat little web browser that has recently been gaining a bit of speed in download rates because of it's ability to change proxies by the click of a button. None of this is important, I'm just giving you backround info.
I want to make the program a little bit.. spiffier and cooler.
I thought it would be cool if the program could refer to you by name so I want an inputbox to open up if there is no fname saved to a setting and ask for your name.
Right now I have
VB.NET:
If My.Settings.fname = clear Then
Dim fname
fname = InputBox("What is your name?")
My.Settings.fname.Add(fname)
My.Settings.Save()
End If
This is what I have so far.
I believe it would work except for the but "If My.Settings.fname = clear Then" because the setting being clear is not a clear command.
How would you say if the setting doesn't have anything saved to it then execute the following command?
This is important for a school project and for my friends who told me that I couldn't do this, so I really need an answer.
Thanks!