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 Add Files to the Start|Documents Menu

Posted December 15th @ 6:49 pm by m3Rlin

Windows keeps track of the files you work with ands them to the Start|Documents menu. If you want to add documents to this menu from your program, just use the SHAddToRecentDocs() function. The function requires a PChar parameter but so you can use aways either typecast strings to PChars or use the StrPCopy() function.

uses ShlObj;

[...]