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

  • Home
  • SEARCH
  • 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 8296871
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T15:11:31+00:00 2026-06-08T15:11:31+00:00

I have a WinRT Metro app (XAML/C#, Windows Release Preview) that manages documents. The

  • 0

I have a WinRT Metro app (XAML/C#, Windows Release Preview) that manages documents. The documents are represented in-memory and fetched via a Web Service, but are not physically stored on disk.

To improve my app I wanted to implement the FileSavePicker contract. Thus other apps could save their documents directly into my app. But it doesn’t seem possible to get the content from the file save picker in memory into my app. I have attached an event handler to the FileSavePickerActivatedEventArgs.FileSavePickerUI.TargetFileRequested event that is fired when the user wants to save a file to my app. But here I have to set TargetFileRequestedEventArgs.Request.TargetFile to a StorageFile and since I’m in memory and don’t have a file yet, this action fails.

Furthermore (even if I would have a StorageFile) I have to react on the completion of the file saving process and there seems to be no method/event that I could take to handle this.

I don’t understand why Microsoft decided to go this API way for the file save picker contract. Why can’t I get the saved data/file as parameter/stream and do what I want? Sandboxing/security can’t be the reason in this case!

Edit: I’ve seen and looked at the file picker contracts sample app from the SDK, but it doesn’t help, since it only saves to a physical StorageFile.

  • 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-08T15:11:34+00:00Added an answer on June 8, 2026 at 3:11 pm

    Have you looked at the CachedFileUpdater contract? You can use this to receive notifications when the source app makes writes to the file. You would still need to create a StorageFile for this.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a StackPanel in my WinRT C# Metro app that I want to
I have an application I'm writing for Windows 8/WinRT that uses the StreamSocket API
I have been experimenting a lot lately with Windows 8, writing C# XAML Metro
I am trying to build a Windows 8 metro-style app that will operate as
I have a program that still must target Windows XP (_WIN32_WINNT 0x501), as most
I have an out of browser app with silverlight. If I switch to winrt
I have an application build with VS2008 SP1a (9.0.30729.4148) on Windows 7 x64 that
I have a Windows 8 Metro application written in C#. I need to open
When trying to compile a file that include winnt.h via windows.h, I get the
Have an app that can use tts to read text messages. It can also

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.