Solved

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

Posted on 2013-06-08
1
415 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
[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
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

Why You Need a DevOps Toolchain

IT needs to deliver services with more agility and velocity. IT must roll out application features and innovations faster to keep up with customer demands, which is where a DevOps toolchain steps in. View the infographic to see why you need a DevOps toolchain.

Question has a verified solution.

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

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…
Citrix XenApp, Internet Explorer 11 set to Enterprise Mode and using central hosted sites.xml file.
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…
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…

729 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