Quote Originally Posted by si_the_geek View Post
I'm afraid it isn't clear what you mean.

Opening it for Output will not give that error - it will be automatically created instead.

Opening it for Input will (if it does not exist), so you should pre-emptively check if it exists using the Dir() function, eg:
Code:
If Dir("C:\folder\file.ext") = "" Then
  'not found
Else
  'it exists, so open it
End If
well with me it dosnt create it automaticly say's file not found on vb when i debuging it, so the program crashe's it says not responding