Board index » delphi » HOW TO OPEN FOLDER FORM DELPHI

HOW TO OPEN FOLDER FORM DELPHI

How to open any folder from DELPHI prog ?

Arminio.Gr...@USA.Net                     Pozega, Croatia
http://www.geocities.com/SiliconValley/Way/9629/arminio.htm
                                  <father since 07.07.1998>

 

Re:HOW TO OPEN FOLDER FORM DELPHI


Arminio Grgic - GrGa wrote in message <36c5925a.286...@news.tel.hr>...

Quote
>How to open any folder from DELPHI prog ?

uses ShellAPI;

ShellExecute(Handle, 'open', 'c:\windows', nil, nil, SW_SHOWNORMAL);
or
ShellExecute(Handle, 'explore', 'c:\windows', nil, nil, SW_SHOWNORMAL);

Quote
>  <father since 07.07.1998>

Congratulations.

--
Jeremy Collins

Re:HOW TO OPEN FOLDER FORM DELPHI


Why not to use TDirectoryListBox and TDriveComboBox in the form.

Arminio Grgic - GrGa <Arminio.Gr...@USA.Net> wrote in article
<36c5925a.286...@news.tel.hr>...

Quote
> How to open any folder from DELPHI prog ?

> Arminio.Gr...@USA.Net                     Pozega, Croatia
> http://www.geocities.com/SiliconValley/Way/9629/arminio.htm
>                                   <father since 07.07.1998>

Other Threads