>Having created a VFP5 EXE file from a project, I want to be ale to call it from other VFP apps and wait until it's completed processing before continuin with the calling app.
>
>I can use the GetWindow API functions to check whether an app of a givne name is running; problem is, the EXE runs with the name "Microsoft Visual Foxpro". How do I change the name of my EXE to be something more unique and descriptive? The EXE itself is called PURGEAPP.EXE, so it's not getting the name from there.
Changing _screen.caption should change the default name.
If you launch the application using the Win32 API call CreateProcess(), it returns a process handle that is a 100% effective method of monitoring the application. Look in the FAQ under Win32 and Other APIs for my entry on LaunchAppAndWait.
>
>Thanks in advance...
>
>-- jas