1 16cy Unregistered / Unconfirmed GUEST, unregistred user! 2006-08-15 #1 winexec(form2.Edit2.text,SW_SHOWNORMAL);竟然报错,说是类型错误<br>但是写成:<br>winexec('c:/eee/eeee/e.exe',SW_SHOWNORMAL);<br>就是正确的!<br><br>想请问一下,如果我要用form2.edit2.text的内容作文件名要如何处理?
winexec(form2.Edit2.text,SW_SHOWNORMAL);竟然报错,说是类型错误<br>但是写成:<br>winexec('c:/eee/eeee/e.exe',SW_SHOWNORMAL);<br>就是正确的!<br><br>想请问一下,如果我要用form2.edit2.text的内容作文件名要如何处理?
A antonytyler Unregistered / Unconfirmed GUEST, unregistred user! 2006-08-16 #2 winexec(PAnsiChar(edt_1.text),SW_SHOWNORMAL);