LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Stand-Alone Application including ocx, dll and Word template folder

Solved!
Go to solution

Hi,

 

I try to create an Stand-Alone Application with labview 2011. My problem is how i can include ocx and dll file in my executable to be run by others computers (the other computer don't have the dll and the ocx using in the application). My program use Word template who is in a folder. How i can integrated this Template folder in my executable folder.
This is the first time I create an executable, so please help me -_-.

 

Nki

0 Kudos
Message 1 of 3
(2,288 Views)

Hi nki,

 

To include the ocx and dll files you will need to build an executable for your VI and then create an installer for the additional files. I have linked 2 documents that will explain each of these steps. If you have any questions with this let me know.

 

http://zone.ni.com/reference/en-XX/help/371361E-01/lvhowto/exe_ex/

 

http://digital.ni.com/public.nsf/allkb/E09BA0E2F31D304F86256A640070058E?OpenDocument

Patrick H | National Instruments | Software Engineer
0 Kudos
Message 2 of 3
(2,274 Views)
Solution
Accepted by topic author nki

Hi

 

Finally i add my ocx and dll in my project (add file). When I configure the executable in Source file, I Always Included the ocx and the dll.

For the installer proprieties, in Source File Settings, I select my ocx and dll and in File and Folder Attributes I check "Register COM"

 

I don't know if it the good way to do it but It works.

 

Nki

 

0 Kudos
Message 3 of 3
(2,257 Views)