[dba-VB] c# - Monitor folder and run application

Jim DeMarco jdthree at frontiernet.net
Sun Sep 20 07:24:24 CDT 2009


Hello John et al,

I've been away from coding for quite a while but I'm back into it again.
John you're looking for the FileSystemWatcher in System.IO.  I don't have
any code for you but what you'll find if you Google it will get you what you
need.

HTH,

Jim DeMarco

-----Original Message-----
From: dba-vb-bounces at databaseadvisors.com
[mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of jwcolby
Sent: Saturday, September 19, 2009 2:44 PM
To: VBA
Subject: [dba-VB] c# - Monitor folder and run application

Just wondering if anyone has already done this and could send me a solution.

I need to monitor a folder and run an application if a file exists.

I have found code that runs an app and waits a time period for it to
complete, closing the app if it doesn't complete within that time period.

In addition to that I need the monitoring code, and all wrapped up in a
single solution.

This doesn't appear too tough given all the code snipits out there but why
reinvent the wheel if you have done it.

--
John W. Colby
www.ColbyConsulting.com
_______________________________________________
dba-VB mailing list
dba-VB at databaseadvisors.com
http://databaseadvisors.com/mailman/listinfo/dba-vb
http://www.databaseadvisors.com




More information about the dba-VB mailing list