create processor unintensive process
Reply
![]() |
|
From:
![]() Chandra_Chivukula
|
Hey unRestfulCritisizer - If you are thinking of polling on a file system folder, then try FileSystemWatcher to give you callbacks when something changes in the specific folder. See MSDN docs for details, or let me know and I'll post some working code. If its not a folder scan that you are looking for, I'd think of setting up a timer control to execute your getdata() method at a 'minimum justified' periodicity. I say minimum because you can easily bog the processor down with a very low timer interval (very frequent polling). Also make sure that the timer interval is far greater than the time it takes to execute getdata() or else you will beget other problems. What location do you want to scan (folder, or some other datasource)? - Chandra Chivukula [MVP] |
|
View other groups in this category.
![]() |
To stop getting this e-mail, or change how often it arrives, go to your E-mail Settings.
Need help? If you've forgotten your password, please go to Passport Member Services.
For other questions or feedback, go to our Contact Us page.
If you do not want to receive future e-mail from this MSN group, or if you received this message by mistake, please click the "Remove" link below. On the pre-addressed e-mail message that opens, simply click "Send". Your e-mail address will be deleted from this group's mailing list.
Remove my e-mail address from dotNET User Group Hyd.
|
|
- Re: create processor unintensive process Chandra_Chivukula
-