Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Closing another app (iexplorer)

Status
Not open for further replies.

dhboston

Technical User
Oct 23, 2001
10
US
I have used access to open internet explorer in a frame... how can i use access to close the internet explorer? thanks
 
I have used access to open internet explorer in a frame
How did you that ?

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ181-2886
 
Frame was probably a bad term... i opened ie from a form and set the size to appear to the user that it is appearing within the application. I send certain keys to the ie and it will provide a response to the user. I wanted to be able to close ie when they click another button to initiate another request...thanks
 
i opened ie from a form
Again, how you did that ?

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ181-2886
 
Here is my code for an event:


Dim ie As New InternetExplorer
ie.Height = 150
ie.Width = 150
ie.Left = 150
ie.Top = 150

ie.Navigate "
Do Until ie.ReadyState = READYSTATE_COMPLETE
DoEvents
Loop

ie.Visible = True

Set ie = Nothing
 
Make your ie object global, don't set it to Nothing at the end of your event procedure but in the another button Click event after a call to ie.Quit

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ181-2886
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top