How to Find Out if Delphi is Running

Posted December 15th @ 9:29 pm by m3Rlin

You may want your program to check if Delphi is running. Well, if so try out this code. This is the method for programs:

function IsDelphiRunning: Boolean;
begin
Result := (FindWindow(’TAppBuilder’, nil) > 0);
end;
If you want to check if Delphi is running and you are creating VCL components then you should check for the csDesigning flag.
Here’s [...]

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
[...]

« Previous EntriesNext Entries »