08-16-2012 09:59 AM
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
Solved! Go to Solution.
08-17-2012 03:36 PM
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
08-28-2012 09:53 AM
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