![]() | |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I am trying to figure out how to programatically kill a locked DOS window called from a Fox program in WIN 2K. One program (which starts running about 1 AM) makes a series of FTP calls, and occasionally the DOS window locks up while in progress. The only way to kill it at the moment is to physically shut down the window (which means that someone finds it about 6 AM and does so, which leaves the program hours behind schedule). I am able to find the DOS window via another Fox program, but I cannot send it a simple "Close" command, as the DOS window does not seem to accept outside commands from Windows. Is there a simple (or even complicated) method to do this? |
#3
| |||
| |||
|
|
Basically, there are 3 methods. 1. Find out why the Dos FTP locks and cure it. 2. Write a 32bit program, in VB or VFP that can sense the locked process and then close the Window for you. 3. (My preferred method) Write a VFP program that uses a decent FTP library (we use Marshallsoft) to implement the FTP process. Have fun. On Sun, 14 Nov 2004 16:35:20 GMT, Patrick Rock <rockpf (AT) nospam (DOT) net wrote: I am trying to figure out how to programatically kill a locked DOS window called from a Fox program in WIN 2K. One program (which starts running about 1 AM) makes a series of FTP calls, and occasionally the DOS window locks up while in progress. The only way to kill it at the moment is to physically shut down the window (which means that someone finds it about 6 AM and does so, which leaves the program hours behind schedule). I am able to find the DOS window via another Fox program, but I cannot send it a simple "Close" command, as the DOS window does not seem to accept outside commands from Windows. Is there a simple (or even complicated) method to do this? |
![]() |
| Thread Tools | |
| Display Modes | |
| |