Hello,
When you develop an application that contains ActiveX controls and then create an executable out of it, the ActiveX controls need to be registered with the target operating system at install-time.
First, have a look to the KB below:
How Do I Manually Register Type Libraries, ActiveX Controls, and ActiveX Servers?
http://digital.ni.com/public.nsf/websearch/4F811A9B23F1D46E862566F700615B7A?OpenDocument
If you want to have the LabVIEW .exe installer register an ActiveX dll, you can do as follow:
To have the LabVIEW installer register an ActiveX dll for you, write a LabVIEW executable that uses the System Exec VI to register the ActiveX dll. Use the same command string as you would use in the Start » Run menu to register the dll. The System Exec VI
is in Functions Palette»Communications.
When building the Installer under the Installer Settings»Advanced... Select "Run executable after installation" and add the above executable to the "Executable" line. Therefore when the installer is finished your executable that registers the dll will automatically run.
Concerning your issue executables using VIs for database, check the KB below if your building process is correct.
Building Stand-Alone Executables With Database Connectivity Toolkit VIs
http://digital.ni.com/public.nsf/websearch/FCCCBC6B519CEC2E86256C95007E8FA9?OpenDocument
I hope this will help.
Best Regards.