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

Errors Opening FileDialog SaveAs in Outlook using VBA and Excel

I am trying to open a SAVE AS FileDialog in OUTLOOK (MS Office 2013 or 2016). Since Outlook does not support FileDialogs, I use Excel (this seems to be the preferred approach based on dozens of searches). I have had success opening a FilePicker…
DGP
  • 167
  • 1
  • 14
0
votes
1 answer

Tkinter window on Python 3.6

i'm working with the Tk module, to select files and get their path. After selecting file the Tk window doesn't close. It remains open even the code is over. Before saying creating this post, i tried to put different solution(No…
Tom92
  • 5
  • 1
  • 3
0
votes
0 answers

java AWT FileDialog modify the files of type list

I've been searching a lot for this issue, but couldn't find a solution for it. I'm using a FileDialog in my java program and I want to change the 'File Type' list, or the file extensions accepted.. img I know this is doable with a JFileChooser, but…
Reketar
  • 29
  • 6
0
votes
0 answers

How to pass method returning file path to file in java?

I am new to java programming. File file = new File("C:\\Users\\user\\test.txt"); Here I used 2 /'s to seperate. If I have a method that returns file path as string , how can I pass that in File() for it to work correctly? The method…
bhatnaushad
  • 372
  • 1
  • 2
  • 16
0
votes
3 answers

Using filedialog in VBA

I usually just google and eventually find an answer but this time I am really stuck. I am not that familiar with VBA and how it works but got the basic idea. What I am trying to do is to collect data from a number of .lvm files and put it in a…
Mattias
  • 9
  • 6
0
votes
1 answer

Tk.filedialog scroll by mouse wheel

How can I activate scrolling by the mouse wheel when Tk.filedialog.askopenfilename displays LOTs of files.
0
votes
1 answer

How to get the thumbnail of a folder? C#

Basically, I have a music folder. And inside the music folder, it has album folders. Each album folders has its own thumbnail.png inside. I have the folder browser to pop up and I can select the music folder. When I select the music folder, The…
0
votes
1 answer

AWT FileDialog - mac save as

Its possible to hide form "save as", when i use AWT FileDialog for choose directory (only directory mode), to save X files on mac?
HxAxNxY
  • 43
  • 5
0
votes
0 answers

Ms Access MkDir FileCopy works on first record only

Access 2016- Code works perfect on the first Record in the Recordset. I get Run-time 76 error "path not found" for any record after the first on this line. objFSO.CopyFile myfile, Path & Foldername & "\" Not sure if this is the problem - The Path…
EbayBill
  • 55
  • 1
  • 8
0
votes
1 answer

Trying to import the selected text file to Cell A1

I am trying to make a macro where I prompt the user to select a text file, and then have the contents of the selected text file imported to a cell. I managed to get the filedialog and have the user select the file, but then I don't know how to…
Rhyfelwr
  • 299
  • 2
  • 5
  • 19
0
votes
0 answers

Inappropriate ioctl for device error using tkinter

I'm trying to use a simple askopenfilename function in order to obtain the path of the required document. The problem is that I'm getting this error over and over again and it happens randomly. The function can be executed properly but eventually…
Absel
  • 27
  • 3
0
votes
1 answer

Autoupgradeenable property of openfiledialog

I had need of showing open file dialog in winform application. And one property of the file dialog, autoupgradeenabled which I set as a true, which is for updating the open file dialog according to operating system, like if application is running on…
Harikrishna
  • 4,185
  • 17
  • 57
  • 79
0
votes
1 answer

VBA FileDialog.Show restarts sub

I'm trying to get the path for a folder using the filedialog.show function. The issue I am facing is: After I select a folder in the folderpicking window the code does not continue. It either restarts or it ends without anything happening. What…
0
votes
1 answer

Execute a function right after user has chosen a file through tkFileDialog

I'm developing an interface with Tkinter that makes use of a file dialog with tkFileDialog. I want to run a function immediately after the user has chosen a file from the dialog box. With buttons, we have a command keyword from which we run a…
srsrso
  • 111
  • 8
0
votes
0 answers

vba control open file dialog

I'm currently working on Excel macro which controls webpage. I've problem with interacting with open file dialog. It can be control by simply pasting file path and hitting enter. I've tried to SendKeys but it doesn't work. Does anyone know how to do…