Thanks Chak,
My HTML page was successfuly displayed when the winEmbed browser started.
I get this messege when I execute the winembed execute command though..
D:\mozilla\source\mozilla\dist\WIN32_O.OBJ\bin>winembed
You are embedded man!
It's NOT UTF-16BE- byte 39(27)
has multiple monitor apis is 1
What does this mean? Does the HTML file need to be in UTF-16BE-byte form?
Is this form used for Localization?
Thanks,
Fatima
********************************************************************
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
>
RE: loading an HTML page on winEmbed browser window
CORONA,FATIMA (HP-Boise,ex1) Wed, 25 Jul 2001 07:50:47 -0700
- loading an HTML page on winEmbed browser wind... CORONA,FATIMA (HP-Boise,ex1)
- Re: loading an HTML page on winEmbed bro... Chak Nanga
- CORONA,FATIMA (HP-Boise,ex1)
