[AccessD] How to Close ActiveX Control called "Microsoft Web Browser"

Jim Dettman jimdettman at verizon.net
Tue Oct 26 15:15:28 CDT 2010


 BTW, all the docs are here:

http://msdn.microsoft.com/en-us/library/aa752043(v=VS.85).aspx

Jim. 

-----Original Message-----
From: accessd-bounces at databaseadvisors.com
[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Brad Marks
Sent: Tuesday, October 26, 2010 3:33 PM
To: Access Developers discussion and problem solving
Subject: [AccessD] How to Close ActiveX Control called "Microsoft Web
Browser"

We have just started to experiment with an ActiveX Control called
"Microsoft Web Browser" to initiate 
Internet Explorer from an Access Form.

We can fire up IE with the following VBA command.

Me.WebBrowser0.Navigate "www.cnn.com" 


This works nicely.

Now we would like to have a button with a little VBA code to close this
Control.
How is this done?

We have not been able to locate very much info about this Control.

Thanks for your help.
Brad

-- 
AccessD mailing list
AccessD at databaseadvisors.com
http://databaseadvisors.com/mailman/listinfo/accessd
Website: http://www.databaseadvisors.com




More information about the AccessD mailing list