|
-
Jun 30th, 2004, 11:54 PM
#1
Thread Starter
Member
How to have a function or process run over and over
Sorry for all the newby questions.
I would like to use Systems.IO FileSystemWatcher class to monitor a forder for changes. How do I make it continue to check the folder for changes as long as the application is running.
-
Jul 1st, 2004, 12:04 AM
#2
Thread Starter
Member
Also when I minimize my app, I’m sending it to the system tray and displaying an icon. Is there a way for me to trigger the tooltip to show when an event is triggered from the filesystemwatcher.
-
Jul 1st, 2004, 12:28 AM
#3
Hyperactive Member
I never used Systems.IO FileSystemWatcher , but in general, when you have to realize a polling procedure, like watching for I/O or other kind of events that not give you an interrupt to make your app. awake, you need to use a timing interrupt to run your monitor routine. In VB.NET you can use a Timer. It works also if your form is minimized and also if another form is modally opened.
Good job
Live long and prosper (Mr. Spock)
-
Jul 1st, 2004, 03:08 AM
#4
yay gay
If I'm not wrong FileSystemWatcher is event oriented so you don't have to worry about timers
\m/  \m/
-
Jul 1st, 2004, 08:41 AM
#5
Thread Starter
Member
Does anyone know how to create some sort of popup notification from the taskbar on the events?
I'm trying to do something similar to what windows xp does.
-
Jul 2nd, 2004, 08:52 AM
#6
Registered User
look here for how to get a popup balloon. the post you want is the one by dynamic_sysop posted at 02-03-2004 12:47 AM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|