Out of Browser in Silverlight2 - silverlight

How can I build a Stand Alone Application with Silverlight 2.
1.I know that Silverlight 3 has the Out of Browser Functionality to build such Applications. But it is in beta and I cannot wait for it.
2. I also had a look at
Desklighter(http://www.blendables.com/labs/Desklighter/Default.aspx) which helps to build a executable from a xap file. But it needs .Net Framework to run, which beats the purpose.

just build a winform app and host iexplore ocx ,
point the ocx to an html page that contains the silverlight app.
there is a dotnet example on tamir khasons blog http://khason.net/blog/stand-alone-multiplatform-silverlight-application/
but it can be achived in any language

well! if you want to go for that particular purpose i agree with daniel's solution..
now regarding #James, yep it will defeat the purpose instead try developing the host in c++ then...

Related

Create a .dll from a Silverlight Web Application

I programmed a Virtual Keyboard (On Screen Keyboard) as a Silverlight Web Application, now I want to use this Keyboard in an other Silverlight Application (call the Keyboard when clicking a Textbox). I thought I could create a .dll and use this in my other Application.
So is it possible to create a .dll File from a Silverlight Web Application?
Thank you for reading,
Knut Hansen
You simply need to convert it into a Silverlight Class Library. There are some things to look out for, but it isn't too hard.
It is one of the options when you create a new project in Visual Studio.
See Microsoft's documentation for more info:
http://msdn.microsoft.com/en-us/library/cc838164(v=vs.95).aspx#silverlight_class_library_project
also you can think of a web service, in this way your application can be used by anyone else, of course you can specify users of your app. I think web services are more recent and using them is more future-oriented, give it a go!

is "System.Windows.Browser" not supported in xbox lakeview adk?

I'm trying to port my existing silverlight project to xbox Lakeview.
I got a compilation error saying "System.Windows.Browser" is not supported in ADK
and in Microsoft.Xbox360.Adk.targets "System.Windows.Browser.dll" is listed as the
unsupported assemblies.
I'm using APIs such as "System.Windows.Browser.HtmlPage" and
"System.Windows.Browser.HttpUtility". How can I work around it?
I'm not sure if you've gotten this figured out or not, but my version of the ADK I don't believe supports this namespace. If you would like to send me yours, I'd be more than happy to lend a hand in figuring out what's causing this issue.
LakeView is a profile of the .NET framework that is in accordance with Silverlight, but is not the same as the SL Runtime.
For instance, there is no "Browser" when running a LakeView app on your devkit.
You have a special bootstrapped container in one process that your Title will be contained within, which makes it more like a full-fledged application running in a portable OS than a Silverlight application.
What are you trying to achieve with your interaction with the HTMLPage?
Can you redirect your HttpUtility usage to the System.Net.WebUtility?

Deploying exe files along with a Silverlight application

We have a WPF application that we want to convert to Silverlight. I understand there are going to challenges in converting the application. We are willing to embrace those challenges as long as it is possible for us to accomplish the end goal.
Our WPF application launches some exe (non-WPF) files. So the question is, can we deploy those files with our Silverlight application? If so, can we still run the application from a browser?
I don't think you can run exe on client machine from silverlight so there is no point of embedding them into xap.
Maybe you can think about multi-targeting your code so you will have one code-base for wpf and silverlight.
Take a look at this article.

Is it possible in Silverlight to stream a live video screencast of the desktop?

I would like to develop a web conferencing system (or web classroom) as a graduation project using Silverlight similar to
iVocalize
which is a java applete .
I don't know if what is possible for a java applete to perform on the PC is also possible for Silverlight, or is SL more restricted.
There are two functionalities (which are related i guess) that iVocalize provides which i would also like to include in my SL application, which are:
A participant may broadcast a live video stream of the desktop to other participants so that they will be able to follow all activities performed on the computer.
A participant may take a snapshot of the desktop
If the previous functionalities are not possible in SL than do you think that WPF may be used instead?
Thank you vey much.
Actually, you can use Silverlight 4 Web cam features.
With Silverlight 4, you can develop full-trust Silverlight application that can capture the snapshot of user desktop.
Using Silverlight it is possible.. Have a look at this open source silverlight project. Its has desktop sharing as one of the module
http://silverlightvideochat.codeplex.com/

Is Silverlight on Windows CE R3 not in sandbox?

Silverlight on Windows CE 6 r3 is different I know, it's Silverlight 2 with a native C++ backend. But is this backend locked down in any way?
Can I access the local file system etc?
I'm currently building a proof-of-concept for a client, and I don't want to show them this lovely UI if I can't deliver on the functionality in the future.
I assume it is 'full trust' and has no restrictions?
Someone let me know as soon as possible please :)
Cheers,
Ash.
First - you can access the local file system from your Embedded Silverlight 2 application.
You can read the following blog post to see how to set a Silverlight application - link.
The blog has a couple of more posts that go through a basic Silverlight application.
By going through the code you will notice that in the C++ code you can do whatever you like. You can link your application against any native Dll and call whatever API you want.

Resources