hi,
i dont know how to check if a file exists in a directory
my code to open a file is:
Dim sr As IO.StreamReader = New IO.StreamReader(New IO.FileStream("C:\test.txt", IO.FileMode.Open))
before i must check if the file exists!!!!!
how can i do this???
can anyone give me an example for my example????
thanx alot
akim
i dont know how to check if a file exists in a directory
my code to open a file is:
Dim sr As IO.StreamReader = New IO.StreamReader(New IO.FileStream("C:\test.txt", IO.FileMode.Open))
before i must check if the file exists!!!!!
how can i do this???
can anyone give me an example for my example????
thanx alot
akim