Running a .exe file made in VB
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?
Re: Running a .exe file made in VB
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.
Re: Running a .exe file made in VB
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
Re: Running a .exe file made in VB
Quote:
Originally Posted by Wokawidget
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)
Re: Running a .exe file made in VB
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...
Re: Running a .exe file made in VB
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?