I am using DBcad, an activeX component to implement a map in my application. During operation, it creates a database file to store graphic elements in.
If the database some how gets left open (or if another application is using the database) DBCad complains with a dialog that there is "No database". It doesn't, however, return a labview error.
Since I can't change the behavior of the OCX control, I need to create a wrapper that detects that the database is not accessible. When I use the LABView 'delete' function or the 'file/database info' function when the file is in use, I get a 'File not Found' error.
How can I tell the difference between the file really not existing and the file not being accessible?
I am using Windows XP/2000, not UNIX/Linux so I can't just look at the permissions
EDIT: Never mind. I figured it out already. OOPS
Message Edited by terminalman90 on 05-06-2005 04:31 PM