vb 判断FindWindow窗口
PrivateSubCommand1_Click()DimhwndAsLonghwnd=FindWindow("360se6_Frame",vbNullString)Se...
Private Sub Command1_Click()
Dim hwnd As Long
hwnd = FindWindow("360se6_Frame", vbNullString)
SetForegroundWindow hwnd
End Sub
判断是否有360se6_Frame窗口如果没有则打开360se 展开
Dim hwnd As Long
hwnd = FindWindow("360se6_Frame", vbNullString)
SetForegroundWindow hwnd
End Sub
判断是否有360se6_Frame窗口如果没有则打开360se 展开
2个回答
2013-07-30
展开全部
Private Sub Command1_Click()
Dim hwnd As Long
hwnd = FindWindow("360se6_Frame", vbNullString)
if hwnd=0 then
SetForegroundWindow hwnd
else
shell "e:/programme files/360se.exe" '360se的地址。
end if
End Sub
Dim hwnd As Long
hwnd = FindWindow("360se6_Frame", vbNullString)
if hwnd=0 then
SetForegroundWindow hwnd
else
shell "e:/programme files/360se.exe" '360se的地址。
end if
End Sub
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询