
troubles with events in C# and WebBrowser, etc.
Best regards,
Lion Shi [MSFT]
MCSE, MCSD
Microsoft Support Engineer
This posting is provided "AS IS" with no warranties, and confers no rights.
You assume all risk for your use. 2001 Microsoft Corporation. All rights
reserved.
--------------------
Subject: troubles with events in C# and WebBrowser, etc.
Date: Fri, 13 Dec 2002 01:38:15 -0600
Lines: 26
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1106
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
Newsgroups:
microsoft.public.dotnet.framework.component_services,microsoft.public.dotnet
framework.interop,microsoft.public.dotnet.languages.csharp,microsoft.public
inetsdk.programming.webbrowser_ctl,microsoft.public.windows.inetexplorer.ie
5.programming.activexco
NNTP-Posting-Host: visit3.vp.uiuc.edu 130.126.117.150
Path:
cpmsftngxa09!cpmsftngxa10!tkmsftngp01!cppssbbsa01.microsoft.com!TK2MSFTNGP08
!TK2MSFTNGP10
Xref: cpmsftngxa09 microsoft.public.dotnet.framework.interop:10326
microsoft.public.dotnet.languages.csharp:116248
microsoft.public.inetsdk.programming.webbrowser_ctl:15686
microsoft.public.dotnet.framework.component_services:4218
X-Tomcat-NG: microsoft.public.dotnet.languages.csharp
Hi,
I'm developing an Explorer band that I intend to interact with the
WebBrowser component of an IE instance. I've been using BandObjectLib
(http://www.codeproject.com/csharp/dotnetbandobjects.asp). It works
great
at constructing the Explorer bar, and I can get an IE instance as a
WebBrowserClass. With that I can call Navigate() and load pages, etc.
However, I'm not able to get any events from the WebBrowserClass to
work.
I also tried code on MSDN here
(http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpgu...
ml/cpconhandlingeventsraisedbycomsource.asp), and that also did not
work --
no Explorer events were handled by the client.
On a somewhat related note, I've been trying to access the URL history
via
IUrlHistoryStg2 and then IEnumSTATURL. I'm writing C# wrappers, and I'm
especially having trouble with IEnumSTATURL.Next()'s parameter syntax.
Is
there anything available -- tools, published source code, published
libraries -- that will help me with working with these COM interfaces
for
IE, etc.?
Thanks,
Arun