>Can anyone tell me what files are necessary in a workstation directory when running a Local EXE? What about MetaDBC.DBF? Should this be included or excluded from the EXE? If I include it, I get "MetaDBF has a reccount of 0" when I run the EXE. If I exclude it, I get "Can't find EDWIN.DBC".>
First of all, if you're not using multiple database containers in your application, you don't need to distribute it at all. If you are *not* using multiple database containers you can do the following:
1. Open your application class (located in AApp.vcx)
2. Set its lUseDBCMgrMetaData to False
3. Close the class and save changes.
This causes your application to save its settings to either an .ini file or the Windows Registry (based on the setting of the application class's lUseINIFile) property.
If you *are* using multiple database containers, do not include the file in your .exe. Instead, distribute it separately with your .exe file. The User Preferences form is used to edit the values contained in this table.
Regards,
Kevin McNeish
Eight-Time .NET MVP
VFP and iOS Author, Speaker & Trainer
Oak Leaf Enterprises, Inc.
Chief Architect, MM Framework
http://www.oakleafsd.com