[DUG] File/Dir Open at "My Computer"

Rohit Gupta rohit at cfl.co.nz
Mon May 23 14:37:19 NZST 2011


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 at delphi.org.nz
> Admin: http://delphi.org.nz/mailman/listinfo/delphi
> Unsubscribe: send an email to delphi-request at 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://listserver.123.net.nz/pipermail/delphi/attachments/20110523/845b783c/attachment.html 


More information about the Delphi mailing list