Results 1 to 20 of 20

Thread: [RESOLVED] User has problem with winsock control

  1. #1

    Thread Starter
    New Member
    Join Date
    Jul 2004
    Location
    Australia
    Posts
    15

    [RESOLVED] User has problem with winsock control

    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?
    Last edited by DaMoose; Oct 3rd, 2005 at 03:05 AM. Reason: Topic Resolved

  2. #2
    Next Of Kin baja_yu's Avatar
    Join Date
    Aug 2002
    Location
    /dev/root
    Posts
    5,989

    Re: User has problem with winsock control

    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.

  3. #3

    Thread Starter
    New Member
    Join Date
    Jul 2004
    Location
    Australia
    Posts
    15

    Re: User has problem with winsock control

    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.

  4. #4
    Admodistrator |2eM!x's Avatar
    Join Date
    Jan 2005
    Posts
    3,900

    Re: User has problem with winsock control

    please ask them to take a screenshot

  5. #5

    Thread Starter
    New Member
    Join Date
    Jul 2004
    Location
    Australia
    Posts
    15

    Re: User has problem with winsock control

    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.

  6. #6
    Next Of Kin baja_yu's Avatar
    Join Date
    Aug 2002
    Location
    /dev/root
    Posts
    5,989

    Re: User has problem with winsock control

    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&l...d+mswinscn.ocx

  7. #7

    Thread Starter
    New Member
    Join Date
    Jul 2004
    Location
    Australia
    Posts
    15

    Re: User has problem with winsock control

    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.

  8. #8
    Next Of Kin baja_yu's Avatar
    Join Date
    Aug 2002
    Location
    /dev/root
    Posts
    5,989

    Re: User has problem with winsock control

    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

  9. #9
    Next Of Kin baja_yu's Avatar
    Join Date
    Aug 2002
    Location
    /dev/root
    Posts
    5,989

    Re: User has problem with winsock control

    I just read it. Sorry, that's not it... seems that that file doesn't exist. You should wait for the screenshot.

  10. #10

    Thread Starter
    New Member
    Join Date
    Jul 2004
    Location
    Australia
    Posts
    15

    Re: User has problem with winsock control

    Finally got the user to post an image.


    Off-Topic: Did someone move this from the Classic VB forum? I though it was slightly better suited there. Oh well, doesn't matter.

  11. #11
    Junior Member
    Join Date
    Oct 2005
    Posts
    21

    Re: User has problem with winsock control

    ..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

  12. #12

    Thread Starter
    New Member
    Join Date
    Jul 2004
    Location
    Australia
    Posts
    15

    Re: User has problem with winsock control

    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.

  13. #13
    Banned dglienna's Avatar
    Join Date
    Jun 2004
    Location
    Center of it all
    Posts
    17,901

    Re: User has problem with winsock control

    Sounds like it could be a virus...

  14. #14

    Thread Starter
    New Member
    Join Date
    Jul 2004
    Location
    Australia
    Posts
    15

    Re: User has problem with winsock control

    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.

  15. #15
    Banned dglienna's Avatar
    Join Date
    Jun 2004
    Location
    Center of it all
    Posts
    17,901

    Re: User has problem with winsock control

    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.

  16. #16

    Thread Starter
    New Member
    Join Date
    Jul 2004
    Location
    Australia
    Posts
    15

    Re: User has problem with winsock control

    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.
    Last edited by DaMoose; Oct 2nd, 2005 at 12:56 AM.

  17. #17
    Banned dglienna's Avatar
    Join Date
    Jun 2004
    Location
    Center of it all
    Posts
    17,901

    Re: User has problem with winsock control

    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.

  18. #18

    Thread Starter
    New Member
    Join Date
    Jul 2004
    Location
    Australia
    Posts
    15

    Re: User has problem with winsock control

    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.

  19. #19
    Banned dglienna's Avatar
    Join Date
    Jun 2004
    Location
    Center of it all
    Posts
    17,901

    Re: User has problem with winsock control

    I have VB6 SP6, which would explain the difference in the control.

  20. #20
    Hyperactive Member
    Join Date
    Jun 2008
    Posts
    355

    Re: [RESOLVED] User has problem with winsock control

    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.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width