Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Can't open database
Message
From
26/03/2006 08:20:46
 
 
To
26/03/2006 08:03:06
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01107766
Message ID:
01107772
Views:
24
Hi Alex,

Yes the database is excluded from the project, and I've included the database and it's related files.

The interesting thing is the error that comes up is referring to my development directory not the directory where the database has been placed.


Cheers
John


>>Now that I'm at the point of distributing my application for enduser testing, I figured that an executable would be the best way to achieve that.
>>
>>While it runs fine in my dev environment, as soon as I compile to a .exe and distribute with the database and tables, I get an error
>>
>>'the database for xxx could not be opened. Would you like to locate the owning database or delete the link...'
>>
>>I tried locating the database, but that just returned a read only error, and the location of the file is my development directory.

>
>Make sure the database and tables are marked as excluded in the Project Manager. Else they would be included inside the EXE and therefore read-only. When excluded, the processor does not find them inside the EXE so it looks on the disk (path). You have to - of course - deliver your data subfolder (dbc,dbt,dbf,cdx,etc.)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform