CodePainter Revolution Trainer Course

Download Report

Transcript CodePainter Revolution Trainer Course

CodePainter Revolution Trainer Course Max Vizzini Delivering Applications

General Procedure Create an EXE file through a VFP project.

Copy all application’s files in the release directory.

Copy the VFP run-time and other required ocx in the release directory.

Creating an EXE File Create a working directory, e.g. Release.

Copy all application’s PRGs in the working directory. Copy all files contained in VFCSIM (you find it in the CodePainter installation directory) in the same directory.

Delete CP_FUNC.PRG and CP_FUNC.FXP

Edit the CP3START.PRG file and complete the “set path to” statement with the directory you want to use once the application is installed.

In CP3START.PRG remove the “Set Help To” statement.

Creating an EXE file (2) Create a VFP project with the following command: create project project_name

Creating an EXE file (3) Insert all PRGs in the “Programs” folder Insert all BMP, CUR, ICO files in “Other Files” Add the STDZ.VCX file in the “Class” Folder Set the CP3START.PRG as “Main” Press the “Build...” Button

Creating an EXE file (4) Set the window above as showed and press “OK”.

Assign a name to your EXE file.

Ignore all displayed errors.

Delivering the Application Copy all following files in the target directory: *.DBC, *.XDC, *.DCT

*.DCX, *.DBF, *.CDX, *.FPT

CP_DBPRC.FXP

*.FXP *.VQR, *.VZM, *.VFM, *.VMN, *.FRX, *.FRT

*.ICO, *.CUR, *.BMP

project_name.exe

Delivering the Application (2) All files listed here must be inserted in the ...\windows\system32 directory: vfp6run.exe, vfp6r.dll, vfp6renu.dll

Mfc30.dll, Mfc40.dll, Gswdll32.dll

msvcrt.dll, Msvcrt20.dll, Msvcrt40.dll

Oleaut32.dll, Olepro32.dll Gsw32.exe, Regsvr32.exe

Delivering the Application (3) OCX files: Msacal70.ocx (Microsoft Calendar) Graph32.ocx (Microsoft Graph) Comctl32.ocx (Support for CP_Treeview) Mscomctl.ocx (Progress Bar) Msoutl32.ocx (Visual menu, +) Msmapi32.ocx (Emails Management) Mscomm32.ocx (Serial Port Communication )