|
-
May 15th, 2003, 08:42 AM
#1
Thread Starter
Fanatic Member
Pls help with "Class is not licensed for use" error
Hi,
I am using mscomm in my vb.net project. When using on my development machine, all is fine. When distribute the the app I get "Class is not licensed for use" error. I checked that the component is installed. When I use a vb6 project that uses the same mscomm component, there is no error.
Does anyone have a solution for me?
Thanks
-
May 15th, 2003, 09:43 AM
#2
Sleep mode
Re: Pls help with "Class is not licensed for use" error
I looks like the component isn't registered . Try to register it , might help you out !
-
May 15th, 2003, 10:11 AM
#3
Thread Starter
Fanatic Member
Sorry bud! I checked that it is registered correctly, and yes it.
-
May 15th, 2003, 10:27 AM
#4
Sleep mode
Here's the same problem and maybe a clue to solve it . http://www.dotnetforums.net/t69650.html
-
May 15th, 2003, 10:42 AM
#5
Thread Starter
Fanatic Member
SWEAT THANKS!!!!!
Tis exactly what I'm looking for. Will give it a try and post results....
-
May 15th, 2003, 11:07 AM
#6
Thread Starter
Fanatic Member
I have just tried installing the mscomm32.ocx off of the vb6 cd. This also works for some reason ....
-
May 15th, 2003, 11:09 AM
#7
Thread Starter
Fanatic Member
Next problem!
The control sends data without a problem, but I am not receiving anything back.
-
May 15th, 2003, 11:18 AM
#8
Thread Starter
Fanatic Member
I have just found this very helpful page for those that encounter the same problem as I...
Realy helpful mscomm link
-
May 15th, 2003, 12:24 PM
#9
Thread Starter
Fanatic Member
It is official.... I am a moron. I am receiving data, I just wasn't catching the event.
-
May 15th, 2003, 12:41 PM
#10
Sleep mode
Glad you got it figured out . We hope MS releases a similar .NET Control rather than working backward .
-
May 16th, 2003, 03:19 AM
#11
Thread Starter
Fanatic Member
K! Here is the final solution...
You cannot just create a variable of type mscomm. This will result in the licensing error. You must place the control on a form. If you do it this way, you will not have to install the vb6 development environment.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|