Solved

winsock ocx question

Posted on 2001-08-18
3
502 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
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

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Excel VBA, find a string in a column, update a cell 7 78
PHP question(s) about order of output 9 62
Not needed 13 110
Re-position sub-options beneath the TAB 7 88
How to remove superseded packages in windows w60 or w61 installation media (.wim) or online system to prevent unnecessary space. w60 means Windows Vista or Windows Server 2008. w61 means Windows 7 or Windows Server 2008 R2. There are various …
If you haven’t already, I encourage you to read the first article (http://www.experts-exchange.com/articles/18680/An-Introduction-to-R-Programming-and-R-Studio.html) in my series to gain a basic foundation of R and R Studio.  You will also find the …
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.
The viewer will learn how to use the return statement in functions in C++. The video will also teach the user how to pass data to a function and have the function return data back for further processing.

776 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