Well it is what I was looking for but I probably won’t use it as it is 
incredibly ugly – as in it has Windows 3.1 look.   Is this really the most 
modern version of selecting a drive I can use on Windows 7?

John
From: Rohit Gupta 
Sent: Monday, May 23, 2011 2:37 PM
To: NZ Borland Developers Group - Delphi List 
Subject: Re: [DUG] File/Dir Open at "My Computer"

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
_______________________________________________
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