赣榆民政局电话:VB中,如何点击一个按钮后,弹出一个网页?
来源:百度文库 编辑:查人人中国名人网 时间:2024/05/04 19:28:51
例如我要弹出 App.path & "\abc.htm" ,请问该如何写?
用API:
Private Declare Function ShellExecute Lib "shell32.dll" Alias "ShellExecuteA" (ByVal hwnd As Long, ByVal lpOperation As String, ByVal lpFile As String, ByVal lpParameters As String, ByVal lpDirectory As String, ByVal nShowCmd As Long) As Long
ShellExecute Me.hwnd, "open", App.path & "\abc.htm", "", "", 5