<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#ffffff">
John,<br>
<br>
the TDriveCombobox should do the trick.<br>
<br>
<br>
<br>
On 20/05/2011 1:35 a.m., John Bird wrote:
<blockquote cite="mid:DD01004E82E24F95A7CB503D3A93F54A@JohnSony2"
type="cite">
<div dir="ltr">
<div style="font-family: 'Arial'; color: rgb(0, 0, 0);
font-size: 10pt;">
<div>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?</div>
<div> </div>
<div>Ideally I want to bring up a dialog starting at My
Computer...(D2007)</div>
<div> </div>
<div>[Aside - I know how to show My Computer by starting
Windows Explorer:</div>
<div> </div>
<div>To start with my computer:</div>
<div> </div>
<div>explorer.exe /n,/e,/select, c:\</div>
<div> </div>
<div>To start with desktop:</div>
<div> </div>
<div>%SystemRoot%\explorer.exe /e,%USERPROFILE%\Desktop</div>
<div> </div>
<div>– it can show the drive but doesn’t return the drive
letter to Delphi as it comes up as a separate process of
course]</div>
<div> </div>
<div style="font-family: 'Arial'; color: rgb(0, 0, 0);
font-size: 10pt;">John</div>
</div>
</div>
<br>
<br>
__________ Information from ESET NOD32 Antivirus, version of virus
signature database 6134 (20110519) __________<br>
<br>
The message was checked by ESET NOD32 Antivirus.<br>
<br>
<a moz-do-not-send="true" href="http://www.eset.com">http://www.eset.com</a><br>
<pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
NZ Borland Developers Group - Delphi mailing list
Post: <a class="moz-txt-link-abbreviated" href="mailto:delphi@delphi.org.nz">delphi@delphi.org.nz</a>
Admin: <a class="moz-txt-link-freetext" href="http://delphi.org.nz/mailman/listinfo/delphi">http://delphi.org.nz/mailman/listinfo/delphi</a>
Unsubscribe: send an email to <a class="moz-txt-link-abbreviated" href="mailto:delphi-request@delphi.org.nz">delphi-request@delphi.org.nz</a> with Subject: unsubscribe
__________ Information from ESET NOD32 Antivirus, version of virus signature database 6134 (20110519) __________
The message was checked by ESET NOD32 Antivirus.
<a class="moz-txt-link-freetext" href="http://www.eset.com">http://www.eset.com</a>
</pre>
</blockquote>
<br>
<br>
<div class="moz-signature">-- <br>
Regards<br>
<br>
<b>Rohit Gupta</b><br>
B.E. Elec., M.E., Mem IEEE, Mem IET<br>
Technical Director<br>
Computer Fanatics Ltd<br>
<br>
<b>Tel </b>4892280 <br>
<b>Fax </b>4892290 <br>
<b>Web </b><a href="www.cfl.co.nz">www.cfl.co.nz</a><br>
<hr>
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.</div>
</body>
</html>