System IO.File not found error

I am trying to run a setup program and am getting an error
System.IO.FileNotFound Exception.  

at System.IO_ERror.WinIoError(Int32 error Code, Stringstr)
at System.IO.FileStream.ctro...........

Can someone tell me why I would be getting this error??? or what to look for??
LAppling7775Asked:
Who is Participating?
 
Mikal613Commented:
Imports System.IO

If File.Exists(yourfile)Then
'do something  
Else
'do something  
End If


Acc to that it doesnt exist
0
 
LAppling7775Author Commented:
the error shows the file name and path and the form shows the file - so I am not understanding what it is missing.
0
 
LAppling7775Author Commented:
It works on one computer but not on the other - could it be a .net framework issue and if so what would I do???
0
Cloud Class® Course: Microsoft Exchange Server

The MCTS: Microsoft Exchange Server 2010 certification validates your skills in supporting the maintenance and administration of the Exchange servers in an enterprise environment. Learn everything you need to know with this course.

 
Mikal613Commented:
what file is it looking for?
0
 
LAppling7775Author Commented:
Just a regular text file.  
0
 
CDCOPCommented:
Do you have the same .NET framework installed on each PC? .NET 2.0 programs will not run on 1.1
0
 
CDCOPCommented:
Are you sure the file is in the same location as the computer the program executes successfully on?
0
 
Mikal613Commented:
maybe the install deletes the file
0
 
CDCOPCommented:
What did you find out?
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.