i'm having trouble with OnQuit
here's my code (simple): (add a ref to ms internet controls)

Code:
Dim ie As New InternetExplorer


ie.Navigate "www.vb-world.net"
ie.Visible = True
here is the problem. i want to set the focus on my form (form1) when the user closes the new internet explorer window. i think i need to use OnQuit, but i dont know how.
i'm kind of new at vb and any help is appreciated.
thanks in advance.

[Edited by HAVocINCARNATE29 on 08-10-2000 at 03:19 PM]