-
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?
-
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.
-
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.
-
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.
-
Re: help with winsock
thx :)
EDIT:
I downloaded winsck.ocx, now I make a installer that copys it to C:/Windows/System, right?
-
Re: help with winsock
no, u can have ur friend download the winsock.ocx and have him put it in C:\Windows\System32\
-
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 :)