TextFieldParser object

wsyeager

Well-known member
Joined
Apr 10, 2003
Messages
140
Location
Weston, FL
I need to be able to access a file via a network path using the TextFieldParser object.

I have the following code:

<code>
Dim tfParser As New TextFieldParser(\\servername\e\April_CDR_Search\0423\filename.csv)
</code>

I get the error that the file cant be found, when I know it is there. When I change it to my local drive (with C:\ as the prefix, it works fine).

Is there something else I need to include in order for the TextFieldParser object to find the file on the network drive?
 
Back
Top