Any advice on this would be great - I'm going nuts.
Here's the scoop:
We have this application that uses Btrieve files (.DAT and .DDF's are present) that are on a Win2K server. The server is also running the Pervasive.SQL 2000i engine. What I am trying to do is write a simple VB6 exe that accesses one of the data files and gets 'todays schedule' and prints it out to a text file. I figured the easiest way to do this would be with OLEDB but I cannot seem to get it to connect - I always receive an error that says 'The file is locked(Btrieve error 85)'. I assume this is because the application is running, but even if I try this at off-hours when everyone is out I get the same thing.
Also, when I first started this little programming adventure I noticed that there was no database set up on the server in the Pervasive engine for this application. I was able to create one so that I could try to use OLEDB to get to the data, but I am not sure how the application is actually getting to it. I assume it must be using the API and that the only real reason the Pervasive engine is on there in the first place is so that whatever libraries and functions and junk for the API that need to be on there are there.
So...what does this error really mean, and is there a way I can get around it? And...does this mean I will have to use the API to get at what I want (plase say no, I really don't wnat to have to try to figure that out...).
Ugh.