|
-
Apr 30th, 2000, 03:59 PM
#1
Thread Starter
Junior Member
hello again.
Currently referencing Internet explorer in an application, and I like it so that when ever I clicked the button to exit my program, (i.e unload the form) I would like any IE windows that have been opened through the application to also close down. I've tried using
set ie = nothing
But to no effect.
Any ideas
Cheers
-
Apr 30th, 2000, 06:28 PM
#2
Conquistador
This is what I came up with
Code:
'add a reference to Microsoft Internet Controls
Dim myIE As New InternetExplorer 'Declare myIE as InternetExplorer
Private Sub cmdLoad_Click()
myIE.Visible = True
myIE.Navigate "http://www.hotmail.com"
'load myie
'then navigate to hotmail
End Sub
Private Sub cmdQuit_Click()
myIE.Quit
'what ur looking for: quit ie
End Sub
tell me how it goes ok 
-
Apr 30th, 2000, 06:38 PM
#3
Thread Starter
Junior Member
many thanks
many thank yous,
That worked like a dream.
Thanks
-
Apr 30th, 2000, 06:53 PM
#4
Conquistador
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
|