• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 619
  • Last Modified:

VB- Winsock Control Mswinsck.ocx

I am currently attempting to use the Winsock ActiveX control in Visual Basic 6. I have loaded Microsoft Winsock Control - Mswinsck.ocx in components (Ctrl+T).  However calls, such as Winsock.Connect or Winsock.LocalIP don't work (I get an error message when I run the program).  Can anyone suggest how I might recitfy this problem?
0
vbwizardxxx
Asked:
vbwizardxxx
  • 3
1 Solution
 
vbwizardxxxAuthor Commented:
I don't see what the problem can be ( i have checked box in Components - Ctrl-T)
0
 
dod42Commented:
Not sure if it is related but I had a similar problem caused by NEWNET being installed as part of KAZAA. It seemed to change DNS and winsock settings in the registry and screwed around with most networking settings. I had to remove them from the registry then all seemed to work.
0
 
vbwizardxxxAuthor Commented:
Mmm, I don't think a could be a problem like that, I was wondering if there is anything you have to declare to in the code for visual basic to recognise commands like Winsock.Connect etc.
0
 
vbwizardxxxAuthor Commented:
problem fixed
0
 
CleanupPingCommented:
vbwizardxxx:
This old question needs to be finalized -- accept an answer, split points, or get a refund.  For information on your options, please click here-> http:/help/closing.jsp#1 
EXPERTS:
Post your closing recommendations!  No comment means you don't care.
0

Featured Post

Receive 1:1 tech help

Solve your biggest tech problems alongside global tech experts with 1:1 help.

  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now