Hi,

If you've downloaded the latest control from Adam Lock's site you don't need to register anything. The installer does it for you. The control uses its own installation of the GRE and does not interact with Firefox or the Mozilla suite. Try this link:

http://www.iol.ie/%7Elocka/mozilla/MozillaControl171.exe

D6E and Win2kPro are what I used when writing the Taming the Lizard article and code. So if that source doesn't work I would guess your problem is to do with the installation of the control. Try the link and let me know if you are still having problems.

Dave Murray
Glasgow, UK
PGP KeyID: 0x838592B3

Remove NOSPAM from my email address to reply.





Andrea Raimondi wrote:
Hello,

I'm having a very "nice" problem when trying to navigate with the
imported control.

I downloaded it from http://www.iol.ie/~locka/mozilla/mozilla.htm then I
imported it. It didn't work, so I went to the FAQ page and then to the
troubleshooting page. Within the latter, I found out I had registered a
wrong control( mozctl instead of mozctlx ), thus I undid my package and
reinstalled with the correct one. I had already unregistered the old
version when installing the new one, from the registry and from the
package list, so there can't be any conflict.

Since I was having the same problem, I subscribed this group and
found out there was a tutorial about the control, thus I navigated
there and downloaded taming_the_lizard zip file and unzipped
sources in a desktop folder. Loaded it and run it.
It shows the exact same problem when trying to navigate.

I'm using FireFox 1.0 Preview Release as default browser and I
installed Mozilla ActiveX control AFTER I had FireFox running
since a while.

D6 Enterprise is fully patched and the control registers just fine.
The control name I can see is TMozillaBrowser and the object gets
called MozillaBrowser1. Code completion works just fine and I'm
able to call whatever method I desire in the code editor.

But, trying to navigate at runtime, I get an EOleException
saying "Unspecified Error". That's what I call a helpful
error message <g>.

I went peeking at *where* I got the error and it's here:

procedure TMozillaBrowser.Navigate(const URL: WideString);
begin
  DefaultInterface.Navigate(URL, EmptyParam, EmptyParam,
                            EmptyParam, EmptyParam);
end;

I don't know the internals of the Mozilla control, thus I
wouldn't be able to say where's the problem anyway and that
message doesn't help I guess. I'm not able to inspect the URL
that gets sent to the control by hovering the mouse on it. My
code is as simple as this:

procedure TForm1.Button1Click(Sender: TObject);
begin
  MozillaBrowser1.Navigate( WideString( 'http://www.microsoft.com' ) );
end;

I know WideString is useless actually, but I added it after looking at
sample code I downloaded and even though that one doesn't work too, I
thought I would however replicate for consistency.

Anyway, I'm stuck here and searching the newsgroup through google didn't
help really much( I couldn't find anything matching my problem ).

Has anybody got any clue about what to look for in order to solve this
darn problem? I already have a use for the control, but would like to be
able to use it :-)

TIA,

Andrew
_______________________________________________
mozilla-embedding mailing list
[EMAIL PROTECTED]
http://mail.mozilla.org/listinfo/mozilla-embedding

Reply via email to