Dopey-Rob

I was wondering...

I never seemed to grasp what the writer was trying to explain in my VB Express Book,

so I thought someone on here might be able to help me!
You know when you tick a radio-button (the circle check boxes)
How do you make the form save the selection of the radio-button when you exit the program, so that it is the same for the next time the user accesses the program.

Also, if I had a button called "btnAccept".. how could I make that button save the changes, and the button "btnCancel" keep the ones that were already there

Thanks,

-Robs




Re: Visual Basic Express Edition How do I..? --- In Visual Basic 2005 Express Edition

Robs

Also.. Does anyone know how to navigate a web browser with a text box
I tried this..

Code Snippet

WebBrowser.Navigate = txtboxAddressBar.Text

Except.. It keeps telling me.. "Overload resolution failed because no assessible 'Navigate' accepts this number of arguments"
Can someone please give me a code snippet
Please tell me what I'm doing wrong, without the gibberish that I won't understand.

Thanks xD

-Robs






Re: Visual Basic Express Edition How do I..? --- In Visual Basic 2005 Express Edition

NateNate

To your first question, use the "Settings" Page in the "My Project" window, and use something like "dim SelectedRadioButton = My.Settings.Item( ITEMNAME )" to load it. To save it, use something like "My.Settings.Item( ITEMNAME ) = SelectedRadioButton"

To your second question, you should put it like this : WebBrowser.Navigate(txtboxAddressBar.Text).