PC Review Forums Newsgroups Microsoft DotNet Microsoft Dot NET Framework Forms CHM file and webbrowser component

Reply

CHM file and webbrowser component

 
Thread Tools Rate Thread
Old 08-08-2006, 07:59 PM   #1
Martin Fink
Guest
 
Posts: n/a
Default CHM file and webbrowser component


Hi group,

I want to show a particular html page from a chm file in the webbrowser
component (.NET 2.0). It works if I have the chm file on disk and make the
webbrowser navigate to it via the mk:@MSITStore url (i.e.
webbrowser.Navigate("mk:@MSITStore:C:\foo.chm::/start.html")).

Now I want to embed the chm into my assembly and load it from there
directly into the webbrowser component (without storing it temporarily on
disk). I thought I could use webbrowser.DocumentStream and set it to the
stream of the 'chm resource'. But how can I tell the webbrowser that this
stream is a chm and he has to navigate to a specific html page.

Perhaps there is a completely other aproach. Any hints are welcome.

Best regards,
Martin
  Reply With Quote
Reply



Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off