Solved

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

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

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

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…
Citrix XenApp, Internet Explorer 11 set to Enterprise Mode and using central hosted sites.xml file.
In this video, we discuss why the need for additional vertical screen space has become more important in recent years, namely, due to the transition in the marketplace of 4x3 computer screens to 16x9 and 16x10 screens (so-called widescreen format). …
Windows 8 came with a dramatically different user interface known as Metro. Notably missing from that interface was a Start button and Start Menu. Microsoft responded to negative user feedback of the Metro interface, bringing back the Start button a…

743 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now