Click to See Complete Forum and Search --> : [RESOLVED] User has problem with winsock control
DaMoose
Sep 26th, 2005, 09:03 PM
One of my users is having difficulty with the winsock control. The usual error, stating that mswinsck.ocx is missing isn't there, but they are getting an error looking for "mswinicN.ock". Googling this file brings up nothing. Any ideas to what might be the problem?
baja_yu
Sep 26th, 2005, 09:16 PM
What file is "mswinicN.ock"? I've never heard of it before.
If the error says that mswinsck.ocx is missing, they need to download it, copy it to their system folder (most likely c:\windows\system on Win 9x, and c:\windows\system32 on Win XP)
After that go to Start menu > Run and type
regsvr32 c:\windows\system32\mswinsck.ocx
to register it.
DaMoose
Sep 26th, 2005, 09:18 PM
No... I know what to do in the case that it gives the mswinsck.ocx error. Presumably it would be the same with "mswinicN.ock", however, I've never heard of that file before. The problem is that they get the mswinicN.ock error where they would normally get the mswinsck.ocx error.
|2eM!x
Sep 26th, 2005, 09:21 PM
please ask them to take a screenshot
DaMoose
Sep 28th, 2005, 01:46 AM
They now say that they made a mistake, and its "mswinscn.ocx", or "mswinscn.ock" (the extension seems to keep changing). I'll get them to take a screen.
baja_yu
Sep 28th, 2005, 02:05 AM
That would be best. But, if you made the application, you should know what dependencies you have. I havent heard of mswinscn.ocx either. Do you use it in your app?
I googled it and it seems to exist: http://www.google.com/search?hl=en&lr=&safe=off&q=download+mswinscn.ocx
DaMoose
Sep 28th, 2005, 02:10 AM
The only ones I have are WinSock (mswinsck.ocx) and RichTextBox (richtx32.ocx).
I checked over the first few Google results earlier. They seem to be tutorials for people who need to update the Winsock file, and don't want to delete the old one first, for the sake of backups.
baja_yu
Sep 28th, 2005, 02:15 AM
Yeah, but this page seems to provide download for the mswinscn.ocx file (I haven't read the entire page)
http://www.ascentive.com/support/3126InstallList.html
baja_yu
Sep 28th, 2005, 02:16 AM
I just read it. Sorry, that's not it... seems that that file doesn't exist. You should wait for the screenshot.
DaMoose
Oct 1st, 2005, 09:02 PM
Finally got the user to post an image.
http://img180.imageshack.us/img180/5315/eds9ug.jpg
Off-Topic: Did someone move this from the Classic VB forum? I though it was slightly better suited there. Oh well, doesn't matter.
llamaboy20
Oct 1st, 2005, 11:37 PM
..alright it is basically a program that allows people to send data across to each other...i have everything and lis i said the winsock stuff set rite, i just need the info to be sent to a server or somewhere where people could view it, like on a server.
thanks
-Calvin
DaMoose
Oct 2nd, 2005, 12:22 AM
I know what the Winsock control does, otherwise I wouldn't have put it in my project. I have a server up and running too. The problem is that a user (now two) is having trouble with mswinscn.ocx, which, as far as I can tell, doesn't exist.
dglienna
Oct 2nd, 2005, 12:36 AM
Sounds like it could be a virus...
DaMoose
Oct 2nd, 2005, 12:39 AM
Why do you say that? I've been running this program on my home computer, and making it for nearly a year, and have never seen anyone with this error before, and certainly haven't included a virus or any intention to harm anyone's computer.
dglienna
Oct 2nd, 2005, 12:44 AM
I meant that if more than one person complained about the file, and the rest of the world hasn't heard of it, then it might be something that isn't supposed to be. Have the people scan it, or send it to you. I googled it, and didn't find anything, except what I suspect is people that misspelled it.
I'm not accusing you of anything, I think there is something on their system.
DaMoose
Oct 2nd, 2005, 12:46 AM
Okay, I just found this file on my computer, and when I renamed this file, and attempted to start the exe, I got the same error as these users. I now checked the actual VBP file, and it tells me that the file is missing on load. Upon checking the components menu, it tells me that the control is "Microsoft Winsock Control 6.0 SP4".
I have two questions;
1) Is this accurate? (Since I've never seen the control before, I don't think its it)
2) Regardless of question 1, what is the most recent version of the Winsock control?
EDIT: Scanned the file with NAV2004, turns up nothing. I'm now scanning the system and system32 folders, as well as another folder that I hadn't noticed before to see if there is a problem with this file.
EDIT2: Didn't turn up anything again. I'm off to run a full system scan to be sure, however, it doesn't seem likely.
dglienna
Oct 2nd, 2005, 01:33 AM
Do you have SP2 installed? The latest WinSck.ocx is dated Feb 23, 2004 v 6.01.9782
Can't find this file on my system
mswinscn.ocx
What is SP4? Maybe it's an old VB version that you are distributing? Can't imagine why it would work for anybody.
DaMoose
Oct 2nd, 2005, 04:08 AM
Quick update: The system scan didn't turn up anything, so I'm pretty sure its not a virus. I checked my machine again, and found that the file I thought I was using was there (mswinsck.ocx), and was "Microsoft Winsock Control 6.0 SP5", last modifed "Wednesday, 6 December 2000, 1:00:00 AM", the other one was apparently created after it was last modified.
I'm currently running on WinXP Professional SP2, using VB 6.0.8169.
dglienna
Oct 2nd, 2005, 12:35 PM
I have VB6 SP6, which would explain the difference in the control.
Deliriumxx
Jul 22nd, 2009, 12:59 AM
mswinscn.ocx does exist. I found it on my machine and it was actually getting used when including VB6 winsock component. This, oddly, happened after I ran a project produced on a Chinese machine (possibly different windows configuration) and apparently something messed up my registry. I cleaned up the registry,,, re-referenced the mswinsck.ocx and all went ok from there on.
My users also received exactly the same error as above. It may be worth triple checking dependencies before compiling the project and building an installer.
vbforums.com
Copyright Internet.com Inc., All Rights Reserved.