Solved

winsock ocx question

Posted on 2001-08-18
3
511 Views
Last Modified: 2013-11-13
I have created a program that makes use of the winsock ocx, and the program (when compiled) works fine on the computer it was created on, as well as a few other computer.  On some computers, however, I get the error "Failed to load control 'Winsock' from MSWINSCK.OCX.  Your version of MSWINSCK.OCX may be outdated.  Make sure you are using the version of the control that was provided with your application."

I have tried copying the mswinsck.ocx from the original computer into the application directory and into the windows system directory (replacing the one that was installed on that computer originally), but nothing seems to work.

Any help with this issue would be greatly appreciated.

Thank you
0
Comment
Question by:Rich-Hard
[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 Comments
 

Expert Comment

by:serineni
ID: 6402857
hi,
did you tried creating a packege of the program and install on the new computer .. if not try doing it. this may solve you problem

cheers
0
 
LVL 8

Accepted Solution

by:
glass_cookie earned 75 total points
ID: 6405423
Hi!

The reason why you're getting this message could be due to the fact that the other user's PC has a version of winsock higher than yours.  ie. He has winsock from VB6 when yours is VB5.  By replacing his version of winsock, it may be dangerous as it was registered as that particular newer version.

One method would be to install your VB on that PC (sorry... can't think of anything else), recompile your app using his newer version of winsock.  It's kind of tedious though.

That's it!

glass cookie : )
0
 

Expert Comment

by:bppraveen001
ID: 6405931
Hi Rich-Hard,
    What ever glass cookie has told is right but there might be one more solution that is.. better you package your application and run in the system u need and while packaging your application give for all the system files where to install path as "AppPath" so when you are installing your application in some other system it will not search for the files in the system directory and it will install all the required files to the Application Directory at that time it may work...

bpp
0

Featured Post

MS Dynamics Made Instantly Simpler

Make Your Microsoft Dynamics Investment Count  & Drastically Decrease Training Time by Providing Intuitive Step-By-Step WalkThru Tutorials.

Question has a verified solution.

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

Suggested Solutions

Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
The goal of the video will be to teach the user the difference and consequence of passing data by value vs passing data by reference in C++. An example of passing data by value as well as an example of passing data by reference will be be given. Bot…
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.

742 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