Try something like: (this is Delphi code)

mzGecko.Navigate(HOME_ADDRESS);

Where mzGecko is your ActiveX control and HOME_ADDRESS is a string with the location of the page. In your case the string should be something like:

file:///C:/data/mypage.html


Dave Murray Glasgow, UK PGP KeyID: 0x838592B3

Remove NOSPAM from my email address to reply.




Vince wrote:
Darin Fisher a �crit :

Vince wrote:

Hi,

I would like to know how could I load web pages stored on my computer or in a database.




I presume that using file:// links is not what you want?  What
exactly are you trying to do?

-Darin

I am using mozilla activeX control in a MFC application and I want to load pages from a directory.


For instance let's my application called (MyMFCapp.exe) is in C:\data.
I want to create a directory called res in C:\data where I put my webpages.

Now every minute the application go to res and load a page in function of some parameters.

_______________________________________________
mozilla-embedding mailing list
[email protected]
http://mail.mozilla.org/listinfo/mozilla-embedding

Reply via email to