[Mono-list] Need help: writing a COM control.
Guenther Roith
groith@tcrz.net
Sun, 11 Aug 2002 19:23:18 +0200
Hi!
I've also found some additional information on the IE COM API:
http://msdn.microsoft.com/library/default.asp?url=/workshop/browser/WebBrows
er/WebBrowser.asp
As well as a vb script (stupid, I know, but the only example I found).
must be saved a something.vbs:
Dim MyIE
Set MyIE = CreateObject("InternetExplorer.Application")
do while MyIE.Busy
loop
MyIE.Visible = 0
MyIE.Navigate "http://www.go-mono.org"
MyIE.Silent = True
Do While MyIE.ReadyState<>4
Loop
MsgBox(MyIE.Document.Body.innerText)
MeinIE.Quit
Johannes
----- Original Message -----
From: "Miguel de Icaza" <miguel@ximian.com>
To: <mono-list@ximian.com>
Sent: Sunday, August 11, 2002 1:11 PM
Subject: [Mono-list] Need help: writing a COM control.
> Hello guys,
>
> I usually find myself traveling and without the desire to boot
> VMware. The only reason to start up VMWare is to read the online
> documentation for the .NET Framework.
>
> Ideally, we would have our own documentation, but we do not have it
> yet. So what I want to do is pull all the data from the existing
> Microsoft implementation, and dump it into HTML that I can later view
> from Linux when am traveling.
>
> I found that they have a control that handles the `ms-help:' prefix
> (indeed, the URL would work just fine under IE). But the API is an
> internal API, so it is not easy to figure out what arguments to pass to
> it. Even with this, I was able to write a simple C# program that could
> load the index, and return a list of topics, but I was stopped there.
>
> Since the `ms-help:' happens to be some kind of handler that IE
> uses, I wonder if it is possible to write a COM control that would allow
> me to pull the stream of data that would be rendered by the ms-help:
> control.
>
> Once this is done, I could safely write a little program to pull
> all the data and copy it over to Linux to browse. I know its possible,
> I just do not know enough COM to pull this out.
>
> Miguel.
>
> _______________________________________________
> Mono-list maillist - Mono-list@ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
>