E eagledark001 Unregistered / Unconfirmed GUEST, unregistred user! 2005-06-08 #1 如何实现BUTTON按钮的ONCLICK事件点一下就可以打开IE窗口???
E eagledark001 Unregistered / Unconfirmed GUEST, unregistred user! 2005-06-08 #2 如何实现BUTTON按钮的ONCLICK事件点一下就可以打开IE窗口???
N newsmile Unregistered / Unconfirmed GUEST, unregistred user! 2005-06-08 #3 外部调用IE WinExec('IE的路径及文件名',SW_Normal)
X xianguo Unregistered / Unconfirmed GUEST, unregistred user! 2005-06-08 #4 procedure TForm1.Button2Click(Sender: TObject); begin WinExec('"C:/Program Files/Internet Explorer/IEXPLORE.EXE"', 5); end;
procedure TForm1.Button2Click(Sender: TObject); begin WinExec('"C:/Program Files/Internet Explorer/IEXPLORE.EXE"', 5); end;
J jxel Unregistered / Unconfirmed GUEST, unregistred user! 2005-06-08 #5 Delphi帮助里的例子: ShellExecute(handle, "explore", path_to_folder, NULL, NULL, SW_SHOWNORMAL);
A aricyoung Unregistered / Unconfirmed GUEST, unregistred user! 2005-06-08 #6 如果仅仅打开ie就用上面两位的意见。如果直接打开某一个网址可用: ShellExecute(Handle,'Open','http://www.163.com',NIL,NIL,SW_SHOW);
F flyjimi Unregistered / Unconfirmed GUEST, unregistred user! 2005-06-08 #7 ShellExecute(handle, "iexplore",null, NULL, NULL, SW_SHOWNORMAL); WinExec('"IEXPLORE"', 5); Iexplore是Window注册过的文件,不需要指定路径
ShellExecute(handle, "iexplore",null, NULL, NULL, SW_SHOWNORMAL); WinExec('"IEXPLORE"', 5); Iexplore是Window注册过的文件,不需要指定路径