MDI form question

  • Thread starter Thread starter J Homer
  • Start date Start date
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
 
Chad,

Thanks a lot for the suggestion. Indeed, that solves the problem.

John
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top