AutoCAD 3DMAX C语言 Pro/E UG JAVA编程 PHP编程 Maya动画 Matlab应用 Android
Photoshop Word Excel flash VB编程 VC编程 Coreldraw SolidWorks A Designer Unity3D
 首页 > VB编程

显示频道

51自学网 http://www.wanshiok.com
'说明:表单一个;命令按钮一个为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

 

 

 
上一篇:解决Visual Basic非正常退出一例  下一篇:Shell & Wait 的程序怎么写?