A User Interface (UI) that provides a dialog box, to open file(s). Also known as `OpenFileDialog`.
Questions tagged [fileopendialog]
104 questions
3
votes
1 answer
Don't show network drives using FileOpenDialog
Right now when I use FileOpenDialog it takes quiet some time to open, I tested it and it seems that it happens when the user have too many network drives. Is there a way to not show them or at least make them async so it doesn't take too much time?

VegaBrothers
- 126
- 1
- 12
3
votes
2 answers
.net windows api: get or set most recent directory used by file open dialog
Is there a way to set or get the initial directory used by the vista file open dialog without setting the InitialDirectory property on the file open dialog?
I want my WPF to (on startup) set the default folder once for all the Open/Save dialogs. If…

tim
- 1,371
- 3
- 19
- 30
3
votes
2 answers
Is it possible to disable the OpenFileDialog cancel button?
Is it possible to set the OpenFileDialog's cancel button enable = false? If so, How?
I'm using winforms
Edit
OpenFileDialog file_open_dialog = new OpenFileDialog();

Rye
- 2,273
- 9
- 34
- 43
3
votes
1 answer
OpenFileDialog / SaveFile Dialog Initial Folder
I've read through these questions and none of the solutions seem to work. I can get it to work to C:\ and work to the Users home folder but not the folder I've setup in documents for the user called 'Workspace Saves' Here are some code snips.
Makes…

Brian Pulaski
- 103
- 6
3
votes
1 answer
How to call a system file selection dialog using perl on windows?
I know many perl based gui module would do that easily but I am curious about methods other than Prima or Tk etc.
I want to call this dialog (Exactly looking as Windows Explorer) for a command line package.
Is anything similar to system(''); command…

BioDeveloper
- 618
- 3
- 8
- 25
3
votes
2 answers
Browse for a File from Excel VBA
How can I put up a "File Open" dialog from some VBA running in Excel?
I'm using Excel 2003.

AJ.
- 13,461
- 19
- 51
- 63
3
votes
3 answers
VBA: Get Excel FileDialogOpen to point to "My Computer" by default
I'm trying to get excels save and open dialog boxes to open to "my computer" by default so the user can select a drive from there.
I have got the dialog boxes to open to any path on any drive or my documents etc but can't seem to find a way for it…

Tristan
- 163
- 2
- 10
3
votes
3 answers
How do I present an open folder selection dialog in Perl?
How do I open folder selection dialog in Perl?

Greg
- 41
- 1
- 2
3
votes
2 answers
Is there a way to choose which files are displayed to the user via the standard OPENFILE dialogs?
Vista introduced an interface: IFileDialog::SetFilter, which allows me to setup a filter that will be called for every potential filename to see if it should be shown to the user.
Microsoft removed that in Windows 7, and didn't support it in XP.
I…

Mordachai
- 9,412
- 6
- 60
- 112
2
votes
1 answer
".RestoreDirectory" does not work
In the following code I set ofd1.RestoreDirectory as false however, the dialog opens the inital directory everytime. Is there something that I am not aware of?
private void btnMeshFile_Click(object sender, EventArgs e)
{
OpenFileDialog ofd1 =…

Shibli
- 5,879
- 13
- 62
- 126
2
votes
2 answers
OpenDialog does not show up in Delphi MultiThreaded application
i tried to use the openDialog in new thread but it made so strange behavior ..
if i put the if opendialog.execute then in the create constructor like this :
constructor TChatMemberThread.Create(Name: string);
begin
inherited Create(True);
FName…

Rain
- 117
- 1
- 7
2
votes
2 answers
Create a "file Open" Dialog Button and Write Out to Text Box
I am wanting to create a browse (fileOpen Dialog) button to search my local drive and then write out the selected path to a text field.
I am using Visual Studio Express 2010
Any help much appreciated!

Kevdog777
- 908
- 7
- 20
- 43
2
votes
3 answers
How to open a default dialog for window if ShellExecute fails due to no file association in C++?
I can use the windows ShellExecute function to open a file with no problems so long as the file has a correct association.
If no association exists i would like to use the default windows dialog to open the file:
Is this possible? If so how?

Agent DM
- 23
- 1
- 3
2
votes
1 answer
Why do repeated calls to FileOpenDialog cause a memory leak?
I tried to implement a simple FileOpenDialog into my program using COM. But i noticed that when multiple successfull calls were made to select files using FileOpenDialog, a Memory Leak occured. I decided to copy this exact example from msdn, but if…

botch
- 35
- 5
2
votes
1 answer
Electron: File dialog window should be focused until decision
How to force the file dialog window to be always open on the top until the user choose a file or closes the window?
The user should not be able to navigate to other windows in the application.

Kombye
- 152
- 14