Categories: MSDN / DotNet / Java / Scripts / Linux / PHP Ask - La ask - La Answer

file made from VB6 opens fine on my pc but many missing .ocxs on other pcs when

I am making a simple IM chat program in VB. I put the client.exe server.exe and the databsae file on my desktop. I run the server.exe and the client.exe fine and it connects great (note the VB project files are not in the same direcotry)
Whenever I send someone the client.exe which runs fine for me they get many errors like this:
Compenent MSWINSCK.OCX or one of its dependencies is not correctly registered: a file is missing or invalid.

If i get them to download mswinsck.ocx and put it in their system32, it comes up with a different file error, i try multiple times with multiple files but it just keeps going!
Any ideas on how to stop this?
Thanks,
anony
[690 byte] By [anonyentry] at [2007-11-11 8:46:51]
# 1 Re: file made from VB6 opens fine on my pc but many missing .ocxs on other pcs when
You will probably need to create an installer for your program to copy and register all the necessary components on the target PC. For more information, see http://www.developerfusion.co.uk/show/27/
Phil Weber at 2007-11-11 17:25:05 >