Re: Displaying images with embedded mozilla

2006-06-08 Thread Boris Zbarsky
Craig Kadziolka wrote: Do you know what I should pass in here as the base URI, if I just want it to look in the same place as the binary? The file:// URI to the binary... -Boris ___ dev-embedding mailing list dev-embedding@lists.mozilla.org https://l

Re: Displaying images with embedded mozilla

2006-06-08 Thread Craig Kadziolka
Boris Zbarsky wrote: Craig Kadziolka wrote: inputStream->SetData("My test generated page", -1); That's a relative URI. // finally, load the stream we made rv = docShell->LoadStream(inputStream, NULL, And you pass NULL for the base URI. So of course nothing loa

Re: Displaying images with embedded mozilla

2006-06-08 Thread Boris Zbarsky
Craig Kadziolka wrote: inputStream->SetData("My test generated page", -1); That's a relative URI. // finally, load the stream we made rv = docShell->LoadStream(inputStream, NULL, And you pass NULL for the base URI. So of course nothing loads. You want to pass

Displaying images with embedded mozilla

2006-06-08 Thread Craig Kadziolka
Hi all, I am having a problem with mozilla embedded within my application. I can build it and use the LoadURL api from nsIWebNavigation to browse to a web page and it works wonderfully. However when I try to do the following: // convert our string to stream nsCOMPtr inputStream = do_CreateI

Re: Mozilla runtime requirements

2006-06-08 Thread Craig Kadziolka
But the call to do_CreateInstance() always seems to fail, and I tried to look on the web and found something which seemed to indicate that it was probably due to missing runtime files, since I'm passing in nsnull into NS_InitEmbedding. Sorry about this, I seem to have fixed my own problem.

Mozilla runtime requirements

2006-06-08 Thread Craig Kadziolka
Hi Everyone, I was wondering if there was a list somewhere of what files need to be in the same directory as the application at run time? I am trying to get the following to work: NS_InitEmbedding(nsnull, nsnull); nsresult rv; mWebBrowser = do_CreateInstance(NS_WEBBROWSER_CONTRACTID

Re: NAVIGATEERROR

2006-06-08 Thread Niky Williams
Jerry wrote: Niky Williams wrote: Jerry wrote: HI all I'm currently developing an application that hosts the activeX control "Mozilla ActiveX Control v1.7.12". I'm currently at a stage where I'm receiving events like DISPID_NAVIGATECOMPLETE2, DISPID_STATUSTEXTCHANGE, DISPID_DOWNLOADCOMPLETE et

Cannot download files with GtkMozEmbed widget and Mozilla embedding API

2006-06-08 Thread dongdong.yang
Hi, I am having problems deploying JDIC ,the open source embedding browser project,When I run it by gtk2(mozilla1.7) under linux. Exception: "Component returned failure code: 0x80004001 (NS_ERROR_NOT_IMPLEMENTED) [nsIBaseWindow.blurSuppression]" nsresult: "0x80004001 (NS_ERROR_NOT_IMPLEMEN

Re: NAVIGATEERROR

2006-06-08 Thread Jerry
Niky Williams wrote: > Jerry wrote: > > HI all > > > > I'm currently developing an application that hosts the activeX > > control "Mozilla ActiveX Control v1.7.12". I'm currently at a > > stage where I'm receiving events like DISPID_NAVIGATECOMPLETE2, > > DISPID_STATUSTEXTCHANGE, DISPID_DOWNLOADCO

Re: NAVIGATEERROR

2006-06-08 Thread Niky Williams
Jerry wrote: HI all I'm currently developing an application that hosts the activeX control "Mozilla ActiveX Control v1.7.12". I'm currently at a stage where I'm receiving events like DISPID_NAVIGATECOMPLETE2, DISPID_STATUSTEXTCHANGE, DISPID_DOWNLOADCOMPLETE etc... but I never receive DISPID_NAV