Guys, I forgot to post the answer to the question about using Null Zero Object in the Navigation method:
I had first time around use this: mValue: Missing; Self.AxWebBrowserMessage.Navigate(sUrl.ToString, mValue, mValue, mValue, mValue); Whereas after some test I found that the code should really look like this (and it is working) mValue: TObject; Self.AxWebBrowserMessage.Navigate(sUrl.ToString, mValue, mValue, mValue, mValue); Bjarne \v/ Bjarne's Virtual Office at http://www.go2nts.com/bwtoday.html ------------------------------ Message: 8 Date: Tue, 10 Jan 2006 15:03:43 -0500 From: [EMAIL PROTECTED] Subject: Re: Rendering HTML pages under Delphi Dot Not (2005 or 2006) To: [email protected] Cc: [EMAIL PROTECTED] Message-ID: <[EMAIL PROTECTED]> Content-Type: text/plain; charset="us-ascii"; format=flowed Rob, You are to some extend correct that the Win32 code is avaliable in Delphi. However the idea of Delphi Dot Net (not using the Borland VCL?s) is that you have true un-manage code. That said since we are still not running under Vista we have to deal with manage code. Here is what I have so fare: I did turn on the ActiveX for the Web Browser which added the following two assembles to the projects: {%DelphiDotNetAssemblyCompiler 'ComImports\Interop.SHDocVw.dll'} {%DelphiDotNetAssemblyCompiler 'ComImports\AxInterop.SHDocVw.dll'} And bingo I have the actual Web Browser on my form. Now the real issue is how to navigate to the correct URL. In the Borland Demo cSharp folder is a C# Web Browser Application that works on the Delphi Dot Net (C#). So all I have to do is steal the code ? well not so fast: Self.AxWebBrowserMessage.Navigate(sUrl.ToString, mValue, mValue, mValue, mValue); Since the Navigate methode does not have an overload as in Win32 I have to give use four Null Zero Object ? No problem I can created them with: mValue: Missing; However the compiler still does not like the way that I call the methode. Any ideas? Bjarne \v/ Bjarne's Virtual Office at http://www.go2nts.com/bwtoday.html _______________________________________________ Delphi mailing list -> [email protected] http://www.elists.org/mailman/listinfo/delphi

