LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

creating activeX dll in visual basic 6

Hi i was wondering if anyone could give me some tips on how to compile a visual basic 6 program so that an activeX dll file can be called by LabView to start my program. 
When i configure the Call Library Function node to use the dll file it only allows me to use the following under the 'Function Name' drop down list:
 
 
1)DllCanUnloadNow
2)DllGetClassObject
3)DllRegisterServer
4)DllUnregisterServer
 
My Library Path is the dll created by my VB program which contains a module (.bas file) with my code and a .cls file. 
 
I am new to VB and have been using the Microsoft Developement Network online help to create my programs for VB.  Any help would be great.  Thanks!
 
teky
0 Kudos
Message 1 of 5
(3,456 Views)
You must be new to LabVIEW as well. You do not use the Call Library Function Node for ActiveX. You use the functions on the Commuication>ActiveX palette. These will open an ActiveX object and give access to the properties and methods in your ActiveX control.
0 Kudos
Message 2 of 5
(3,449 Views)

Is it possible to do the same thing using LabView's System Exec vi to call an ActiveX exe file created in Visual Basic?

I do not need to pass any parameters into the VB program, nor do i need any output.  Just a simple execution of the program is what I desire.

Message Edited by teky on 08-08-2006 02:45 PM

0 Kudos
Message 3 of 5
(3,445 Views)
You can use the system exec to call any executable.
0 Kudos
Message 4 of 5
(3,441 Views)
That is great, thanks.
 
 
0 Kudos
Message 5 of 5
(3,437 Views)