Dec 31, 2009
I am developing an application in Visual Basic under Visual Studio 2008 Professional. As part of this application I am using a third-party ActiveX control (.ocx file). After building the installer (.msi file) using the deployment tools in Visual Studio, I tested it on a clean system. The install appeared to run successfully--folders are created, files are copied, and the .ocx is registered. However, when I tried to run the application I received an error telling me "You must have a license to use this ActiveX control." This would be expected on the development machine, but should not happen on the client system, i.e., in the runtime environment.
View 14 Replies
On previous builds of the application, I did not receive this error. Besides updates to the application itself (the part I created, that is), I was using NSIS to create the installer, rather than the tools in Visual Studio. The application cannot run without the .ocx in question, so this error is a show-stopper.