Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 473
  • Last Modified:

Clear an IHTMLDocument2

Hi,
Is there are way to clear an IHTMLDocument2 so that it becomes blank again?
0
fidel83
Asked:
fidel83
1 Solution
 
LRHGuyCommented:
Try:

eWebBrowser.Navigate('About:blank');
0
 
MrJulCommented:
Simply two lines :

IHTMLDocument2.write(nil);
IHTMLDocument2.close();
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now