买家差评怎么改好评:怎样在VB中做2次文字连接网页?

来源:百度文库 编辑:高考问答 时间:2024/05/05 07:59:00
先在窗体中加入label,写上你要写的字,然后在源代码窗口输入
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 Label1_Click()
ShellExecute Me.hwnd, "open", "http://www.baidu.com", vbNull, "c:", vbNull
End Sub
这只是一次连接,如果我再同一程序上再写几个字
连接网页,即会起冲突。
怎么才能解决,又可以连接2个网页呢?