EDN Admin
Well-known member
<p align=left><font face=Arial size=2></font>
Hi all,
<p align=left>
<p align=left>I am trying to use the FileSystemWatcher to monitor a path in the network.
<p align=left>But always encountered error "Directory Name is invalid",
<p align=left>
<p align=left>An unhandled exception of type System.ArgumentException occurred in System.dll
<p align=left>Additional information: The directory name <a title="file://\aa.aa.aa.aaDirADirBFolderC \aa.aa.aa.aaDirADirBFolderC is invalid.
<p align=left>
<p align=left>I had try to map it manually using the above directory path without any problem , even with the same pc.
<p align=left>
<p align=left>Does anyone know why?
<p align=left>
<p align=left>My setting of path is as follow:
<p align=left> <font size=2>
this.fsw.Path = <a>\\<u><font color="#0000ff aa.aa.aa.aa\DirA\DirB\FolderC\ ;</font></u>
<p align=left><u><font color="#0000ff </font></u>
<p align=left><font color="#0000ff Please help.</font>
<p align=left><font color="#0000ff </font>
<p align=left><font color="#0000ff Thanks</font>
<p align=left><font color="#0000ff </font>
<p align=left><u><font color="#0000ff </font></u></font>
View the full article
Hi all,
<p align=left>
<p align=left>I am trying to use the FileSystemWatcher to monitor a path in the network.
<p align=left>But always encountered error "Directory Name is invalid",
<p align=left>
<p align=left>An unhandled exception of type System.ArgumentException occurred in System.dll
<p align=left>Additional information: The directory name <a title="file://\aa.aa.aa.aaDirADirBFolderC \aa.aa.aa.aaDirADirBFolderC is invalid.
<p align=left>
<p align=left>I had try to map it manually using the above directory path without any problem , even with the same pc.
<p align=left>
<p align=left>Does anyone know why?
<p align=left>
<p align=left>My setting of path is as follow:
<p align=left> <font size=2>
this.fsw.Path = <a>\\<u><font color="#0000ff aa.aa.aa.aa\DirA\DirB\FolderC\ ;</font></u>
<p align=left><u><font color="#0000ff </font></u>
<p align=left><font color="#0000ff Please help.</font>
<p align=left><font color="#0000ff </font>
<p align=left><font color="#0000ff Thanks</font>
<p align=left><font color="#0000ff </font>
<p align=left><u><font color="#0000ff </font></u></font>
View the full article