VSTA (Microsoft® Visual Studio® for Applications)

<< Click to Display Table of Contents >>

Navigation:  Working with CanEasy > Automation in CanEasy >

VSTA (Microsoft® Visual Studio® for Applications)

 

VSTA (Microsoft® Visual Studio® for Applications) allows to extend the simulation of CanEasy. In the same way like VBA, it accesses the COM interface of CanEasy.

 

Prerequisite for the implementation is an installation of Visual Studio 2012 or 2013 Professional. There is no installation required to use existing projects.

 

VSTA offers the great advantage of accessing the .Net Framework.

Windows can be created with Windows Forms or WPF.

 

Another big difference to VBA is the possibility to use several threads.

The COM interface provides special multithread events. For example a value change event can be processed directly from the thread that has just changed the value.

 

As in VBA, as many projects can be created in VSTA.