Hi Claude,
This one worked!!!!
Thanks!
Hugh
>Hugh,
>check out:
http://support.microsoft.com/default.aspx?scid=kb;EN-US;q191584 - HOWTO:Determine When a 32-bit Process has Completed from Visual FoxPro
>
>>Hi All,
>>
>>I have an application written in 2.6DOS that currently runs numerous batch files and EXE files on various mapped drives.
>>
>>I have converted the application to VFP7 but now the code that ran those .BATs and .EXEs seems to run them differently. It looks like the programs just blow by without stopping for user input.
>>
>>Further testing shows that the code will run the way it used to if (instead of using a mapped drive reference) I use a UNC naming reference:
>>
>>
>>*-- This code just blows by the application and closes inappropriately
>>!G:\C-DRIVE\RBNSCOPE\AUTOSCOP\SCOPE.EXE
>>
>>*-- This code runs fine
>>!\\HISTO-W2K-SCOPE\C-DRIVE\RBNSCOPE\AUTOSCOP\SCOPE.EXE
>>
>>
>>Has anyone else run into this behavior?
>>
>>I'd like to not have to change all the existing code (if possible).
>>
>>
>>Hugh
Microsoft hears loudest what the VFP community says about Visual FoxPro by looking at the bottom line!
Support the product. Buy the latest version!
Hugh Winters @ WorldData 408-512-1131