delphi twebbrowser调用网页后,如何用ie打开网页里头的链接?

1个回答

写回答

muzier

2025-12-18 13:15

+ 关注

ShellExecute 第三个参数改成ie文件名,而后在打开参数那写连接ShellExecute(Application.Handle,'open','Iexplore.exe','http://127.0.0.1',nil,SW_SHOWNORMAL); 就好比你打开某一个程序后面带有一个参数iexplore.exe http://127.0.0.1这样ie 就打开运行参数的连接

举报有用(0分享收藏

Copyright © 2025 IZhiDa.com All Rights Reserved.

知答 版权所有 粤ICP备2023042255号