How to Start Microsoft Internet Explorer

Posted December 15th @ 9:25 pm by m3Rlin

Since Internet Explorer is a part of Microsoft Windows 95 (OSR 2 and OSR 2.1), 98, ME, NT, 2000, XP or Windows Vista you may want to add a link to your home page that will start Microsoft Internet Explorer (MSIE). Here’s the code to do so:

uses
Windows, {$ifdef ver90} OLEAuto {$else} ComObj {$endif};

procedure [...]

How to Clear Multiple Edits Without Refering to Them One by One

Posted December 15th @ 9:23 pm by m3Rlin

Let’s say you have a data entry form or a MP3 ID3 tag editor form. The user clicks the “Clear” button. The more edit controls you have the less you want to write the code to clear them Well, here’s a better idea:

procedure TMainForm.btnClear(Sender: TObject);
var
iI: Integer;
begin
for iI := 0 to [...]

« Previous EntriesNext Entries »