Project Cleanup

Menu Cleanup

Before you package your application for distribution, remove menu options that may have been helpful while you were building and testing your application but which you probably won't want in your final product. Candidates for removal include:

·       Windows Menu: The Debug and Trace options on the Windows menu.

·       Edit Menu: Many of the options on the Edit menu that users of your application will never have a need to access.

·       Admin Menu: Options on the Admin menu for features that you're not including in your application. You may want to remove the Errors option even though your application will certainly include the VPM Enterprise error handler. An Errors option on the Admin menu might be psychologically unsettling for users. However, if you need to be able to fix errors that occur while users run your application, the Errors option is invaluable.

Reports Cleanup

Remove any reports from the Report Manager that you don't want users of your application to access. Some of the reports VPM Enterprise automatically adds to all applications might not be appropriate for your application.

See Security Reports for a tip on protecting the Security Reports when you package your application.

Data Cleanup

Before you run an installer program to package your application, you’ll probably need to do some table cleanup. Some of the application tables may have test records that you need to remove. Other tables may need records entered in them.

If you clean up your tables before you copy them to the installation Tables directory, you can use the application’s Data Manager and data entry forms to clean up the tables.

If you copy your tables to the installation Tables directory before you clean them up, you’ll have to use Visual FoxPro interactively.

The following system tables that are good candidates for record deletion:

·       Activity Table: SVPMActivity.DBF

·       Audit Trail Table: SDATAAudit.DBF

·       Errors Table: SDATAErrors.DBF

Tip: The New Tables, New Reports, and Path Addition entries shown on the Directories form while you were developing your application are probably not the entries you want when your application is installed by a user. Therefore, before you run an installer program, use Visual FoxPro to enter the New Tables, New Reports, and Path Addition entries that you want when your application is installed into the mNewDBFDir, mNewRPTDir, and mPath memo fields, respectively, of the SVPMApplicationDefinition.APD table you copy to the Home installation directory. See Admin - Directories.


Building an EXE