启动Outlook 2010时打开Internet Explorer窗口。
Outlook完成启动后,打开的IE浏览器会被推到后面。
Private Sub Application_Startup()
OpenIE
End Sub
Sub OpenIE()
Dim ie As Object
Set ie = CreateObject("Internetexplorer.Application")
'If (ie) Then
ie.Visible = True
ie.Navigate "http://www.google.com"
AppActivate ie
'End If
End Sub
是否有可能让IE浏览器保持在前面,直到用户手动关闭它?
换句话说,我可以打开一个行为类似"模态对话框的IE浏览器"?
我的想法是打开一个表单,而不是(或容器)并将IE浏览器嵌入到表单中。
我是一名网络开发人员,没有宏观开发经验。