PDA

Click to See Complete Forum and Search --> : Running a .exe file made in VB


Nafto
Jan 11th, 2005, 01:12 PM
Hey,
I made a very simple program that used winsock, and when i made it into a .exe and tried to run it on another computer it didn't work. That computer didn't have vb on it, and it gave an error, something like "winsock.ocx was not found"
How do I run a program on a computer that doesn't have vb?

Hack
Jan 11th, 2005, 01:14 PM
Create an installation package using the Package and Deployment Wizard. All of the dependency files that you program uses needs to be installed, and registered on each end users PC.

Wokawidget
Jan 11th, 2005, 01:25 PM
When have you EVER copied an app (EXE) to a machine and it runs???
EVERY app you have on your PC was placed there by....yup, an installer :D
This installs your app and the correct files, like Winsock.ocx.
Do a search for package and deployment on this site, alternatively look at the package and deployment section.

Woka

thegreatone
Jan 20th, 2005, 03:34 PM
When have you EVER copied an app (EXE) to a machine and it runs???
EVERY app you have on your PC was placed there by....yup, an installer :D


I would just like to tell you that by default all of my PC's so far have had the necdcasary files, even my brand new one... i'm not sure why tho, out of 100% 90% of all people who have my programs can run them straight away, the most common error being CCRPP6.ocx (or summat like that, for progress bars)

randem
Jan 23rd, 2005, 02:22 AM
thegreatone,

That's a good approach if you want your program to work some of the times. But some how I would think that most developers would like for their programs to work all the time and not have to deal with LUCK!!!.

Use an installer...

NotLKH
Feb 19th, 2005, 06:53 PM
Just think of it this way...
Whenever you have to add a reference to your progie, thenm that illustrates that your progie won't even run raw under your IDE! Why would you expect it to be distributable?