Jump to content

Fileopen() Giving Me A Msgbox No Disk


Recommended Posts

I am doing a fileOpen() command on E: to see if I have write access to it. Well if the E: happens to be a CD-ROM drive that was recently accessed but there is now no CD in there I get a No Disk message box.

The only line in a test script:

FileOpen("E:\File.txt", 2)

Attached is a screenshot of the Message I recieve.

I don't want the end user to get this message so How do I prevent it from popping up?

edit: turns out you get almost the same message when doing the FileOpen to a floppy with no disk in there.

Thanks,

Mike

Edited by MikeOsdx
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...