Hi George,
WM_CLOSE worked. And that's ok. Any ideas about why an app would choke if I used WM_DESTROY instead of WM_CLOSE. And one more thing. What made you think about using WM_CLOSE instead of WM_DESTROY.
Thanx,
Neil
>>Hi George,
>>That seems so simple however I am having a proplem. I have vfp run the cad cam app. Now at this point the cad cam app is on the desktop as well as vfp is on the desktop. I type in the command window the following:
>>closewindow(is_run32("CadCam",.t.)) && I have included closewindow.prg below
>
>Neil,
>
>Is the above syntax correct? Or are you using
CloseWindow(Is_Run32("CadCam"), .T.)
>
>Since I'm unfamiliar with the application, it's really hard to say what's going on. Does it exhibit the same behavior if you use WM_CLOSE rather than WM_DESTROY?