wsyeager Posted May 18, 2006 Posted May 18, 2006 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 can't 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? Quote Thanks, Bill Yeager (MCP, BCIP) Microsoft Certified Professional Brainbench Certified Internet Professional, .Net Programmer, Computer Programmer YeagerTech Consulting, Inc.
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.