css 图片超过高度隐藏:如何编写才能使vb程序中打开其他的程序及文件

来源:百度文库 编辑:高校问答 时间:2024/10/03 15:53:16
教教我

用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", "C:\Hello.jpg", "", "", 5