>If the program you are trying to execute is a Win32 executable then you could use the Win32 API call "WinExec":
>
>UINT WinExec(
> LPCSTR lpCmdLine, // address of command line
> UINT uCmdShow // window style for new application
>);
>
>In VFP you could try something like this:
>
>DECLARE INTEGER WinExec IN win32api STRING, INT
>
>.
>.
>.
>
>WinExec("c:\myfile.exe")
>
>Their are other alternatives though and I am unclear wether or not the application is a DOS app?
It's a dos program ,but I will have a try ,thanx
I'm a beginner of Visual Foxpro 5.0 ,thanx for help ^^