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

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 2847
  • Last Modified:

MSWINSCK.ocx for Windows 7

I need to install MSWINSCK.ocx for my Windows 7 PC so I can use SMTP to send e-mail.  Where do I find it?
0
schmir1
Asked:
schmir1
  • 6
  • 5
2 Solutions
 
VBClassicGuyCommented:
My VB6 installations have been taking the MsWinSck.ocx from my WinXP machine and placing it on Win7 32-bit systems, and my programs run just fine. The file can be found in C:\Windows\System32, which is where it should be placed on the Win7 system also.
0
 
schmir1Author Commented:
I did that but still get the error: Mswinsck.ocx is not correctly registered or missing.  I tried registering it but that gave the failed to load error.  What is wrong?
0
 
schmir1Author Commented:
Trying to install from a directory I created, I get the following error:
The module "c:\dtl database\mswinsck.ocs" was loaded but the call to DllRegisterServer failed with error code 0x8002801c.
0
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 
EDDYKTCommented:
have you register the ocx by using

regsvr32 "c:\dtl database\mswinsck.ocx"
0
 
schmir1Author Commented:
I should say:
Trying to REGISTER from a directory I created, I get the following error:
The module "c:\dtl database\mswinsck.ocs" was loaded but the call to DllRegisterServer failed with error code 0x8002801c.

Am I missing so other files?
0
 
EDDYKTCommented:
what is mswinsck.ocs?
should it be mswinsck.ocx?
0
 
EDDYKTCommented:
you may also need wsock32.dll.

If you use dependency walker (depends.exe) to check the mswinsck.ocx
0
 
schmir1Author Commented:
How do I get "depends.exe"?
0
 
EDDYKTCommented:
do you have VS6 installed?

it's under VS6 tools naamed Depends
0
 
schmir1Author Commented:
I get all the dependances listed below.  How to I check to see if they are registered on my Win7 PC? Note: That PC doesn't have VS6 which is why I'm having problems.  I need to able to set up my 50 Win7 users with vbSendMail but can't put VS6 on all there PCs.
i.	          MSWINSCK.OCX
ii.	              WSOCK32.DLL
iii.	              KERNEL32.DLL
iv.	              USER32.DLL
v.	              OLE32.DLL
vi.	              ADVAPI32.DLL
vii.	              OLEAUT32.DLL
viii.	              GDI32.DLL

Open in new window

0
 
EDDYKTCommented:
i think except the i. and ii. the rest should ship with system
check from c:\winnt\system32 directory and to see whether they are existed
0
 
schmir1Author Commented:
I couldn't get it to register when it was in c:\windows.  Might be some security issue?  Anyway, got it to work in a folder that I created.  Thanks for your help.  

EDDYKT:  Thanks for the info about depends.exe.  Good to know.
0

Featured Post

Learn Veeam advantages over legacy backup

Every day, more and more legacy backup customers switch to Veeam. Technologies designed for the client-server era cannot restore any IT service running in the hybrid cloud within seconds. Learn top Veeam advantages over legacy backup and get Veeam for the price of your renewal

  • 6
  • 5
Tackle projects and never again get stuck behind a technical roadblock.
Join Now