VB 程序设计

10个成员

显示频道

发表于 2016-12-26 3761 次查看
'说明:表单一个;命令按钮一个为CmdShowChannel

Option Explicit

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

Private Sub CmdShowChannel_Click()

Dim retVal As Long

retVal = ShellExecute(Me.hwnd, "Open", "查看频道.scf", "", "", 1)

End Sub

 

发表回复
你还没有登录,请先登录注册