Solved

Can I use MSWINSCK.OCX without registering it on every deployment PC?

Posted on 2013-06-08
1
411 Views
Last Modified: 2013-06-20
I am upgrading a large program from XP to Win7. It includes a small VB .exe that I have recompiled in VB6 to run on Win7. When I run it on a target machine, I get:

Component 'MSWINSCK.OCX' or one of its dependencies not correctly registered: a file is missing or invalid

There are dozens of notes on the internet about copying the .ocx file to the system folder and registering with regsvr32.  I cannot do this for hundreds of target Win7 machines - especially in administrator mode.

Is there any way to make this active X control self contained? I need the .exe and related files deployed (copied) to a single folder as it was before. Is there any way to do that?
0
Comment
Question by:LynnFogwell
1 Comment
 
LVL 15

Accepted Solution

by:
eemit earned 500 total points
ID: 39232290
Don't use MSWINSCK.OCX, use Winsock API.
Using Winsock API enables you to have more control.
Also, you never copy Winsock DLLs from one system to another.
Use Winsock version two (ws2_32.dll).
0

Featured Post

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

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

With most software applications trying to cater to multiple user needs nowadays, the focus is to make them as configurable as possible. For e.g., when creating Silverlight applications which will connect to WCF services, the service end point usuall…
INTRODUCTION The purpose of this document is to demonstrate the Installation and configuration of the Data Protection Manager product. Note that this demonstration was prepared on the basis of Windows OS is 2008 R2 and DPM 2010. DATA PROTECTI…
This video Micro Tutorial explains how to clone a hard drive using a commercial software product for Windows systems called Casper from Future Systems Solutions (FSS). Cloning makes an exact, complete copy of one hard disk drive (HDD) onto another d…
Windows 8 comes with a dramatically different user interface known as Metro. Notably missing from the new interface is a Start button and Start Menu. Many users do not like it, much preferring the interface of earlier versions — Windows 7, Windows X…

856 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