R
Richard Jonas
I've written a Windows Application in C#.net that runs in the
background and silently archives files to a network drive (using the
System.IO.File.Copy function).
Sometimes, users may run this application when connected to our
network via a dial-up connection. This means that files take a long
time to copy.
If users try and shut down their computer whilst a file is copying, an
error message is shown and the only way to shut down the computer is
by killing the application using Task Manager.
I would like to show the user a dialog box, asking if they want to
wait for the file to finish copying or abort the copy and shut down
their computer.
Is there any way of doing this?
Thanks,
Richard Jonas
background and silently archives files to a network drive (using the
System.IO.File.Copy function).
Sometimes, users may run this application when connected to our
network via a dial-up connection. This means that files take a long
time to copy.
If users try and shut down their computer whilst a file is copying, an
error message is shown and the only way to shut down the computer is
by killing the application using Task Manager.
I would like to show the user a dialog box, asking if they want to
wait for the file to finish copying or abort the copy and shut down
their computer.
Is there any way of doing this?
Thanks,
Richard Jonas