|
-
Feb 22nd, 2001, 10:39 AM
#1
Thread Starter
Member
Hi, I'm trying to find a application call "browser" and close it after. But when I call the function findwindow, it doesn't work. Can you please help me...here's my code
'Declare in the general part of the project
Private Declare Function FindWindow Lib "user32" (ByVal lpClassName As String, ByVal lpWindowName As String) As Long
Private Sub cmdGo_Click()
MsgBox FindWindow(vbNullString, "browser")
'But the msgbox is not done....why???
End sub
THankz in advance
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|