Private Declare Function FindWindow Lib "user32" Alias "FindWindowA" (ByVal lpClassName As String, ByVal lpWindowName As String) As Long
Private Declare Function GetWindowThreadProcessId Lib "user32" (ByVal hwnd As Long, lpdwProcessId As Long) As LongPrivate Sub Form_Load()
WebBrowser1.Navigate "http:\\192.168.1.1"
End SubPrivate Sub Timer1_Timer()
Dim Url As String
Dim hwnd As Long
Url = FindWindow(vbNullString, Url)
Text1.Text = Url
[code=VB][\code]为什么text1的结果为数字。而不是字符串那?如何得到字符串的结果那?
Private Declare Function GetWindowThreadProcessId Lib "user32" (ByVal hwnd As Long, lpdwProcessId As Long) As LongPrivate Sub Form_Load()
WebBrowser1.Navigate "http:\\192.168.1.1"
End SubPrivate Sub Timer1_Timer()
Dim Url As String
Dim hwnd As Long
Url = FindWindow(vbNullString, Url)
Text1.Text = Url
[code=VB][\code]为什么text1的结果为数字。而不是字符串那?如何得到字符串的结果那?
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货