使用命令 打开文件
在VFP中如何使用系统默认的软件打开一个指定的文件相当于找到这个文件,双击打开
比如打开 D:\test.xls
Declare Integer ShellExecute In shell32.dll Integer,String,String,String,String,Integer Declare Integer GetDesktopWindow In Win32api *lcFile = "D:\Fc.ico" lcFile = "D:\a1.xls" lnWnd = GetDesktopWindow() =Shellexecute(lnWnd,"open",lcFile,"","D:\",1) Clear dlls