User Profile
Collapse
-
Thanks anyways for your help. Now I'm running vs2003 and vs2005 on the same computer. Do you think that could be causing my issue? -
lol...yeah the file exists. That was the first thing I checked for.Leave a comment:
-
Thanks for the reply,
but that unfortunately didn't resolve it. I don't think it's the code I think it's an Environment issue. I went back and tried the same code in VS.NET 2003 and it works. But it won't work in VS.NET 2005. Any other suggestions would be greatly appreciated.
Thanks...Leave a comment:
-
Problem Checking If A File Exists In VB.NET
Hi,
I'm checking if a file exists with the following code;
For some reason it always returns false even though the file does exist. Any suggestions? Could this be a security issue?Code:If System.IO.File.Exists("C:\test.txt") = True Then MsgBox("File Exists") Else MsgBox("File Does Not Exist") End IfLast edited by Frinavale; Dec 15 '09, 05:35 PM. Reason: Please post code in [code] ... [code] tags. Added code tags.
No activity results to display
Show More
Leave a comment: