Questions tagged [fileopenpicker]

Represents a UI element that lets the user choose and open files.

53 questions
12
votes
1 answer

Touchscreen friendly file picker in Windows 10

I am looking for a touchscreen-friendly file picker for Windows 10. In Windows 8 and 8.1, i used FileOpenPicker: FileOpenPicker fileOpenPicker = new…
Arti Ficial
  • 121
  • 5
7
votes
1 answer

“Invalid window handle” error when using FileOpenPicker from C# .net framwork 4.7.2 with Microsoft.Windows.SDK.Contracts without UWP

I am trying to use Microsoft.Windows.SDK.Contracts to access the Windows10 API from .net framework WFP application. I want to use the FileOpenPicker() to select the image for OCR processing by Windows.Media.Ocr. But I met the 'Invalid window…
Yuzhe Zhou
  • 157
  • 2
  • 11
7
votes
1 answer

How to properly specify FileOpenpicker.FileTypeFilter syntax for UWP

Is there a way to specify the filter like in OpenFileDialog, e.g. openFileDialog.Filter = "Text Files (.txt)|*.txt|All Files (*.*)|*.*" FileOpenpicker.FileTypeFilter.Add doesn't seem to accept the same syntax. MSDN is a poor source of information…
3
votes
1 answer

FileOpenPicker without Camera

Is there a way to use Windows Phone 8.1 (RT) FileOpenPicker to select an image from the pictures library without offering to use the camera? FileOpenPicker openPicker = new FileOpenPicker(); openPicker.ViewMode =…
user3386180
2
votes
0 answers

FileOpenPickerUI: prevent deleting file when user clicks on image in the basket

I'm using Windows.Storage.Pickers.Provider.FileOpenPickerUI to implement an UWP app that allows taking multiple pictures. The thumbnails automatically appear in a basket on the bottom of the screen (see screenshot below). When the user clicks on a…
Peter
  • 533
  • 1
  • 6
  • 17
2
votes
1 answer

FileOpenPicker Bug

FileOpenPicker. PickSingleFileAsync(); On Xbox One the above line opens a file selection screen however the cancel button on the screen is immediately deselected and the pages is stuck, you cannot go back. Have to press home button then the…
Sixjac
  • 339
  • 4
  • 16
2
votes
1 answer

FileOpenPicker - How to read special characters

I have problem with FileOpenPicker. I use special characters e.g. ś ć ę and my file .txt has content: "śś ćć ę ó" It is my code: var picker = new Windows.Storage.Pickers.FileOpenPicker(); picker.ViewMode =…
Kiro
  • 43
  • 1
  • 5
2
votes
2 answers

Why can change BitmapImage source only once?

Please, help is needed. In this code have to be stupid mistake but what it is? If I run this very simple code I can load and change bitmap image only once. At first time it runs ok but if I like to change the image again (press the button) the first…
2
votes
1 answer

C# UWP LiveSKD and OneDrive access using FileOpenPicker

I'm developing a Universal Windows Platform app that allows a user to open and edit files using the FileOpenPicker. The idea is that the user can choose any file on their computer, including files located in their OneDrive folders. On Windows 10…
Eric
  • 930
  • 1
  • 6
  • 14
2
votes
1 answer

Adding image outside of project C# Windows Store Application

In my xaml file I have an image named OutputImg. I also have a textblock named OutputTB for displaying the name of the image and a button which lets me choose an image from my Pictures folder. Code behind : private async void Button_Click_1(object…
jp.
  • 35
  • 6
1
vote
1 answer

Cordova - how to open a downloaded file with app picker

I would think this is pretty basic but apparently its not. My app is downloading office documents such as XLS, PDFs, Docs, etc - they are downloading just fine and the user can navigate on their phone (using File Manager) to their downloads…
rolinger
  • 2,787
  • 1
  • 31
  • 53
1
vote
1 answer

Show something other than, "All files" in a FileOpenPicker that isn't filtered to show all files

I'm displaying an open file dialog via Windows::Storage::Pickers::FileOpenPicker in a winrt project I'm writing. When I set the FileTypeFilter property on the picker it works, but the name shown still says, "All files." I've seen on…
1
vote
1 answer

System.Exception getting called when assessing OpenFilePicker on Hololens

I'm using the MRTK for a hololens app and I need to select a file that the user puts in their document folder. I am trying to access the FileOpenPicker and use the PickSingleFileAsync() function from a button press to get the file and then load that…
1
vote
1 answer

Using FileOpenPicker app contract Hololens 2 with Unity development

Similar to this post I am trying to implement FileOpenPicker into my hololens 2 app. However, I am doing this through the Mixed Reality Toolkit in unity and have been having some troubles finding out how to set up the contract within the app. I know…
1
vote
1 answer

How to display an image chosen by a file open picker in UWP C#?

I implemented a File Open Picker into a Universal Windows Platform Application for choosing an image to display in a list item. However, after getting the image path from the file open picker, the path can't be set as an image source neither as a…
1
2 3 4