Execute a '.LNK' file  

Send By: Q3 Team
Web : http://www.q3.nu
Email: dlib@q3.nu
Date: 08/09/99

Tip accessed 608 times

 


Add 'ShellApi' in the uses of your form
And execute this code:



           procedure TForm1.Button1Click(Sender: TObject);
           begin
             ShellExecute(0,
                          nil,
                          Pchar('C:\WINDOWS\START MENU\DELPHI\Delphi3.lnk'),
                          nil,
                          nil,
                          SW_SHOWNORMAL);

           end;