954,517 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Visual Basic 2008 express published exe will not run on other computers

I have read other posting about this and I can not figure it out.

Application runs fine on the computer that I used to create it.

The application has 3 functions:
Button1...locate and preview an image file.
Button2...creates an email with html link...creates an html page file...ftp's the image and html files to server...sends email.
Button3...ftps image file only.

Publish and install on another computer and I have problems.
Button 1...Will load and preview file correctly.
Button 3...ftp image file only.
Button 2...I get an error (my own 'failed' message)

I have the same net framework 3.5 sp1 on all computers.

What am I missing?
I am thinking now it is code, but why does it will work on one and not the other.

Do I need to install VB 2008 express on every computer that will be running this app just to insure that the computers are the same?

Thanks in advance!

sspweb
Newbie Poster
3 posts since Aug 2009
Reputation Points: 10
Solved Threads: 0
 

no. but if you use any custom references (like a ftp.fll) then you have to ship that dll with your application.

Button 2...I get an error (my own 'failed' message)


does not really help. post the code where the error pops up.

GeekByChoiCe
Master Poster
721 posts since Jun 2009
Reputation Points: 208
Solved Threads: 168
 

Figured it out ! ! ! ! !

I have a relative file path that I had overlooked...created the path on the remote computer and it works just fine...now I need to set the application to create it automatically.

Some solutions make me feel so stupid!

Thank you GeekByChoiCe for replying!

sspweb
Newbie Poster
3 posts since Aug 2009
Reputation Points: 10
Solved Threads: 0
 

i did my project even i know how to create the .exe file but i cant deploy it where i want while installing i cant select path like where you want to install the software and all

please soon answer me

dayanand143
Newbie Poster
1 post since Feb 2012
Reputation Points: 10
Solved Threads: 0
 

dayanand143, Try Inno Setup.

codeorder
Posting Virtuoso
1,913 posts since Aug 2010
Reputation Points: 255
Solved Threads: 384
 

This question has already been solved

Post: Markdown Syntax: Formatting Help
You