Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to set oleCommonDialog.SAFE() Default Location 1

Status
Not open for further replies.

KoenPiller

Programmer
Apr 4, 2001
270
NL
Hi,

I noticed for oleCommonDialog Flag 2048 which specifies the user to enter only valid paths. How could I specify the enduser is not allowed to save on CDrom-Drive? Or How can I determine which letter is associated with the Cdrom-Drive?

Any solution welcome,

Koen
 
Koen;

Use DRIVETYPE()

if DRIVETYPE("drive letter") = 5 then it is a CD-Rom drive

Ed

Please let me know if the suggestion(s) I provide are helpful to you.
Sometimes you're the windshield... Sometimes you're the bug.
smallbug.gif
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top