Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 2965
  • 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
The 14th Annual Expert Award Winners

The results are in! Meet the top members of our 2017 Expert Awards. Congratulations to all who qualified!

 
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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

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