Link to home
Start Free TrialLog in
Avatar of milkmon123
milkmon123

asked on

VB6 - Cannot load control Winsock1; license not found.

Hi

I have a program which I am developing and now I am in some trouble.

I am using Winsock to get the machines IP address, and this is working fine on the two development machines I have been using.

But I am now at another office, using a third development machine, and when I go into VB6 and run the program, it comes up with an error error saying "Check Form1.log" etc...

and this has the following in it...

Cannot load control Winsock1; license not found.

I have copied MSWINSCK.OCX into the Windows\system32 directory and done the REGSVR32 bit, but I don't know what else to try.

I saw on the internet somewhere that it may be an old version of MSWINSCK.OCX that is causing the problem, but I have downloaded another version, and registered that, and just the same !!!

The two other machines that it works on are running Windows 98 on the one, and Windows XP on the other.

This machine that it doesn't work on is running Windows XP

PLEASE HELP !!!!

Max points for an answer - I am totally desperate.

Matt
Avatar of milkmon123
milkmon123

ASKER

Note:

When I try to drag a Winsock control to the design window in VB6, it says "Licence information not found. You do not have an appropriate licence to use this functionality in the design environment"

Hope this helps you see what's wrong.

Thanks
ASKER CERTIFIED SOLUTION
Avatar of Éric Moreau
Éric Moreau
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Wow emoreau - power to you !!!!!!! One line - and all my problems have disappeared !!!!!!

If I could have awarded 1000 points, I would have.

Many thanks indeed, Professor,

Very best regards,

Matt