I want to communicate with serial port in visual basic. I install VB6 on Windows XP sp3.
I downloaded mscomm32.ocx and put it in C:\Windows\System
and C:\Windows\System32
directories, And successfully register it via regsvr32
in Command-Line and as you see below :
Then when I open Visual-Basic components, I can see Microsoft Common Control 6 and I add it to toolbars :
But when I doble-click on it to add it the form, The below error appear :
This is the log :
Line 422: Cannot load control MSComm; license not found.
Note that, my code has only 80 lines!
Best Answer
There appears to be a Microsoft Support item that may address your issue,
VB6Cli.exe Fixes License Problems with Visual Basic 6.0
Original text: