(X) Hide this SilverlightShow next training events: Secure & Personalize Your Silverlight App with WCF RIA Services. May 25th, 10 am PST. Sign up
XNA for Windows Phone 7 - a 3 day training by MCC Peter Kuhn. June 1-3, 9 am - 1.30 pm PST. Sign up early-bird for $199.
Skip Navigation LinksHome / News / View News

Silverlight 4 and Command Line Execution

+ Add to SilverlightShow Favorites
0 comments   /   posted by Silverlight Show on Nov 25, 2009
(0 votes)

 In this screencast Michael Wolf shows how to simply execute any command from Silverlight.

In my last post on out of browser we showed how easy and powerful it is , all be it a bit of a step back in the development time machine, to execute native windows applications using the new com support in silverlight 4. The next logical question arises, that if you can execute com can you also execute a local process. The answer is yes and no. You can execute a local process, not using System.Diagnostics.Process.Start() like you would in the full CLR, but using the COM inerop and the Windows Script Host . The Windows Script Host is a multi purpose COM object that’s shipped with Windows since Win 98, and generally used for automation tasks, which makes it perfect for use in silverlight com inerop. 

Share


Comments

Comments RSS RSS
No comments

Add Comment

 
 

   
  
  
   
Please add 5 and 4 and type the answer here: