Using MSCOMM32.ocx with VB.net

  • Thread starter Thread starter Kevin
  • Start date Start date
K

Kevin

I have a class with a refence to MSCOMMLib in it so I can use
MSCOMM32.ocx. It works fine on the developement machine where I have
VB6 also installed. When I try to run the app on a machine without VB6
though, I get a licensing error issue. So I read about License Compiler
in the MSDN.net files and it says I can create a license file by using
the lc.exe application. I have tried this but am getting errors. If
someone has a decent example of how to create the license file OR
another method of getting around the license issue please post.
thanks
kevin
 
Its not the license compiler you need to read up on.

When you have VS 6 it comes with the OCX's... They need license files &
registry entries. There is an article on MSDN on what you need to do, but if
you are inexperienced then its a little tricky.

Crouchie1998
BA (HONS) MCP MCSE
 
Crouchie1998 said:
Its not the license compiler you need to read up on.

When you have VS 6 it comes with the OCX's... They need license files &
registry entries. There is an article on MSDN on what you need to do, but if
you are inexperienced then its a little tricky.

Crouchie1998
BA (HONS) MCP MCSE
tricky or not it must be done
 
Hi,

The easy way to solve this is to use NETComm.ocx from my homepage. It
wraps MSComm and solves the licensing issue for you. However, there is a KB
article that talks about this, too. Herfried refers you to it.

--
Richard Grier (Microsoft Visual Basic MVP)

See www.hardandsoftware.net for contact information.

Author of Visual Basic Programmer's Guide to Serial Communications, 4th
Edition ISBN 1-890422-28-2 (391 pages) published July 2004. See
www.mabry.com/vbpgser4 to order.
 
Back
Top