The MASM Forum Archive 2004 to 2012

Specialised Projects => Custom Interface Components => Topic started by: msmith on February 06, 2006, 11:59:12 PM

Title: Web Browser
Post by: msmith on February 06, 2006, 11:59:12 PM
I've been testing the Web Browser component from Ketil, and it works very well except that I cannot figure out how to display local html pages from my C drive.

I noticed that the url for the same file is different on IE and Firefox, so maybe there is a differnt prefix for Ketil's browser.

If a person could look at local html files with this browser, it would be the lowest footprint html reader in the world.


Followup:

I just tried it on my XP machine and it works with the Firefox format just fine.

file:///C:/Documents%20and%20Settings/USER/My%20Documents/TestFile.html

Thanks again Ketil for another very fine control.
Title: Re: Web Browser
Post by: Mark Jones on February 07, 2006, 03:01:42 AM
Quote from: msmith on February 06, 2006, 11:59:12 PM
file:///C:/Documents%20and%20Settings/USER/My%20Documents/TestFile.html

According to win32.hlp the "file:///" prefix should be the Universal Naming Convention for wide paths. Perhaps Ketil's browser only supports wide paths?
Title: Re: Web Browser
Post by: zooba on February 07, 2006, 04:07:44 AM
I always thought it was only two forward slahes (ie. file://).

Quote from: msmith on February 06, 2006, 11:59:12 PM
If a person could look at local html files with this browser, it would be the lowest footprint html reader in the world.

Not really. It's identical to Internet Explorer except with less menus. :U
Title: Re: Web Browser
Post by: msmith on February 07, 2006, 05:08:35 AM
Hi zooba,

What I was trying to say was that I can add web browser capability to a program (such as html help) for very low _additional_ overhead. Also, it avoids the need to shellexec a browser.

Regards,

Mike
Title: Re: Web Browser
Post by: hutch-- on February 14, 2006, 07:12:47 AM
What is wrong with HH.EXE. I regularly set it up for other people so they can browse a collection of HTML documents on a local machine.
Title: Re: Web Browser
Post by: msmith on February 14, 2006, 07:27:54 AM
Hi Hutch,

I'm not familiar with HH.EXE, but my main interest in Ketil's web browser control was that I could incorporate it in a program to view html files without calling any other program so that it is seamless to the user.

The only problem is that it "blows up" frequently on Win98 (never on XP).

Mike