Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Clearing WebBrowser

Posted on 2006-10-27
2
Medium Priority
?
238 Views
Last Modified: 2010-04-16
Hi,
How do I clear the content of the webbrowser in a windows application form? I use it to display excel report in my windows application form and I have assigned a button to clear the content of the webbrowser.
Regards,
Erdem
0
Comment
Question by:operatortobe
2 Comments
 
LVL 13

Accepted Solution

by:
joechina earned 500 total points
ID: 17819268
Have you tried ?

yourbrowsercontrol.DocumentText = "";
0
 

Author Comment

by:operatortobe
ID: 17819398
Thanks a lot :)
0

Featured Post

[Webinar] Cloud and Mobile-First Strategy

Maybe you’ve fully adopted the cloud since the beginning. Or maybe you started with on-prem resources but are pursuing a “cloud and mobile first” strategy. Getting to that end state has its challenges. Discover how to build out a 100% cloud and mobile IT strategy in this webinar.

Question has a verified solution.

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

This article describes a simple method to resize a control at runtime.  It includes ready-to-use source code and a complete sample demonstration application.  We'll also talk about C# Extension Methods. Introduction In one of my applications…
Performance in games development is paramount: every microsecond counts to be able to do everything in less than 33ms (aiming at 16ms). C# foreach statement is one of the worst performance killers, and here I explain why.
This lesson discusses how to use a Mainform + Subforms in Microsoft Access to find and enter data for payments on orders. The sample data comes from a custom shop that builds and sells movable storage structures that are delivered to your property. …
Loops Section Overview
Suggested Courses
Course of the Month13 days, 1 hour left to enroll

971 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