Questions tagged [fileopenpicker]

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

53 questions
1
vote
0 answers

FileOpenPicker on HoloLens provides incomplete file from OneDrive

I'm using the FileOpenPicker to select a file from OneDrive, that I will subsequently access through "standard" C++ interfaces (not C++/WinRT). I'm aware that the path returned by FileOpenPicker is not accessible by those interfaces, so I'm using…
Theodore Hall
  • 91
  • 1
  • 6
1
vote
1 answer

Can't access file on OneDrive; HoloLens runtime

I started working with the Microsoft HoloLens. I am completely new to C# programming. So this could be a simple or even stupid question, but I just can't explain it and couldn't find any information about it. I work with Unity 2018.4.21f1 Visual…
1
vote
3 answers

how to get Bytes of a file for sending in UWP?

I'm a newbie in UWP and i want to open a file of any type and transmit the bytes of it to the reciever. forexample for a jpg file i wrote this code: // Create FileOpenPicker instance FileOpenPicker fileOpenPicker = new FileOpenPicker(); // Set…
zahraesb
  • 153
  • 1
  • 7
1
vote
1 answer

Customise FileOpenPicker in UWP

I have a sub folder in downloads folder named 'StudentDetails'. It contains subfolders with student names.And each student name contains images related to that student. By default, I want to open that StudentDetails folder (OnSuggestedStartLocation…
user2431727
  • 877
  • 2
  • 15
  • 46
1
vote
0 answers

FileOpenPicker Filters

Is it possible to describe filters of FileOpenPicker? openPicker.FileTypeFilter.Add(".jpg"); openPicker.FileTypeFilter.Add(".jpeg"); openPicker.FileTypeFilter.Add(".png"); In Windows Forms dialog boxes it was possible: dialog.Filter = "Text files…
Bilal
  • 114
  • 11
1
vote
0 answers

file access universal windows filepicker

Im using the FileOpenPicker to let the User choose a file (sqlite-db), which can be anywhere on the computer: public async Task PickDb() { Windows.Storage.StorageFile file = null; var picker = new FileOpenPicker(); …
Tom
  • 190
  • 3
  • 18
1
vote
1 answer

get path of selected image by fileopenpicker windows phone 8.1 C#

I got an image by using FileOpenPicker. I want to save the path of the image in database, so that by using that path I can get that image any other screen,, Now I simply send my image path to second page. but with the same Path I'm not able to get…
Arsal
  • 343
  • 2
  • 8
  • 21
1
vote
0 answers

Touch doesn't work in Windows 10 file open picker

I've downloaded the file open picker sample from microsoft (https://code.msdn.microsoft.com/windowsapps/File-picker-app-extension-0cb95155) for testing the file open picker contract. I installed the sample app and then went through the file picker…
1
vote
3 answers

File Picker in Windows Phone 8.1 SilverLight

I want to choose all files from the My internal as well as External Sd Card in Windows Phone 8.1 Silverlight App. I have tried this bolow code FileOpenPicker openPicker = new FileOpenPicker(); openPicker.FileTypeFilter.Add(".Mp3"); …
1
vote
0 answers

GetThumbnailAsync for files picked with FileOpenPicker in Windows Phone 8.1

I'm trying to access all types of files with a FileOpenPicker and display the picked files in a list with thumbnails. private void Pick() { FileOpenPicker openPicker = new FileOpenPicker(); openPicker.ViewMode = PickerViewMode.List; …
Ieyasu
  • 49
  • 5
1
vote
1 answer

Problems Scrolling and Zooming an Image in an WP8.1 App

I'm struggling with the ScrollViewer in my Windows Phone 8.1 (WinRT) app. Basically, what I'm trying to achieve is to retrieve an image using FileOpenPicker, crop the image to a fixed ratio (square) format while letting the user select the part of…
user3386180
1
vote
1 answer

When using FileOpenPicker, how to open the "Choose an app" screen like OneDrive app does?

The new Windows Phone 8.1 file picker let us choose file from any place, but we must tap the ellipse at the picker toolbar and then "choose location" to be able to list files like the new OneDrive app does by default. The screen I'm talking about is…
eduardobr
  • 146
  • 15
1
vote
1 answer

How to use or create android default fileopenpicker?

I have a list of different types of files such as pdf, audio(mp3), video etc. I want to open those file using onClick event of the list items with supported viewer or applications. For example if the selected file will be an video file then, a…
CrazyLearner
  • 782
  • 3
  • 11
  • 28
1
vote
4 answers

OpenFilePicker not working on Windows Phone 8 (Specified method is not supported)

I am trying to just pick a file using: private async void Button_Click_1(object sender, RoutedEventArgs e) { try { FileOpenPicker openPicker = new FileOpenPicker(); openPicker.ViewMode = PickerViewMode.Thumbnail; …
James
  • 167
  • 1
  • 3
  • 11
0
votes
1 answer

FileOpenPicker not working in C# on Windows 11 Desktop

I am creating a Windows Form App in VS on Windows11 and get this error when I attempt to run my file picker function: System.NotImplementedException: 'The member IAsyncOperation FileOpenPicker.PickMultipleFilesAsync() is not…
Whelandrew
  • 195
  • 10