您的位置:首页 > 编程语言 > Delphi

用Delphi怎么调用IE菜单中的internet选项

2015-11-07 15:05 417 查看
我们可以使用ShellExecute来调用IE的internet选项。
首先,新建一表单,添加一个Button;然后uses添加ShellAPI。
代码如下:
procedure TForm1.Button1Click(Sender: TObject);
begin
ShellExecute(Handle, 'open', 'control.exe', 'INETCPL.CPL', Nil, SW_SHOWNORMAL);
end;
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: