From 04:00 PM CDT – 08:00 PM CDT (09:00 PM UTC – 01:00 AM UTC) Tuesday, April 16, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How do I call Labview executables from Visual Basic. The Example on Developer Zone is not of much help

How does one call LabView executables from Visual Basic? Please help me with some example code as well
0 Kudos
Message 1 of 2
(2,241 Views)
This example uses the Shell function to run calc.exe an application.

' Specifying 1 as the second argument opens the application in normal size and gives it the focus.

Dim RetVal
RetVal = Shell("C:\WINDOWS\CALC.EXE", 1) ' Run Calculator.

... for details, check VB help on SHELL.

Hope this helps
0 Kudos
Message 2 of 2
(2,241 Views)