locked
Open and Read a file somewhere in the PC (not in the current repertory)

    Question

  • Hello

    I would like to open and read (and write later) a file which is somewhere in the PC.

    I'm using VB and Visual Studio 2013. And I'm developping a Windows Store app.

    Thanks you.

    Friday, April 4, 2014 7:39 AM

Answers

  • You can get a reference to any file on the machine using the FilePicker. Otherwise, you can only use files in well-known folders if you request permission for those location.

    Matt Small - Microsoft Escalation Engineer - Forum Moderator
    If my reply answers your question, please mark this post as answered.

    NOTE: If I ask for code, please provide something that I can drop directly into a project and run (including XAML), or an actual application project. I'm trying to help a lot of people, so I don't have time to figure out weird snippets with undefined objects and unknown namespaces.

    Friday, April 4, 2014 12:36 PM
    Moderator