以下是引用sdta在2013-3-11 09:28:57的发言:
DECLARE INTEGER ShellExecute IN "Shell32.dll" ;
INTEGER hwnd, ;
STRING lpVerb, ;
STRING lpFile, ;
STRING lpParameters, ;
STRING lpDirectory, ;
LONG nShowCmd
=Shellexecute(0,"Open","d:\36x7\ttt.xls","","",0)
=Shellexecute(0,"Open","d:\36x7\ttt.xls","","",1)
我原来的程序是用delphi+dbf 写的 DECLARE INTEGER ShellExecute IN "Shell32.dll" ;
INTEGER hwnd, ;
STRING lpVerb, ;
STRING lpFile, ;
STRING lpParameters, ;
STRING lpDirectory, ;
LONG nShowCmd
=Shellexecute(0,"Open","d:\36x7\ttt.xls","","",0)
=Shellexecute(0,"Open","d:\36x7\ttt.xls","","",1)
由于过去好几年了 所以现在修改起来 很困难 就不改了
手工修改或者查询一下dbf 把这点收尾工作弄完 得了
我现在才发现 用d7 写dbf 还是不如用vf写dbf 的好
DO IT YOURSELF !