Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Try to register MSCOMM32.OCX
Message
From
06/05/1999 19:35:44
 
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Miscellaneous
Thread ID:
00215898
Message ID:
00215914
Views:
25
>I am attempting to register MSCOMM on some WINNT4 and Win95 boxes. Here is what I have done so far:
>
>1. Copied MSCOMM*.* files into system directory (system32 for NT)
>2. RUN regsvr32 mscomm32.ocx (indicates success)
>3. Reboot machine
>
>When I run my application it crashes on...
>
>oComm = CREATEOBJ('MSCOMMLib.MSComm')
>oComm.CommPort = 1
>oComm.Settings = "9600,N,8,1"
>oComm.InputLen = 0
>oComm.PortOpen = .T.
>
>With errors like:
>1426 OLE error code 0x80040112: Appropriate license for this class not found.
>1923 Object OCOMM is not found
>
>I have also used Paul's RegisterControl function from the FAQ section which also reports that the OCX is registered but produces the same errors above.
>
>Any ideas what I am doing wrong?

As I remember, there was a .REG file floating about either in the Files or FAQ discussing how to fix OCX licensing. I'd do a search on license
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Previous
Reply
Map
View

Click here to load this message in the networking platform