|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
what to do, what to dohey all,
i have a windows service that uses a FileSystemWatcher. When a file arrives i need to do quite a few things to it. my question is should i put the rest of the process in a separate vb program and just call that in the event. Or just have the entire process inside the service? thanks, rodchar rodchar wrote:
> hey all, you should spawn a thread to do the workload. Leave your service lean > > i have a windows service that uses a FileSystemWatcher. When a file arrives > i need to do quite a few things to it. my question is should i put the rest > of the process in a separate vb program and just call that in the event. Or > just have the entire process inside the service? > > thanks, > rodchar and mean. Chris rodchar,
See the thread from yesterday, Subject "System.IO.FileSystemWatcher is missing alot of files." I posted an example using the FileSystemWatcher along with a worker thread. -- Show quoteHide quoteAl Reid "rodchar" <rodc***@discussions.microsoft.com> wrote in message news:500C60CA-9300-484F-80BD-BAE5F5626A37@microsoft.com... > hey all, > > i have a windows service that uses a FileSystemWatcher. When a file arrives > i need to do quite a few things to it. my question is should i put the rest > of the process in a separate vb program and just call that in the event. Or > just have the entire process inside the service? > > thanks, > rodchar Just wondering...would the following also be examples of spawining a new
thread in addition to Al's example? dim proc as new process or use vbscript's wscript.Run Thanks, rodchar Show quoteHide quote "rodchar" wrote: > hey all, > > i have a windows service that uses a FileSystemWatcher. When a file arrives > i need to do quite a few things to it. my question is should i put the rest > of the process in a separate vb program and just call that in the event. Or > just have the entire process inside the service? > > thanks, > rodchar
storing image in Access table
System.IO.File.Exists HTML in to readable/value accessible object How can I read an XML string directly into a dataset without creating a file? Can I create windows form by using late binding? Text file printout in dos mode through VB.Net or DOS command from VB.Net Help Displaying & Stabilizing PictureBox Contents passing a list as a parameter to a TableAdapter Fill method run a dos command Designing A Process and Report Scheduler/Spooler Application |
|||||||||||||||||||||||