打开浏览器并刷新 [英] Open browser and refresh

查看:117
本文介绍了打开浏览器并刷新的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

除了shellexecute以外,还有其他方法可以打开默认浏览器并刷新已经打开的实例吗?

Is there any way other than shellexecute to open default browser and refresh the same instance that is already opened ?

推荐答案

尝试一下...

Try this...

Set NewBrowser = CreateObject("InternetExplorer.Application")
NewBrowser.Visible = True
NewBrowser.Navigate URL:="http://codeproject.com"
NewBrowser.Top = 50
NewBrowser.Left = 100
NewBrowser.StatusBar = True
NewBrowser.GoSearch
NewBrowser.GoHome
NewBrowser.Refresh
NewBrowser.Quit



这将打开浏览器(在本例中为IE),打开页面(codeproject),然后刷新



That will open the browser (in this case IE), opena page (codeproject) and then refresh


这篇关于打开浏览器并刷新的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆