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
0
votes
1 answer

msoFileDialogFilePicker resulting in error

Please don't comment with anything about naming conventions, approaches, asking what the code is supposed to DO, or anything that isn't directly related to my issue: This runs perfectly for me, everytime--A window pops up, and I select multiple…
C-Love511
  • 358
  • 1
  • 7
  • 24
0
votes
0 answers

Similar alternative to Microsoft.Office.Core.FileDialog

I need a way for users to select a directory with some sort of folder dialog, and I am currently using the Microsoft.Office.Core.FileDialog FileDialogFolderPicker. I need the folder picker that I use to have a search bar for users to type into, and…
0
votes
1 answer

Current folder as default in FileDialog in Access, VBA

How to make the current folder that holds the access DB as the default folder when opening FileDialog ? i used "CurrentProject.Path" as shown below but its making c:\ the default Dim fd As Object Set fd = Application.FileDialog(3) Dim…
mohamed shubber
  • 113
  • 1
  • 14
0
votes
1 answer

tkFileDialog AttributeError

I am having trouble using tkFileDialog.askopenfile() in Python 2.7.11 The following code produces the error. import Tkinter print Tkinter.TkVersion Tkinter.tkFileDialog.askopenfile(filetypes=[('csvfiles','.csv')]) The Python Shell output…
Tyler
  • 27
  • 1
  • 5
0
votes
1 answer

Asp.net file dialog set default folder

Is there any way to do this? I thought I'd find hundreds of results on google for this but not really finding anything. I want to set it to a location either on the web server or on a mapped networked drive somewhere. I'm talking about with
fearofawhackplanet
  • 52,166
  • 53
  • 160
  • 253
0
votes
1 answer

How to rename a Network volume's name in WOW64 Apps' Common File Dialog

I'm developing a network redirector like SMB. Once a volume has been connected, I create 4 registry keys to following…
Benjamin
  • 10,085
  • 19
  • 80
  • 130
0
votes
5 answers

How to use filedialogbox to save filepath in string, using Access VBA?

I have an Access file which I will be using for quality assurance of data. I will be inputting data from three Excel files, each into its own Access table. At present, I have three buttons and corresponding text boxes. I manually enter the file path…
Adam Blunt
  • 33
  • 1
  • 9
0
votes
1 answer

Excel VBA - remove FileDialog

I am using the following code to list files in a folder. The code works great but, I don't need the user to select the folder, the folder will be the same every time. Can I remove the FileDialog box? With…
SMORF
  • 499
  • 6
  • 13
  • 30
0
votes
1 answer

filedialog, python, save as

i create a very simple photo editor. I've alredy create open-file and save-file button, and command to open file: def Open(self): #Open Callback ftypes = [('Image Files', '*.tif *.jpg *.png')] dlg = filedialog.Open(self,…
grooove
  • 85
  • 2
  • 8
0
votes
1 answer

QML FileDialog issue

I am trying to use the FileDialog component in QML. I have done exactly the same code that is in the Qt documentation at the link http://doc.qt.io/qt-5/qml-qtquick-dialogs-filedialog.html and it does not show the dialog and returns the error:…
GuiDupas
  • 1,681
  • 2
  • 22
  • 44
0
votes
1 answer

How to choose a folder to use for save in SWT?

I want to take folder path from user by using FileDialog. When user create a new folder then choose it and click "open", the folder open to choose new files in it. but, I want to take path of the choosen new folder without open it. My example code…
eponymous
  • 2,090
  • 5
  • 23
  • 29
0
votes
1 answer

Add all data wthin range then check if it already exists

I'm using FileDialog to select other workbooks with this. I want to select multiple files at once. Here is how I do it: With fd .Filters.Clear .Filters.Add "Excel Files", "*.xls; *.xlsx; *.xlsb; *.xltx; *.xltm; *.xlt; *.xml; *.xlam; *.xla;…
0
votes
1 answer

UnicodeDecodeError with QFileDialog in PyQt

Hello I am having an issue with my program when it comes to a file dialog function I have. First here is my code: def getFileInfo(self): global logName logName = QtGui.QFileDialog.getOpenFileName() return logName def…
JeanP
  • 406
  • 9
  • 27
0
votes
1 answer

Avoid exception when writing to null file

I'm doing some WPF exercises and I could succesfully write a file with content on it. SaveFileDialog sfd = new SaveFileDialog(); sfd.Filter = "Text file (*.txt)|*.txt"; sfd.ShowDialog(); using (StreamWriter sw = File.CreateText(sfd.FileName)) { …
Onilol
  • 1,315
  • 16
  • 41
0
votes
1 answer

android filedialog then upload to server

For my Activity i have two buttons, one is to pick a file using FileDialog, and then the other one is to upload it. My problem here is getting the value of the file from the FileDialog. I'm just using toast in my FileDialog method so that i can see…
user5241618