Thursday 8 November 2012

Hide and Run process in silverlight

//how to hide the control in sliverlight

       textobox1.Visibility = Visibility.Collapsed;


//start the any  process

    dynamic cmd = AutomationFactory.CreateObject("WScript.Shell");
               cmd.Run("calc.exe", 1, true);


/start the any  process seocnd way


dynamic excel = ComAutomationFactory.CreateObject("Excel.Application"); 




No comments:

Post a Comment