Results 1 to 7 of 7

Thread: help with winsock

  1. #1

    Thread Starter
    New Member
    Join Date
    May 2007
    Posts
    13

    help with winsock

    I made a app in VB, its a chat program with a server and a client
    it uses winsock

    but I sent the client to my mate and he got a error message saying that winsck.ocx is missing or something like that
    he hasnt got VB6

    a guy told me that he needed the runtime files, where can I get them?

  2. #2
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

    Re: help with winsock

    You need to build an Installation and Setup package. This will house all of the necessary dependency files required by your application.

    This Setup program can be given to your friend. In turn, he would have to run the resulting Setup.Exe file and formerly install your program on his machine.

  3. #3
    "Digital Revolution"
    Join Date
    Mar 2005
    Posts
    4,471

    Re: help with winsock

    Runtime files can be downloaded individually with a simple search on Google for "download runtimefile.ocx".

    But the best way is to make a setup package. VB comes with the Package & Deployment Wizard that will allow you to make a setup package.

    There are other ones, which are free (and better) like Inno Setup or Easy Install Creator.

  4. #4
    Fanatic Member drivenbywhat's Avatar
    Join Date
    Jan 2007
    Location
    VA - USA
    Posts
    866

    Re: help with winsock

    Although using the setup wizard that comes with VB is a good way to make sure you have everything running fine, it increases the size of your program. So a 100kb program can turn into 2-5MB program.

    What you could do is search your system for the winsck.ocx file. When you install VB, it installs all the files on your pc. So you already have them. Just need to send them along with your program for the folks that don't have VB. This is what I do when I make programs and send them to my friends. They will tell me what dll or ocx file they are missing and I'll attach it to the program the next time.

  5. #5

    Thread Starter
    New Member
    Join Date
    May 2007
    Posts
    13

    Re: help with winsock

    thx

    EDIT:
    I downloaded winsck.ocx, now I make a installer that copys it to C:/Windows/System, right?
    Last edited by espan; May 12th, 2007 at 01:04 AM.

  6. #6
    Fanatic Member
    Join Date
    Jun 2006
    Posts
    615

    Re: help with winsock

    no, u can have ur friend download the winsock.ocx and have him put it in C:\Windows\System32\
    If ive helped, RATE my post.

    If your thread is solved, and you got your answer, mark this thread Resolved.

    There is no other forum like VBFORUMS.

  7. #7
    Interweb adm/o/distrator Paul M's Avatar
    Join Date
    Nov 2006
    Location
    Australia, Melbourne
    Posts
    2,306

    Re: help with winsock

    It would be more convenient if you put it in the installer as well and distributed it with your application i think the winsock.ocx is allowed to be distributed i would check before doing so though

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