|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Using MSCOMM32.ocx with VB.netI 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 wrote:
> Its not the license compiler you need to read up on. tricky or not it must be done> > 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 > > "Kevin" <kbod***@charter.net> schrieb: PRB: Errors When You Use Visual Basic 6.0 Controls in Visual Basic .NET>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. <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/> Herfried K. Wagner [MVP] wrote:
> "Kevin" <kbod***@charter.net> schrieb: I was able to find the reg entry for the Comm control and add it to my > >> 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, XPe image with great success kevin 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.
Please do NOT sign the VB.COM petition
What am I doing wrong - Trying to update Option Strict disallows late binding, need to update code How to create a Serialnumber for App programmatically? Visual Basic App Memory Issue Passing objects ByVal vs ByRef listboxes to select/deselect multiple items Invert an Arraylist.Sort() SharpZipLib VBN2002 - Programmatically creating a form using a string value as name |
|||||||||||||||||||||||