作爲vb中的新手,我在我的FileSystemWatcher中遇到了一些麻煩。由於一些不祥的原因,它不會觸發任何事件。我想檢查目錄中正在複製,刪除或編輯的文件。 我很感激任何幫助! 這裏是我的代碼: Public Class FileWatcher
Public Sub run(path As String)
Dim watcher As New FileSystemWatcher(
我有一個用例,我需要檢測是否使ReadOnly文件可寫。我試過使用FileSystemWatcher,但它不告訴我文件的哪個屬性已經改變。 // Create a new FileSystemWatcher and set its properties.
FileSystemWatcher watcher = new FileSystemWatcher();
watcher.P