Did you copy the DBC also in the target folder?
>I'm having problems building a standalone .EXE and getting it to work.
>Can someone please tell me what I need to do different?
>
>The app is a simple visitor registration screen for a trade show booth. The project contains a database having two tables: Registration and Setup. The App also created a free table Afca_app.
>There are two forms: Main and Registration. Main permits certain control functions, Registration contains a graphic and the text fields being filled in. There are no reports and no class libraries. The Code group contains a framework file Afca_app, a Main program, and a newid routine for primary keys, and SETOBJRF. The Other group includes the graphic file used on the registration form.
>
>I have created a target directory under c:\program files\afca, and a distribution files directory C:\vfp distrib.
>
>I have tried many variations on this process, but here is the simple one: With the project open, I choose Build. Select Win32 executable, recompile all files and display errors. For Save As, I select C:\Program Files\AFCA. No error messages appear.
>
>I then use Tools, Wizards, Setup and follow the process to build the distribution disks. I specify only the VFP runtime components, direct it to the disk images directory, fill in the setup options, specify the default destination as C:\Program files\afca, and don't change the file settings. I note that the only thing in this list is the .EXE file - no tables are listed. Finish, and the files are built.
>
>When I install the files on the target system, it won't run because it can't find the database tables.
>
>If I copy the database tables into the target directory, then rebuild and install, I get an error box that the tables can't find the .dbc.
>
>I guess I'm not getting the correct files into the target directory. I thought the Build EXE was supposed to take care of this. Which files do I need to locate and move to the target directory? Or do I need to copy the entire project directory structure into it?
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only