J
J Homer
Hello,
I have an MDI app which monitors a folder for new text (txt) files
(using FileSystemWatcher).
When it finds a new file, I like to have the MDI app (already running)
to create and open a new child-form window showing the contents of the
new text file.
However, when a new text file is detected and processed by the event
handler of FileSystemWatcher, it gives an error about threading, and
fails to open the new child-form window.. How can I correct this?
John
I have an MDI app which monitors a folder for new text (txt) files
(using FileSystemWatcher).
When it finds a new file, I like to have the MDI app (already running)
to create and open a new child-form window showing the contents of the
new text file.
However, when a new text file is detected and processed by the event
handler of FileSystemWatcher, it gives an error about threading, and
fails to open the new child-form window.. How can I correct this?
John