Export Project (ALT+X)
Previous  Top  Next

To have PureVision convert your Project into Source Code which will compile using the PureBasic Compiler, select Export Project or press ALT+X.

PureVision will generate Source Code for all Forms in the Export List which contain a check. If your Project contains Forms you do not wish to have exported, simply remove the check from any Form you do not want exported.

By default, the first Form in the Export List will be selected. The first Form is always considered the Main Form and an Event Loop will be generated for this Form if Generate Event Loop Code has been checked. To have PureVision generate an Event Loop for a different Form, simply select another Form in the Export List.

clip0039

By default PureVision exports code using Constants. If you prefer using Global variables assigned with #PB_Any, you can enable this export option by checking "PB Any Support/No Constants".


If you would like to use "Gadget Scaling" instead of "Dynamic Resizing" you select "Use External ScaleGadgets Module" to use the ScaleGadgets Module that has been made available by mk-soft.


If you would like to export your Project with support for multiple Languages, check "Build and Embed Language File". This will embed the current Project Language as well as export a Language File (.Lang) which you can easily edit using the PureTrans Language Manager.

If you plan on Compiling your Project as a DPI Aware EXE, make sure you Export your Project with the "Scale Images for DPI Aware EXE" so all images in your Project are scaled accordingly.

If you have set up your Forms to use Dynamic Resizing or you would like to use any of the features available in the PVGadgets Module, make sure "Incude PVGadgets in Export" is checked so the PVGadgets Module is included in your compiled project.

If the SpiderBasic Export Module is available, you have the option to export your code to use with SpiderBasic.


If an Exported Project or an Event Loop for an Exported Project already exists, you will be prompted to "Confirm Overwrite". This is a safety feature giving you a last chance before overwriting any existing data. If you DO NOT wish to be prompted every time PureVision is about to overwrite existing data, you can turn this warning feature off by removing the check in the "Confirm on Overwrite" check box.



By default PureVision will add a header to Exported Code containing the Version of PureVision used, the Date Exported and the Registered User of the software.
;/ Created with PureVision64 v5.73 x64  
;/ Mon, 19 Apr 2021 08:37:28  
;/ by Reel Media Productions  

You can remove the Registed User portion of the Exported Code by selecting "Remove Reg Info from Header" so only the Version and Date are added.
;/ Created with PureVision64 v5.73 x64  
;/ Mon, 19 Apr 2021 08:37:28