Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

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

Posted on 2013-06-08
1
Medium Priority
?
419 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 1000 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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

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…
Ever notice how you can't use a new drive in Windows without having Windows assigning a Disk Signature?  Ever have a signature collision problem (especially with Virtual Machines?)  This article is intended to help you understand what's going on and…
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…
With the advent of Windows 10, Microsoft is pushing a Get Windows 10 icon into the notification area (system tray) of qualifying computers. There are many reasons for wanting to remove this icon. This two-part Experts Exchange video Micro Tutorial s…

971 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