NI Home
Cart Cart | Help
Hello Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI
You are here: 
NI Home > NI Developer Zone > NI Discussion Forums


Reply
Member nki
Member
nki
Posts: 14
0 Kudos
Accepted Solution

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

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

Member
Haagen-Dazs
Posts: 112
0 Kudos

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

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 | Applications Engineer
Member nki
Member
nki
Posts: 14
0 Kudos

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

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

 

By using this web site, you accept the Terms of Use for this web site. Please read these Terms of Use carefully before using any part of this site. Please go here for information on ni.com's copyright infringement policy.
My Profile | Privacy | Legal | Contact NI © 2011 National Instruments Corporation. All rights reserved.    |    E-Mail this Page E-Mail this Page