RELATEED CONSULTING
相关咨询
选择下列产品马上在线沟通
服务时间:9:30-18:00
你可能遇到了下面的问题
关闭右侧工具栏
如何调用IE菜单”工具”中的internet选项
  • 作者:xiaoxiao
  • 发表时间:2020-12-23 10:35
  • 来源:未知

Option Explicit

 

Private Declare Function LaunchInternetControlPanel Lib "inetcpl.cpl" (ByVal hwndParent As Long) As Long

Private Declare Function LaunchConnectionDialog Lib "inetcpl.cpl" (ByVal hwndParent As Long) As Long

'调用ie-工具-internet选项对话框

Private Sub Command1_Click()

    Dim rc As Long

    rc = LaunchInternetControlPanel(Me.hWnd)

    If rc = 0 Then

        MsgBox "LaunchInternetControlPanel failed!", vbExclamation

    End If

End Sub

'调用ie-工具-internet选项对话框中的连接

Private Sub Command2_Click()

    Dim rc As Long