Search Results

Search found 2 results on 1 pages for 'whiskas'.

Page 1/1 | 1 

  • Script Errors in Silverlight WebBrowser Control

    - by Whiskas
    Hi, I am showing a HTML page with a Flash video player on it in a Silverlight app using the WebBrowser control. The site itself is displayed perfectly and everything works just fine. But when I want to close the player component, I somehow need to completely dispose the current HTML page with the flash player. I tried navigating to about:blank, or even to other pages like google.com before the player component is hidden. But the flash video keeps on playing and the WebBrowser shows several Script Errors, which must be clicked in order to really leave the flash page. Is there any way to instantly "clear" the WebBrowser control or to surpress the Script Errors so that it leaves the html/flash page? In WPF there seem to be some methods for that, but I couldnt find any on the Silverlight WebBrowser control. Any hints are appreciated, Whiskas

    Read the article

  • Java: Finding objects in collections.

    - by Jake
    This problem occurs over and over. I have some complicated object, such as a Cat, which has many properties, such as age, favorite cat food, and so forth. A bunch of Cats are stored in a Java Collection, and I need to find all the Cats that are aged 3, or those whose favorite cat food is Whiskas. Surely, I can write a custom method that finds those Cats with a specific property, but this gets cumbersome with many properties; is there some generic way of doing this?

    Read the article

1