deploy visual studio.net windows application, using MSCOMM32.ocx

  • Thread starter Thread starter Sue
  • Start date Start date
S

Sue

I want to deploy a Visual studio.net windows application. This
application uses MSCOMM32.OCX control. This application works fine on
a development machine. However, if I deploy it on a non-developer
machine, the application fails to load.

It throws an exception, class is not licensed for use.

In the source code, a new instance of the control is created, so,
when, at runtime, it looks for a design-time license for the control.

How do I fix this problem?

Thanks in advance.
 
I think, I may have found a solution to the run-time license key
problem for MSCOMM32.OCX control.

I created a key and value under [HKEY_CLASSES_ROOT\Licenses\, which is
defined in MSCOMM.SRG file.

This seems to have fixed the runtime exception, "class is not licensed
for" on the end-user machine.
 
Back
Top