views:

42

answers:

3

I saw this Silverlight application that works inside the browser but if you clicked Install it will be downloaded on your machine and runs as Desktop Application how this can be done !! http://os75.com/apps/Translator.html

+1  A: 

It can be done because ever Silverlight app that can be installed is Sandboxed

lukas
Can you give me a tutorial or something smiler of how to make this
Sam
+1  A: 

That is now a feature in Silverlight 4. Quote:

The .NET Common Runtime (CLR) now enables the same compiled code to be run on the desktop and Silverlight without change.

To get it working you'll need Visual Studio 2010 and the Silverlight 4 SDK. Then, when you create a new project you open settings from the Solution Explorer and check the "Enable running application out of browser" check box on the Silverlight tab. There are a few extra settings for icons and such available in a separate dialog launch-able from a button right under the check box.

Paul Sasik
If you have a tutorial on how to make that please provide me with it
Sam
See my addition to my answer above. You don't really need a tutorial. It's just a matter of enabling the feature in project properties.
Paul Sasik
If you like my answer you can also give it an upvote! ;-)
Paul Sasik
A: 

Out-of-Browser Support: http://msdn.microsoft.com/en-US/library/dd550721%28VS.95%29.aspx

Chris