locked
Is it possible to open a folder in windows explorer from metro app? RRS feed

  • Question

  • Hi!

    In Win8 Start Menu, I can open a folder in windows explorer from [Open file location] button in appbar. Like this: 

    So, in metro app, is there any API to open a folder in windows explorer?


    • Edited by Lattimore Thursday, December 13, 2012 4:11 AM
    Thursday, December 13, 2012 3:38 AM

Answers

  • No, this is not possible.

    --Rob

    • Marked as answer by Lattimore Thursday, December 13, 2012 8:29 AM
    Thursday, December 13, 2012 6:31 AM
    Moderator
  • Not possible, the window style you are asking is not referred to metro style apps, it is a desktop apps style, you should use the type of first image you posted. 

    • Marked as answer by Lattimore Thursday, December 13, 2012 8:29 AM
    Thursday, December 13, 2012 7:07 AM

All replies

  • For this, have you checked FileOpenPicker class ?

    http://msdn.microsoft.com/library/windows/apps/BR207847

    Thursday, December 13, 2012 4:41 AM
  • Hi, 

    FileOpenPicker class is used to open a Metro Style window like this:

    But I want to open a folder in windows explorer like this:

    Is there any suggestion?

    Thursday, December 13, 2012 5:55 AM
  • No, this is not possible.

    --Rob

    • Marked as answer by Lattimore Thursday, December 13, 2012 8:29 AM
    Thursday, December 13, 2012 6:31 AM
    Moderator
  • Not possible, the window style you are asking is not referred to metro style apps, it is a desktop apps style, you should use the type of first image you posted. 

    • Marked as answer by Lattimore Thursday, December 13, 2012 8:29 AM
    Thursday, December 13, 2012 7:07 AM
  • Thanks.
    Thursday, December 13, 2012 8:29 AM