locked
How could I using C# to open Win8 PCSettings ?

    Question

  • I want to open control panel (C:\Windows\ImmersiveControlPanel\SystemSettings.exe)

    I use follow way to start  this metro-app ,but it doesn't worked.

    Process.Start("C:\Windows\ImmersiveControlPanel\SystemSettings.exe");


    Is any one knows how to open win8 Metro-App by C#.

    Monday, January 12, 2015 8:32 AM

Answers

  • Hi KevinXi,

    Based on my knowledge, you cannot do this. Metro style app work in highly sand boxed environment and there is no way to directly start a system application like control panel. You can use Launcher.LaunchFileAsync or Launcher.LaunchUriAsync to open TXT file or URLs, but not CMD or EXE.

    Regards,


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place. Click HERE to participate the survey.

    Tuesday, January 13, 2015 2:24 AM
    Moderator

All replies

  • Hi KevinXi,

    Based on my knowledge, you cannot do this. Metro style app work in highly sand boxed environment and there is no way to directly start a system application like control panel. You can use Launcher.LaunchFileAsync or Launcher.LaunchUriAsync to open TXT file or URLs, but not CMD or EXE.

    Regards,


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place. Click HERE to participate the survey.

    Tuesday, January 13, 2015 2:24 AM
    Moderator
  • I think U R right .It couldn't open in desktop application .

    At least I have no ideal to solve it. 

    Anyway ,thanks for your answer .Have a nice day . :)

    Friday, January 23, 2015 1:26 AM