Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Run Time Error--New EXE

Status
Not open for further replies.

john55

Programmer
Oct 10, 2001
5
US
Can anyone tell me why my Compiled EXE generates an error when executed from a CD or Zip drive.

Run time error '52'
Bad file name or number

Copy it back to hard drive and it works fine.

Help PLEASE. This is my first Executable and I'm really bummed right now.

If its important it's just a simple little image viewer Program (ImageBox, fileListBox, a couple of listboxes,command buttons and a timer)

thanks
john M. (jcmellon@hotmail.com)


 
Is it working when you copy the files back to anyone's PC or only the system where you have VB installed? Did you create an installation package to install the necessary VB runtime files when needed? Neil Konitzer, President
Freisoft
 
thanks for the response !!

yea, I created an install program as well.

took it to a friends PC, install worked, but same error message with the EXE. copied EXE to hard drive and it worked fine.

AAARGH !!!!!

John M.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top