By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
429,558 Members | 1,373 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 429,558 IT Pros & Developers. It's quick & easy.

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

P: n/a
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.
Jul 21 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
Sue
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.

pb*********@yahoo.com (Sue) wrote in message news:<5e**************************@posting.google. com>...
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.

Jul 21 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.