?
Solved

VB- Winsock Control Mswinsck.ocx

Posted on 2003-03-24
5
Medium Priority
?
583 Views
Last Modified: 2013-11-13
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
Comment
Question by:vbwizardxxx
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
5 Comments
 

Author Comment

by:vbwizardxxx
ID: 8199934
I don't see what the problem can be ( i have checked box in Components - Ctrl-T)
0
 

Accepted Solution

by:
dod42 earned 100 total points
ID: 8202172
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
 

Author Comment

by:vbwizardxxx
ID: 8206842
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
 

Author Comment

by:vbwizardxxx
ID: 8736266
problem fixed
0
 

Expert Comment

by:CleanupPing
ID: 9446831
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

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this post we will learn different types of Android Layout and some basics of an Android App.
This article will inform Clients about common and important expectations from the freelancers (Experts) who are looking at your Gig.
Six Sigma Control Plans
Progress
Suggested Courses

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question