Measurement Studio for VB6

cancel
Showing results for 
Search instead for 
Did you mean: 

launch cvi executable from visual basic

How do I launch a cvi standalone application from Visual Basic???...
Can I get a sample program???
 
 
 
0 Kudos
Message 1 of 2
(6,945 Views)
Hi 9845567540,
 
You could launch the LabWindows/CVI executable from Visual Basic (I am assuming 6.0), by using the Shell command. The Shell command runs an executable program and returns a Variant (Double) representing the program's task ID if successful, otherwise it returns zero.  For example, you could say
 
Private Sub Form_Load()
    Shell ("C:\MyCVIApp.exe")
End Sub
 
Best Regards,
Jonathan N.
National Instruments
0 Kudos
Message 2 of 2
(6,942 Views)