John,

the TDriveCombobox should do the trick.



On 20/05/2011 1:35 a.m., John Bird wrote:
I want to bring up a dialog to select a drive (Will be usually a removable USB drive). Can I do this with any of the standard Delphi TOpenDialog or SelectDirectory etc?
Ideally I want to bring up a dialog starting at My Computer...(D2007)
[Aside - I know how to show My Computer by starting Windows Explorer:
To start with my computer:
explorer.exe /n,/e,/select, c:\
To start with desktop:
%SystemRoot%\explorer.exe /e,%USERPROFILE%\Desktop
– it can show the drive but doesn’t return the drive letter to Delphi as it comes up as a separate process of course]
John


__________ Information from ESET NOD32 Antivirus, version of virus signature database 6134 (20110519) __________

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com


_______________________________________________
NZ Borland Developers Group - Delphi mailing list
Post: delphi@delphi.org.nz
Admin: http://delphi.org.nz/mailman/listinfo/delphi
Unsubscribe: send an email to delphi-requ...@delphi.org.nz with Subject: 
unsubscribe


__________ Information from ESET NOD32 Antivirus, version of virus signature 
database 6134 (20110519) __________

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com



--
Regards

*Rohit Gupta*
B.E. Elec., M.E., Mem IEEE, Mem IET
Technical Director
Computer Fanatics Ltd

*Tel *4892280
*Fax *4892290
*Web *www.cfl.co.nz
------------------------------------------------------------------------
This email and any attachments contain information, which is confidential and may be subject to legal privilege and copyright. If you are not the intended recipient, you must not use, distribute or copy this email or attachments. If you have received this in error, please notify us immediately by return email and then delete this email and any attachments.
_______________________________________________
NZ Borland Developers Group - Delphi mailing list
Post: delphi@delphi.org.nz
Admin: http://delphi.org.nz/mailman/listinfo/delphi
Unsubscribe: send an email to delphi-requ...@delphi.org.nz with Subject: 
unsubscribe

Reply via email to