|
-
Aug 11th, 2000, 03:36 AM
#1
Thread Starter
Evil Genius
Hi everyone...
I have the following:
'API call to Findwindow up here
Private Sub Command1_Click()
Dim hwnd As Long ' Receives IE window handle
Dim retval As Long ' Return value
Dim MyAppID As String ' Text variable for opening IE
MyAppID = Shell("C:\path_2_IE_here\IEXPLORE.EXE")
Do while hwnd <> 0 Then
MsgBox "Hello!"
Exit Do
Loop
End Sub
(Haven't worked out how you guys write in colour on this site yet).
NO 1 - How can I specify in above a site to goto (i.e.- http://www.vbworld.com)?
NO 2 - Above is a dummy based on what I need to do. I am trying to do a loop so that the msgbox code executes AFTER IE has opened, but with no luck!
Can anyone help me please? thank you!
Alex Read
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
|