蜉 蜉蝣小生 Unregistered / Unconfirmed GUEST, unregistred user! 2006-06-19 #1 怎么用DELPHI打开photoshop程序,在用photoshop打开一个文件?
C cdj000 Unregistered / Unconfirmed GUEST, unregistred user! 2006-06-19 #2 uses ShellApi; ShellExecute(Handle, 'open', PChar('XXXXX'), nil, nil, SW_SHOW);
J jenhon Unregistered / Unconfirmed GUEST, unregistred user! 2006-06-20 #3 winexec(pchar(photoshop_path+'photoshop.exe'+' '+pic_path+pic_filename),sw_normal); photoshop_path:photoshop的执行文件的目录,(可以读注册表得到吧); pic_path:要打开的相片的目录; pic_filename:要打开的相片的文件名;(慢慢赋值)
winexec(pchar(photoshop_path+'photoshop.exe'+' '+pic_path+pic_filename),sw_normal); photoshop_path:photoshop的执行文件的目录,(可以读注册表得到吧); pic_path:要打开的相片的目录; pic_filename:要打开的相片的文件名;(慢慢赋值)