
11-19-2009
|
|
|
|
Re: IE8 Web Browser control error
The issue should be associated with the WebBrowser control, not IE object.
I believe the error occurs just after Navigate2 call. For example:
Call frmMain.WebBrowser.Navigate2(sURL)
Thanks, Bob
"rob^_^" wrote:
> Hi Bob,
>
> That error occurs on the InternetExplorer object not the WebBrowser control?
>
> Private Sub OpenNewIE(ByVal sURL As String)
> 'Open a new IE Window and navigate the specified url
> On Error Resume Next
> If myWB Is Nothing Then
> Set myWB = New InternetExplorer
> End If
> myWB.Navigate2 sURL
> Do While myWB.Busy
> If Err.Number Then Exit Do
> Loop
> myWB.Visible = True
> If Err.Number > 0 Then
> MsgBox Err.Description, vbCritical, App.ProductName
> End If
> End Sub
>
> Put a loop in it while IE is busy. Sometimes though you have to get out of
> there if an Addon causes a tab crash.
>
> Regards.
>
> "Bob" <Bob@discussions.microsoft.com> wrote in message
> news:815F3ACA-0484-4C8F-B5CF-D3BF592E4D7A@microsoft.com...
> > The window displaying "An action cannot ..." seems to be generated by the
> > OS.
> > It has the buttons "Switch To" and "Retry". I do not believe this issue is
> > some sort of trappable error.
> >
> > "rob^_^" wrote:
> >
> >> On Error Resume Next
> >>
> >> "Bob" <Bob@discussions.microsoft.com> wrote in message
> >> news:C7D63A03-F749-4094-9EB1-3B59020376EF@microsoft.com...
> >> > I have an ActiveX control that utilizes the Web Browser control to
> >> > display
> >> > webpages. On PCs with IE8, sometimes the following error occurs:
> >> >
> >> > An action cannot be completed because a component is not responding
> >> >
> >> > I cannot reproduce the error when debugging. There are no issues on PCs
> >> > with
> >> > IE7.
> >> >
> >> > Has anyone encountered a similar issue? Is there a resolution?
> >> >
> >> > Thanks, Bob
> >> >
> >
|