MSCOMM32.OCX exception

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Dear sirs
I`ve got the file MSCOMM32.OCX from visual basic 6 and used it in C#
I`ve includedit in the references and also used it in the project "using MSCommLib;"

I also have written the following declaration in the constructor

MSCommLib.MSCommClass msCom = new MSCommLib.MSCommClass();

when I run this program it gives me an exception says "Class is not licensed for use"

what should I do to fix this exception??

thanks
Mohammed
 
Mohammed Abdel-Razzak said:
I`ve got the file MSCOMM32.OCX from visual basic 6 and used it in C#
I`ve includedit in the references and also used it in the project "using MSCommLib;"
I also have written the following declaration in the constructor
MSCommLib.MSCommClass msCom = new MSCommLib.MSCommClass();
when I run this program it gives me an exception says "Class is not licensed for use"
what should I do to fix this exception??

Hi. See:

http://tinyurl.com/3g4j5

-- Alan
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

licensing mscomm32.ocx from C# 0
MSComm32.ocx licenses error 2
"Class is not licensed for use" 2
exception 15
MsComm32.ocx 5
KillBit for MSComm32.OCX 1
Using MSCOMM32.ocx with VB.net 5
MSCom32.ocx 2

Back
Top