Using VXFileLoader.exe to integrate WinCan into any third-party software

Introduction

The VXFileLoader.exe tool, included in every WinCan VX installation, allows you to automatically open any WinCan VX database and navigate to a desired section from any third-party software. This tool enables you to integrate and digitize your workflows with WinCan.

Tool location

The tool is located under C:\Program Files (x86)\CDLAB\Assemblies\

VXFileLoader.png

Parameters

The following parameters can be parsed from the VXFileLoader.exe:

Parameter

Value

Details

Parameter

Value

Details

/shell

Project

Path to the project.vx file

/select

Section key

Section/Asset name (database field=SECTION.OBJ_Key)

Example 1: Select section “S204-S205” in the current WinCan VX project

"C:\Program Files (x86)\CDLAB\Assemblies\VXFileLoader.exe" /shell "" /select="S204-S205"

Expected result: WinCan VX automatically selects the section/asset with name/key=S204-S205

 

Example 2: Open project Demo_2024 and select section S204-S205

"C:\Program Files (x86)\CDLAB\Assemblies\VXFileLoader.exe" /shell "C:\WinCan_Projects\Demo_2024\project.vx" /select="S204-S205"

Expected result: WinCan VX opens project “Demo_2024” and selects section “S204-S205”

Important: You need to pass the path to the project.vx file, not the database:

image-20240710-160946.png

Sample batch (*.bat) file: