Hi Mike,
Now I do recall having the same problem before I looked into it a little
further. And then I added this code (which I included before but which you
are not using) AFTER the browserwindow.show():
Dim nullObject As System.Object = 0
Dim str As String = ""
Dim nullObjStr As System.Object = str
newmdichild.AxWebBrowser1.GoHome()
Then, in the browser window itself, I have a button that is set as the
form's acceptbutton called 'goit'. Here is its click event code:
Dim nullObject As System.Object = 0
Dim str As String = ""
Dim nullObjStr As System.Object = str
AxWebBrowser1.Navigate(addressit.Text, nullObject, nullObjStr, nullObjStr,
nullObjStr)
Finally, I have a call to the axwebrowser's documentcomplete event:
Private Sub AxWebBrowser1_DocumentComplete(ByVal sender As Object, ByVal e
As AxSHDocVw.DWebBrowserEvents2_DocumentCompleteEvent) Handles
AxWebBrowser1.DocumentComplete
addressit.Text = AxWebBrowser1.LocationURL.ToString
End Sub
I also use toolbars and images for the usual buttons - goback, home,
goforward, etc. If you need some help with these, let me know.
Bernie
Mike Tadd said:
I have the same midi part
BrowserWindow.MDIParent = Me
BrowserWindow.show()
This brings it up ok. But nothing is then displayed. there is a text box
on
the page that allows you to enter a if, then it changes the url to the
string. i.e. display.php?page=434.
when the user changes the text box, and clicks go the page= changes. thats
all that happens.