WebBrowser Control issues 
Author Message
 WebBrowser Control issues

I'm trying to use the WebBrowser control (or variant) to
automate some navigation through a site. One of the
problems I'm having is that some of the interfaces don't
seem to be implemented in the components that I'm using.

For example, I tried using the example from this thread
( http://www.*-*-*.com/
px?id=33508&Page=1). It works fine on a page with no
frames. The problem comes when I try to access the frames
property on the HTMLDocument returned in this example--it
throws an exception such as 'No such interface supported'
on this call. I have been able to use the frames property
on the documents returned from an
AxSHDocView.AxWebBrowser that is on a Windows Form, but
not from the SHDocVw.InternetExplorer class. Has anyone
found a way to do this?

Alternatively I wouldn't mind using the AxWebBrowser
control instead of the InternetExplorer class. However, I
have tried using the threading technique shown in the
example linked above in a Windows Form that contains an
AxWebBrowser control, but it seems to get hung at the
Monitor.Wait(..) call. Any suggestion as to how to get
around this?

Thanks for any suggestions/tips.

Fri, 17 Jun 2005 12:16:25 GMT  
 [ 1 post ] 

 Relevant Pages 

1. Control webbrowser ActiveX control in composit ActiveX control

2. WebBrowser Control/Explorer Control/HTML Control

3. WebBrowser control - create my own user control

4. Controlling the WebBrowser control

5. How to control WebBrowser control (or MSHTML.DLL)

6. MFC like printer control with the Webbrowser control (CHtmlView)

7. C# Focus Issues - Touch Screen - User Controls - Button Control - TextBox

8. c# WebBrowser Control BeforeNavigate2 Headers

9. Help: Calling ExecScript on WebBrowser control

10. WebBrowser control equivalent

11. using anchor property for WebBrowser control

12. Adding WebBrowser control at runtime


Powered by phpBB® Forum Software