We help IT Professionals succeed at work.

We've partnered with Certified Experts, Carl Webster and Richard Faulkner, to bring you two Citrix podcasts. Learn about 2020 trends and get answers to your biggest Citrix questions!Listen Now

x

System IO.File not found error

LAppling7775
LAppling7775 asked
on
Medium Priority
381 Views
Last Modified: 2008-01-09
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??
Comment
Watch Question

CERTIFIED EXPERT
Commented:
Imports System.IO

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


Acc to that it doesnt exist

Not the solution you were looking for? Getting a personalized solution is easy.

Ask the Experts

Author

Commented:
the error shows the file name and path and the form shows the file - so I am not understanding what it is missing.

Author

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???
CERTIFIED EXPERT

Commented:
what file is it looking for?

Author

Commented:
Just a regular text file.  

Commented:
Do you have the same .NET framework installed on each PC? .NET 2.0 programs will not run on 1.1
Commented:
Are you sure the file is in the same location as the computer the program executes successfully on?
CERTIFIED EXPERT

Commented:
maybe the install deletes the file

Commented:
What did you find out?
Access more of Experts Exchange with a free account
Thanks for using Experts Exchange.

Create a free account to continue.

Limited access with a free account allows you to:

  • View three pieces of content (articles, solutions, posts, and videos)
  • Ask the experts questions (counted toward content limit)
  • Customize your dashboard and profile

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.