467,146 Members | 1,000 Online
Bytes | Developer Community
Ask Question

Home New Posts Topics Members FAQ

Post your question to a community of 467,146 developers. It's quick & easy.

file system watcher prevents PC shutdown

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
Apr 11 '06 #1
  • viewed: 1280
Share:
2 Replies
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:uj*************@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

Apr 11 '06 #2
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
"Jeff Dillon" <je********@hotmail.com> wrote in message
news:Op**************@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:uj*************@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


Apr 12 '06 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

reply views Thread by Jack David | last post: by
5 posts views Thread by ToddT | last post: by
1 post views Thread by Stuart Ferguson | last post: by
reply views Thread by test@yahoo.com | last post: by
reply views Thread by Brian Henry | last post: by
reply views Thread by stephen | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.