|
-
May 11th, 2007, 01:45 PM
#1
Thread Starter
New Member
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?
-
May 11th, 2007, 01:51 PM
#2
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.
-
May 11th, 2007, 01:58 PM
#3
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.
-
May 11th, 2007, 02:04 PM
#4
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.
-
May 12th, 2007, 12:58 AM
#5
Thread Starter
New Member
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.
-
May 13th, 2007, 06:35 PM
#6
Fanatic Member
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.
-
May 14th, 2007, 02:22 AM
#7
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|