|
-
Jan 11th, 2005, 01:12 PM
#1
Thread Starter
Junior Member
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?
-
Jan 11th, 2005, 01:14 PM
#2
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.
-
Jan 11th, 2005, 01:25 PM
#3
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 
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
-
Jan 20th, 2005, 03:34 PM
#4
Re: Running a .exe file made in VB
 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 
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)
-
Jan 23rd, 2005, 02:22 AM
#5
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...
-
Feb 19th, 2005, 06:53 PM
#6
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?
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
|