[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

How to keep the WebBrowser control from using resources (Dispose method for VB?)

Posted on 2008-10-01
1
Medium Priority
?
999 Views
Last Modified: 2013-11-27
Dear Experts,

I use a webbrowser control in many VB and Access applications and they always use an awful lot of resources. I've recently learned of a Dispose method that can effectively shut the webbrowser up (so to speak). But I don't know the right syntax to use it in VB/VBA (if it can be used there at all).

So my question is two-fold:
- How to use the Dispose method in VB/VBA
- How to stop the webbrowser control from using all my resources

Thanks!
Keimpe Wiersma
0
Comment
Question by:keimpe
1 Comment
 
LVL 1

Accepted Solution

by:
keimpe earned 0 total points
ID: 22617368
Got it!

As usual, I found the solution within five minutes of posting my question... So remind me to post more questions ;-)

The trick is to put a Webbrowser1.Stop

In the Webbrowser1_DownloadComplete event.
0

Featured Post

Veeam Disaster Recovery in Microsoft Azure

Veeam PN for Microsoft Azure is a FREE solution designed to simplify and automate the setup of a DR site in Microsoft Azure using lightweight software-defined networking. It reduces the complexity of VPN deployments and is designed for businesses of ALL sizes.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article describes a method of delivering Word templates for use in merging Access data to Word documents, that requires no computer knowledge on the part of the recipient -- the templates are saved in table fields, and are extracted and install…
Microsoft Access is a place to store data within tables and represent this stored data using multiple database objects such as in form of macros, forms, reports, etc. After a MS Access database is created there is need to improve the performance and…
Using Microsoft Access, learn some simple rules for how to construct tables in a relational database. Split up all multi-value fields into single values: Split up fields that belong to other things into separate tables: Make sure that all record…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…
Suggested Courses

831 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question