webbrowser control in vb .net

larrythek1
12-22-2003, 06:49 AM
I'm trying to use the .com webbrowser control in a .net app and find that the .goback and .goforward methods don't work under .net. I have no trouble in VB6 with them. Any ideas regarding this problem?


-------OR EVEN BETTER-------

Can you refer me to the appropriate .net control. I'm confused as to the differences between IEExecuteRemote and IEHost and IIEHost

Do you know of any tutorials on these .net controls.

Thanks in advance,
Larry

Csharp
12-22-2003, 09:28 AM
they work fine here , with a webbrowser control placed on a form, eg:

Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
AxWebBrowser1.Navigate("http://google.com")
End Sub

Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
AxWebBrowser1.Navigate("http://msn.com")
End Sub

Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click
AxWebBrowser1.GoBack()
'/// causes the browser to navigate back fine.
End Sub

larrythek1
12-22-2003, 11:12 AM
Sorry Csharp,

It turned out to be a dumb coding error.

My apologies to Microsoft as well.

Liked the baby pictures though.

Larry

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum