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

Using MSCOMM32.ocx with VB.net

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


P: n/a
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
Nov 21 '05 #2

P: n/a
"Kevin" <kb*****@charter.net> schrieb:
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.


PRB: Errors When You Use Visual Basic 6.0 Controls in Visual Basic .NET
<URL:http://support.microsoft.com/?scid=kb;EN-US;318597>

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>
Nov 21 '05 #3

P: n/a
Crouchie1998 wrote:
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
Nov 21 '05 #4

P: n/a
Herfried K. Wagner [MVP] wrote:
"Kevin" <kb*****@charter.net> schrieb:
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.

PRB: Errors When You Use Visual Basic 6.0 Controls in Visual Basic .NET
<URL:http://support.microsoft.com/?scid=kb;EN-US;318597>

thanks much,
I was able to find the reg entry for the Comm control and add it to my
XPe image with great success
kevin
Nov 21 '05 #5

P: n/a
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.
Nov 21 '05 #6

This discussion thread is closed

Replies have been disabled for this discussion.