C crpp7001 Unregistered / Unconfirmed GUEST, unregistred user! 2002-08-06 #1 在button的click事件中调用 htm文件,(也是点击button后,弹出htm文件)
C chemer Unregistered / Unconfirmed GUEST, unregistred user! 2002-08-06 #2 ShellExecute(handle,nil,pchar('你的URL'),nil,nil,sw_shownormal);
C chemer Unregistered / Unconfirmed GUEST, unregistred user! 2002-08-06 #3 ShellExecute(handle,nil,pchar('test.htm'),nil,nil,sw_shownormal);
D desertsmoke Unregistered / Unconfirmed GUEST, unregistred user! 2002-08-06 #4 uses shellapi; ShellExecute(handle,'','d:/extract.html','','',sw_shownormal);
C crpp7001 Unregistered / Unconfirmed GUEST, unregistred user! 2002-08-06 #5 我要连接的是本地的一个帮助文件,如果程打包是路径改变时,请问又如何连接 不能固定路径如:'d:/extract.html'
Y ysai Unregistered / Unconfirmed GUEST, unregistred user! 2002-08-06 #6 可从Application.ExeName中提取应用程序的路径,再加上相对路径
D desertsmoke Unregistered / Unconfirmed GUEST, unregistred user! 2002-08-06 #7 可执行文件所在的路径:extractfilepath(application.exename) 如:c:/program files/你的文件夹/ 其余。。。
哈 哈利波特 Unregistered / Unconfirmed GUEST, unregistred user! 2002-08-06 #9 同意楼上各位大侠的做法! uses shellapi; ShellExecute(handle,'','d:/extract.html','','',sw_shownormal);
S stiwin Unregistered / Unconfirmed GUEST, unregistred user! 2002-08-06 #10 uses ShellApi; ShellExecute(handle,'','c:/readme.htm','','',sw_shownormal);
C crpp7001 Unregistered / Unconfirmed GUEST, unregistred user! 2002-08-07 #11 procedure TForm1.Button1Click(Sender: TObject); begin ShellExecute(handle,'','d:/g.html','','',sw_shownormal); end; 运行没错,只是不能显示g.html的内容 给个例子
procedure TForm1.Button1Click(Sender: TObject); begin ShellExecute(handle,'','d:/g.html','','',sw_shownormal); end; 运行没错,只是不能显示g.html的内容 给个例子