The concept of VBA Project in PcVue 

Code for the VBA scripting engine is structured based on Projects, Project Items and Controls. A single PcVue application contains several predefined VBA projects that you can browse with the VBA Project Explorer.

ClosedShow picture

VBA Project Explorer box

To display the Project Explorer box, use Ctrl+R on the keyboard or select the menu View.Project Explorer.

The Main project (Workspace)

The Main project always exists and provides access to two global VBA objects: ThisProject and ThisSystem. The Main project is automatically added as a reference to all other projects (seen as Reference to WorkSpace in the Project Explorer) so you can access its functions and variables as if they were global.

The MimicProject projects

Each opened mimic appears in a separate MimicProject project. In a MimicProject there is one ThisMimic item representing the Mimic object. Each MimicProject has its own state, in mode Run or Design. Another MimicProject can be in a different mode. When switching modes, the mimic and associated MimicProject follow one another. In Design mode, events are not executed.

The SymbolProject projects

Each Symbol displayed in an opened mimic appears in a separate SymbolProject project. Only one SymbolProject is displayed for each Symbol, even if there are several instances of it on a mimic. In a SymbolProject, there is one ThisSymbol item representing the Symbol object.

Global Modules

You can insert Modules and Class Modules in any VBA project. Modules in the Main project will be seen by all other projects. In the case of a name conflict, use 'Main.' as a prefix.