Jump to content
Sign in to follow this  

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.



Edited by MikeOsdx

Share this post

Link to post
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
Sign in to follow this