Home All Groups Group Topic Archive Search About

file system watcher prevents PC shutdown

Author
11 Apr 2006 6:56 PM
Jason
hi,
     i have an application that has a filesystemwatcher  if this app is
running...and the user attempts to shut the pc down (or log off) nothing
happens....

if the program is stopped the user can log off just fine...

does anyone have any ideas on how to get around this problem?

thanks in advance

J

Author
11 Apr 2006 9:18 PM
Jeff Dillon
What does the app do? Just having a filesystemwatcher running won't stop a
machine from shutting down...(one would hope!)

Jeff
Show quoteHide quote
"Jason" <ja***@genzlinger.com> wrote in message
news:ujMwumZXGHA.752@TK2MSFTNGP02.phx.gbl...
> hi,
>     i have an application that has a filesystemwatcher  if this app is
> running...and the user attempts to shut the pc down (or log off) nothing
> happens....
>
> if the program is stopped the user can log off just fine...
>
> does anyone have any ideas on how to get around this problem?
>
> thanks in advance
>
> J
>
Author
12 Apr 2006 1:13 PM
Jason
thanks for the reply....

its just watching a mapped network drive for new files that are uploaded via
ftp   if a new file appears it alerts the user that a new file is
uploaded....thats all it does

to test this out just create a file system watcher  and a list box  and  add
the changed or created file name to the listbox...

then run the EXE  (not in the IDE)   then try to reboot

i can post my source code if needed...but its just a basic file system
watcher setup

i have had this problem with other applications in vs2002, 2003 and now 2005


J


Show quoteHide quote
"Jeff Dillon" <jeffdil***@hotmail.com> wrote in message
news:OpMEA2aXGHA.4988@TK2MSFTNGP05.phx.gbl...
> What does the app do? Just having a filesystemwatcher running won't stop a
> machine from shutting down...(one would hope!)
>
> Jeff
> "Jason" <ja***@genzlinger.com> wrote in message
> news:ujMwumZXGHA.752@TK2MSFTNGP02.phx.gbl...
>> hi,
>>     i have an application that has a filesystemwatcher  if this app is
>> running...and the user attempts to shut the pc down (or log off) nothing
>> happens....
>>
>> if the program is stopped the user can log off just fine...
>>
>> does anyone have any ideas on how to get around this problem?
>>
>> thanks in advance
>>
>> J
>>
>
>