newbie questionon forms

newbie82

Member
Joined
Mar 7, 2005
Messages
9
Programming Experience
Beginner
Hello,
I am making a web browser and would like to navigate my axwebbrowser to a url specified in a txt box on another form by a click event on a button.
This is what I have in the click event:
myForm1.AxWebBrowserMain.Navigate(myForm2.coboFav.Text)
I get no errors, but it doesnt work.
I'm new to this and easily confused, any help would be greatly appreciated.
Thanks.
 
i've recently gotten the AxWebBrowser control to make a webbrowser myself here, but i havent had time to actually start making it but i've got a form with a textbox, the browser control and a button, at the moment it does work with:

awbBrowser.Navigate(txtAddress.Text)

when i click the button
 
Yeah I can get the browser to navigate to an address when I click a button on the same form, but the button I want to be able to click and navigate the browser is on form2 and the browser on form1.
Any ideas?
 
Back
Top