Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Developing U++ » UppHub » [Controls4U] IE shows script errors
[Controls4U] IE shows script errors [message #41236] Sun, 17 November 2013 20:37 Go to previous message
Zbych is currently offline  Zbych
Messages: 325
Registered: July 2009
Senior Member
Hi,

By default IE widget shows all error messages (java script errors etc.):

http://www.indusoft.com/blog/wp-content/uploads/2013/04/MSWebBrowserScreenOpenFig1.jpg

We can simply make IE quiet using put_Silent function. Koldo, can you add it to IE widget?

bool InternetExplorerBrowser::Silent(bool s)
{
	IIWebBrowser webBrowser(this);
	if (!webBrowser) 
		return false;
	
	VARIANT_BOOL vb = s ? VARIANT_TRUE : VARIANT_FALSE;
	
	if (webBrowser->put_Silent(vb) == S_OK) return true;
	return false;
}


I guess it should be turned on by default.

 
Read Message
Read Message
Read Message
Previous Topic: Ole Automation [FEATURE REQUEST?]
Next Topic: BarCode128: string to image (Candidate for upload to Bazaar)
Goto Forum:
  


Current Time: Fri Mar 29 06:40:50 CET 2024

Total time taken to generate the page: 0.01207 seconds