level 1
愿世界和平🌙🌙
楼主
在网上看到两种方法方法一和二如下图,方法一的优点是可以配置调出的浏览器属性,缺点是当前如果有窗口,调出的浏览器窗口会最小化在任务栏里,方法二优点是调出的浏览器始终是弹出的,所以会在最前面,缺点是不知道如何像方法一一样配置浏览器的属性请问有没有大神知道如何让浏览器打开后始终处于最前窗口,同时又可以调整浏览器参数[表情][图片]
方法一
Dim ie
Set ie = CreateObject("InternetExplorer.Application")
ie.Navigate"http://www.baidu.com"
ie.Toolbar=0
ie.StatusBar=0
ie.Height=500
ie.Width=1000
ie.Top=300
ie.Left=400
ie.Resizable=0
ie.Visible=1
方法二
strURL="www.163.com"
Set shell = createobject("wscript.shell")
shell.run"cmd /c start " & strURL,0
2022年07月10日 01点07分
1
方法一
Dim ie
Set ie = CreateObject("InternetExplorer.Application")
ie.Navigate"http://www.baidu.com"
ie.Toolbar=0
ie.StatusBar=0
ie.Height=500
ie.Width=1000
ie.Top=300
ie.Left=400
ie.Resizable=0
ie.Visible=1
方法二
strURL="www.163.com"
Set shell = createobject("wscript.shell")
shell.run"cmd /c start " & strURL,0