如何让VFP程序打开图片文件?
先通过程序选定了一个图片文件“图片.jpg”,然后如何打开它(启动看图王等看图程序,并在其中打开“图片.jpg”)?谢谢指教!
2013-02-21 22:28
2013-02-21 23:07
2013-02-22 09:12
2013-02-22 10:08
2013-02-22 10:58
程序代码:Declare Integer ShellExecute In shell32.dll Integer,String,String,String,String,Integer
Declare Integer GetDesktopWindow In Win32api
lcFile = Getfile("jpg")
If Empty(lcFile)
Return
Endif
lnWnd = GetDesktopWindow()
=Shellexecute(lnWnd,"open",lcFile,"","C:\",0)
Clear dlls用默认软件打开jpg文件

2013-02-22 11:04
2013-02-22 11:15

2013-02-22 12:52

2013-02-22 16:59

2013-02-22 17:02