G
Guest
Dear all,
I have a Windows VB application which monitor a folder for new created XML
files.
This with the use of FileSystemWatcher components.
My application is just monito the Change event
The list of files that belongs to that folder are displayed in a treeView
control.
From that treeview control, when a node is selected, I am reading the file
content into a dataset bind to a datagrid.
It works perfectly well from the application side but as soon as I start to
cut and past file, manually by using WIndows explorer, it crash windows
explorer itself but my application is still running perfecly well.
How could this be happen, does SystemFileWatcher component does or lock
something on the monitor folder ? or does my reading XML file creates a lock
situatiion.
Does anyone could explain that situation ?
reagrds
serge
I have a Windows VB application which monitor a folder for new created XML
files.
This with the use of FileSystemWatcher components.
My application is just monito the Change event
The list of files that belongs to that folder are displayed in a treeView
control.
From that treeview control, when a node is selected, I am reading the file
content into a dataset bind to a datagrid.
It works perfectly well from the application side but as soon as I start to
cut and past file, manually by using WIndows explorer, it crash windows
explorer itself but my application is still running perfecly well.
How could this be happen, does SystemFileWatcher component does or lock
something on the monitor folder ? or does my reading XML file creates a lock
situatiion.
Does anyone could explain that situation ?
reagrds
serge