
Access File On CDRom Drive
Hi all.
Is it possible to read an Access database that is on a CD drive?
I'm developing an application that will read an access database from
CD. The database is built to be query only, I do not intend to try to
write back to it.
Nonetheless, the microsoft JET engine complains and puts up a message
box:
"The Microsoft Jet Database engine cannot open the file
'z:\maryland.mdb'. It is already opened exclusively by another user, or
you need permission to view its data."
The z: drive is my CD.
My application is written in C++ and uses a CDaoRecordSet (recset).
I call the open as follows....
recSet.Open(dbOpenSnapshot, NULL, dbReadOnly|dbForwardOnly);
Are there other flags I need to specify to open the access database
readonly?
Thanks,
Paul