locked
Open file special extension into my windows app

    Question

  • Hi all!

    This is my first question so be gentle :)

    I've got this situation, i need to open a special file type, it has my extension and i develop the dll to unzip it. But this isn't the problem.

    When the user downloads my file and click on it I want my Windows app starts and unzip the file to save it inside my app. So, in the end, i need to associate the file with my app, i searched in internet ( suppose googled isn't the right word :D) and the only way to do it is to create the key in the registry, but it can't be done with a Windows store app.

    Any other way to do it?

    Can i open a file in all the directories in the pc? I know about KnowFolders, but if i want them all?

    Thanks you!

    Thursday, June 12, 2014 11:59 AM

Answers

  • See auto-launching with file and URI associations for information on how to register your app as the handler for your custom file extension.

    If you search from the search box at the top of the Windows Store apps dev center then you'll find the Windows Store apps documentation instead of the desktop documentation that you found with the registry information.

    Your app won't have access to the file system in general, but when launched by a file association it will have access to that file.

    --Rob

    Thursday, June 12, 2014 1:29 PM
    Owner