How to Start and Control Netscape Navigator

Posted December 15th @ 9:26 pm by m3Rlin

If you want to include a link to a web page and you want Netscape Navigator to do it you may want to look at this code. This should work with Netscape Navigator. This function has not yet been tested with Netscape Navigator 6.0.

uses
DDEMan, Registry;

procedure StartNetscape(const sURL: string);
const
sNETSCAPE = ‘Netscape’;
var
[...]

How to Register / Unregister File Types

Posted December 15th @ 1:53 pm by m3Rlin

Sometimes you want your program to associate itself with a certain file type. Well, there are 2 ways to do so: 1) Use a VCL component to do the job. 2) Make the changes to the Registry yourself. This is the better way. Here’s the code to do so:

uses
Registry;
[...]