Questions tagged [filedialog]

Refers to both OpenFileDialog and SaveFileDialog in .NET WinForms.

This tag represents both the OpenFileDialog class and SafeFileDialog class from .NET. More information about them on MSDN here and here respectively.

358 questions
1
vote
0 answers

Access File on a mapped network drive (Windows)

I'm having a problem while accessing a file that resides on a mapped network drive. I have a RCP application that runs on a Windows Client and I want to offer the user the possibility to import settings from a file the user can pick with a SWT…
tzwickl
  • 1,341
  • 2
  • 15
  • 31
1
vote
0 answers

SaveAs feature Qt5.3+ QML FileDialog?

Is there a functional cross-platform SaveAs feature in the Qt5.3+ QML FileDialog? If not, is there a best practice for providing a similar feature? FileDialog can be used for Save As in Desktop, but the initial filename can't be set. Also in Android…
steveist
  • 11
  • 1
1
vote
1 answer

How to get the UNC path of a mapped network drive in a Java application

I'm trying to find a way to access the UNC path of a mapped network drive in my Java application. Basically I'm saving the full path of a file that the user browses for and chooses. However, I don't want my saved path to include "J:\" and similar…
sinsi
  • 51
  • 1
  • 6
1
vote
1 answer

PictureBox rotates image by itself

I am trying to get image from FileDialog My code : private void BtnAddImage_Click(object sender, EventArgs e) { OpenFileDialog addImage = new OpenFileDialog(); if (addImage.ShowDialog() == DialogResult.OK) …
goGud
  • 4,163
  • 11
  • 39
  • 63
1
vote
2 answers

Search for text in process

I have a browse function, and i want something like this: if (browsedFile.Text.Contains("Example")) //If the browsed file contains the text { MessageBox.Show("Found"); } else { MessageBox.Show("Not Found"); }
user2944342
  • 105
  • 2
  • 2
  • 10
1
vote
3 answers

FileDialog doesn't find the method ShowDialog()

I'm learning C and C#, the question is for C#, I'm reading this programming book and this code is not compiling. FileDialog is only showing two methods in intellisense(Equals and ReferenceEquals). The code is from a book so it is expected that this…
somethingSomething
  • 830
  • 7
  • 20
  • 43
1
vote
2 answers

how to use open file dialog?

i am trying to write a code to encrypt text using public key and decrypt using private key and passphrase. I am not very good with programming language because i'm not a programming student. But for my mini-project, i need to write some program…
user2930173
  • 69
  • 2
  • 2
  • 8
1
vote
1 answer

Using VBA to enter a vlookup function in a cell using user chosen file

I am trying to build a sub that will enter a formula into a cell, filldown the vlookup formula to lastrow, then copy the formula and pastespecial->values for the entire range. The table I use in vLookup is located in a separate file that is not…
John Young
  • 17
  • 2
  • 6
1
vote
1 answer

chromium embedded framework: file type filter in a dialog box

I am working with the cef dialogs to filter the viewable file types inside the dialog box I only want the user to see common image files like jpeg, gif, png. So far I have something that works but in the dialog box, the option is titled PNG Images.…
Sakib
  • 1,503
  • 4
  • 26
  • 39
1
vote
1 answer

ASP.NET MVC browse folder/file dialog

There is a page on my site that asks the user enter in a path to a folder/file. This folder/file exists on the local machine. Instead of having the user type out this directory, I would like to have the user choose the path via some sort of pop-up…
Jack Selesky
  • 11
  • 1
  • 2
1
vote
1 answer

How to add and show an Open file dialog and Save file dialog in Access?

How do I insert an OpenFileDialog and SaveFileDialog control in MS-Access '07? Also, how do I code it in VBA so as to display it? Thanks, S Sandeep
user2346044
1
vote
5 answers

php - file download box

I'm giving a user a link to download a csv file ...just using Click here to download your file. This text and link is being displayed in a small popup window - height 100 width 400. If the user clicks "save" - then no…
thegunner
  • 6,883
  • 30
  • 94
  • 143
1
vote
6 answers

OpenFileDialog causes WPF app to crash

In my WPF Application I used OpenFileDialog to select an image and load it to app, this works fine as expected. But if I run same app from a flash drive, image loades after that UI freezes, any clicks on UI makes app to crash. I have admin manifest…
Kishor
  • 4,006
  • 7
  • 30
  • 47
1
vote
0 answers

Is it possible to create a Custom FileDialog in SWT/RCP

The existing FileDialog opens once we call the FileDialog constructor is - Now I want to customize the same. For example I want to add a new Button after Cancel named "Append". Can it be possible in plain java ? Also solution in Swing will work ,…
Abhishek Choudhary
  • 8,255
  • 19
  • 69
  • 128
1
vote
1 answer

wxPython FileDialog wildcard to include directories?

I've got a wx.FileDialog() that currently accepts .zip, .litemod, and .jar (*.zip;*.litemod;*.jar). How can I change this to also accept directories? I would normally think *.zip;*.litemod;*.jar;*, but this would just allow all files.
tkbx
  • 15,602
  • 32
  • 87
  • 122