Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8721737
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T07:16:07+00:00 2026-06-13T07:16:07+00:00

Using XAML C# in Windows Metro Apps how do I go about playing a

  • 0

Using XAML C# in Windows “Metro” Apps how do I go about playing a certain video file. Examples:

  • D:\video1.wmv
  • \\MEDIAPC\video2.wmv

The only way I managed to get this working so far is by using FilePicker, but I don’t want to use this as I already have a list of files to play.

I have tried to use GetFileFromPathAsync but I keep getting permission / access issues

 await StorageFile.GetFileFromPathAsync(@"D:\video1.wmv");

Apologies if this has been answered I just couldn’t find an answer that fits my problem.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-13T07:16:08+00:00Added an answer on June 13, 2026 at 7:16 am

    If your D:\ drive is a non-network resource try adding the Removable storage application capability. This can be accomplished by double-clicking on the Package.appxmanifest and navigating to the Capabilities tab. By default your application (assuming it is a Windows Store app) only has access to local files packaged with your app or files stored in local/roaming/temp folders (usually reserved for Application state).

    If your data is stored on a Network resource that requires authentication you will want to enable the Enterprise Authentication capability.

    You may also want to fiddle with the Home and Work Networks for the \MEDIAPC\ files if you aren’t accessing resources that require network authentication.

    Further Reads:

    • Accessing data and files
    • How to load data from files
    • App Capabilities Overview
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm learning how to build C#/XAML metro apps in Windows 8 and I was
I am using VisualStudio 11 beta for windows 8 metro apps development, I have
Are About dialog boxes dead in Windows 8 Metro apps? I looked over quite
I'm trying to make a simple windows 8 metro game using c# and xaml.
I'm developing a Metro-style app (for Windows 8) using C# and XAML. I have
I'm reading Metro Revealed: Building Windows 8 Apps with XAML and C# . The
Third party libs to Convert HTML/XAML for Windows 8 Metro App ? I using
I'm developing metro app for windows 8 tablet using XAML and C#, so is
In metro style windows 8 application, how can i display the data using xaml
I'm coding a windows form using WPF, XAML, C#. I have a Frame object

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.