Visit Gigasoft's Web Site
 ProEssentials v9 Help

Chapter 3: ActiveX Porting from Earlier Version

To port from version 3, 4, 5, 6, or 7  to version 8 follow these instructions.  


NOTE: the most common call we get regarding porting is solved by making sure to update "PE5API.BAS" "PE6API.BAS" "PE7API.BAS" "PE8API.BAS" to "PE9API.BAS" so DLL declarations point to the correct DLL. Double check any Declare statements in your project.


To port from version 2 or earlier to version 9 follow these instructions.


Manually Porting :

  1. Back up your current project and open project in design mode. Go to any forms which contain ProEssentials OCXs and delete the controls off of the forms. Make a note of the Name property. Don't worry about your code, it will remain. Save the Project. Go to Components Dialog box and de-select the older OCXs and select the new v9 OCXs. The new v9 OCXs will have "v9" at the end of their description or have the letter "g" after the OCX name like PEGOG. Go back to any forms where the older OCXs were deleted and reinsert the new v9 OCXs. Rename the controls as needed and save the project.

You may need to port Class Modules and User Controls manually as needed.



Related to Porting!


Printing Logic Needs Changing!

The addition of clipping logic has the potential to break current ProEssentials implementations which include custom printing logic. In the process of porting an application to v9 from much earlier version, you should plan on changing calls of PEresetimage to PEresetimageEx or disabling clipping by setting DisableClipping to TRUE.


Note that if your project calls PlayMetafile with respect to low-level printing, it should now call the ProEssentials function PEplaymetafile.


Custom Parameter Set now Disabled!

NoCustomParms is now by default set to TRUE. If desired, set this property back to FALSE.