"Ed Chiu" <Ed****@discussions.microsoft.com> schrieb:
I want to use VB.Net to access a network folder, say \\myServer\myFolder,
and enumerate all files in that folder and process each file one by one.
I didn't check if it works with network folders, but it's worth a try:
\\\
Imports System.IO
..
..
..
Dim Files() As String = Directory.GetFiles("\\MyServer\MyFolder")
For Each FileName As String In Files
Debug.WriteLine(FileName)
Next FileName
///
--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>