Hi Charles:
I have been playing around a bit and strangely enough....it seems to work in
the OnActivate event....
however, here are a few more things I have noticed....in my MDI environment,
1) if I have another child opn that has a datagrid on it, the child is
maximized and the datagrid is resized using anchors as a result, then when
the new child is opened with the AxWebBrowser on it, it causes all sorts of
problems....
2) if the previous child window is not maximized or the datagrid has fixed
width, the child window with the AxWebBrowser on it loads fine with the
OnActivated event navigating....
3) If the other current child window does not have a datagrid on it, the
AxWebBrowser loads fine
4) If a previous child window with a datagrid, maximized is open, and then
another window without a datagrid on it is opened and maximized, then
AxWebBrowser window opens fine...thus meaning that it does not work fine
when the previous current child window has a datagrid on it, is maximized,
and the datagrid is resized using the anchors....
I do not see the link here, but there is a definate pattern that is now
obvious and predictable.
any ideas...
Clint
"Charles Law" <la****@btinternet.com> wrote in message
news:u3**************@TK2MSFTNGP10.phx.gbl...
Hi Clint
I have been using the WebBrowser control from VB.NET for some little while
now, first with VS2002, and now with VS2003 (both now installed).
I have just tried navigating to the MS web site in the Form_Load event
without problem. Do you have any other stuff going on, e.g. processing any
events, like the DocumentComplete event?
Charles
"Clint MacDonald" <cl***@igsol.com> wrote in message
news:O9*************@TK2MSFTNGP11.phx.gbl... I have used the AxWebBrowser in a Visual Basic Project...
I found that both Framework 1.0 and 1.1 had to be installed for it to
work properly.
I now have found that in Studio 2003, that the probablem has come back even if both are installed.
When I open a windows form that has the Browser on it and try to
Navigate to a page using the OnEnter or OnLoad events, the page just sits there and
does nothing. If I make a button that navigates to a fil/page, then it works
fine....
Help
Clint MacDonald