Licensing Error while using winsock

M

Minti

Hi there all,
I am using some example code about using winsock.

Private Sub Form_Load()
' The control's name is udpPeerA
With udpPeerA
' IMPORTANT: be sure to change the RemoteHost
' value to the name of your computer.
..RemoteHost = "somehost"
..RemotePort = 1001 ' Port to connect to.
..Bind 1002 ' Bind to the local port.
End With
frmPeerB.Show ' Show the second form.
End Sub

It says in the documentation that I need to first set up a winsock
control, I have added the control but when I try to add it I get the
following error message

" You don't have a licence to use this activeX component"

What is the reason? Could it be because I have both VC6 and VC7
installed on my system?

Thanks
 
H

Herfried K. Wagner [MVP]

* (e-mail address removed) (Minti) scripsit:
I am using some example code about using winsock. [...]
It says in the documentation that I need to first set up a winsock
control, I have added the control but when I try to add it I get the
following error message

" You don't have a licence to use this activeX component"

Q318597 - PRB: Errors When You Use Visual Basic 6.0 Controls in Visual Basic .NET
<http://support.microsoft.com/default.aspx?scid=kb;en-us;318597>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top