I am trying to run .exe files as part of the plain winEmbed browser, but I
don't have a clue on how to go about this. Can anyone give me an idea?

The plain winEmbed browser is supposed to run executible files as part of
user services.

Any ideas?

Thanks,
Fatima

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 24, 2001 7:51 PM
To: CORONAFATIMA HP-Boiseex1
Cc: '[EMAIL PROTECTED]'; '[EMAIL PROTECTED]';
'[EMAIL PROTECTED]'
Subject: Re: loading an HTML page on winEmbed browser window


You should be able to use the file:// URL format to open a file.

For ex, call the OpenWebPage() function with something like 
"file:///C:/TEMP/test1.html" as an argument.

CORONA,FATIMA , HP-Boise,ex1 wrote:

>Hi,
>
>I am trying to open winEmbed with an HTML page as a default page when it
>first starts up, instead of tyring to open a URL site. I don't know what
>these functions do in the file winEmbed.cpp  though... which I believe are
>the ones that start searching the URL and load it in to the browser window
>as a start up page.
>
>nsresult OpenWebPage(const char *url)
>{
>       :
>       :
>       :
>            // Start loading a page
>        nsCOMPtr<nsIWebBrowser> newBrowser;
>        chrome->GetWebBrowser(getter_AddRefs(newBrowser));
>        nsCOMPtr<nsIWebNavigation> webNav(do_QueryInterface(newBrowser));
>        return webNav->LoadURI(NS_ConvertASCIItoUCS2(url).GetUnicode(),
>            nsIWebNavigation::LOAD_FLAGS_NONE);
>    }
>
>    return rv;
>}   
>
>Does anybody know what each of these lines do? 
>
>Thanks,
>
>Fatima
>

Reply via email to