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
0 answers

QFileDialog::getSaveFileName not always returning extension

Under Qt 5.1.0 on Windows7 I'm using the following code to get a project name: QString filter = "Project Files (*.proj)"; QString fileName = QFileDialog::getSaveFileName(this, "New Project", QString(), …
0
votes
1 answer

Issue with opening the right path for file dialog

i am using vba access 2010 and have a simple form, a button control. the idea is to create a folder and after which use the filedialog to open up the folder i just created. i am able to create the folder, but how do i open up to the path i just…
0
votes
1 answer

JFileChooser .txt extension

I have developed simple notepad application in java . When I want to save file I want to add .txt extension to that file. This is working fine in file dialog String filename; FileDialog fd = new FileDialog(Editor.this,"Save…
0
votes
1 answer

Extract Path From File Dialog

My app uses a 3rd party DLL for image processing, which opens a file dialog to choose an image file. For continuity and usability reasons, I use a separate thread to change the dialog after it appears (change the icon and title, and remove the…
Kyudos
  • 625
  • 4
  • 18
0
votes
0 answers

Adding onto a file with java AWT FileDialog and FileWriter

I am having a problem with my code. I am using AWT FileDialog, and creating files work just fine. In my program, I have the option to add text to an existing file, but currently it does not add text to that file. I cannot figure out a solution,…
user2152962
  • 47
  • 2
  • 4
0
votes
1 answer

Java swing file chooser date filter or file dialog date filter

give sample code for getting files of current date or req date in file chooser or file dialog? i need to filter files with date in file dialog?
karthik
  • 23
  • 1
  • 4
0
votes
1 answer

Save Format Dropdown Menu in FileDialog

I'd like to create a Save dialog box in which the user can specify the file format to save a file in via a dropdown menu that appears below the name field. I'm using a FileDialog class rather than Swing's JFileChooser because it uses the native…
Thunderforge
  • 19,637
  • 18
  • 83
  • 130
0
votes
1 answer

With C# 4.0, the System.Windows.Window constructor doesn't support any arguments

I would like to implement this suggestion: How to test file download with Watin / IE9? In the project, I added the references that poster referred to: UIAutomationClient UIAutomationTypes However, Window wasn't resolved. So I added the following…
voidmain
  • 1,521
  • 1
  • 12
  • 14
0
votes
1 answer

SWT FileDialog opening issue

I need to open a FileDialog to open a file using SWT on Windows 7 Home using Java 7. I need this FileDialog open when BrowseBtn1 Button (SWT) is pressed. I am using addSelectionListener for this. Is this the correct approach? If yes, why my dialog…
0
votes
1 answer

FatalExecutionEngineError On FileDialog.ShowDialog()

This is my program's basic Information: WPF Application Target Framework: 4 Platform Target: Any CPU Now when I try to open a file dialog I get a FatalExecutionEngineError. This is my code: Microsoft.Win32.OpenFileDialog OF = new…
M Ekramy
  • 41
  • 5
0
votes
1 answer

How can I give file extentions list using FileDialog?

I can give extentions for file using JFileChooser. Example: JFileChooser chooser = new JFileChooser(); FileNameExtensionFilter filter = new FileNameExtensionFilter( "JPG & GIF Images", "jpg", "gif"); chooser.setFileFilter(filter); But I can…
Animesh Kumar Paul
  • 2,241
  • 4
  • 26
  • 37
0
votes
1 answer

Python (Windows XP) - wx.FileDialog partially remains after Destroy()

I'm new to Python (and, indeed, new to PC development) and would like to know how I should properly solve a problem I have using FileDialog in a Windows application I am writing... Here is the relevant part of my code so far... def SelectLogs(self,…
user1144150
-1
votes
1 answer

Python created folder with \ instead of /

Using Jupyter notebook, I created a Python code that would copy files with a keyword from one directory to a new one created in the script (i.e. files were kept in: D:/Main_Folder/SubFolder1/SubFolder2, and the new directory would be…
AndSS
  • 11
  • 1
-1
votes
1 answer

Opennig excel file via Userform in Excel

I wanna rewrite code below to see Excel files (.xlsm) in FileDialog filters Function write file's(in this case only folder's) path to textbox in userForm Private Sub OpenExplorer_Click() Dim diaFolder As Office.FileDialog Dim selected As…
Nir4s
  • 15
  • 6
-1
votes
1 answer

How can I kill process which is selected by OpenFileDialog in c# wpf?

private void Button_Click(object sender, RoutedEventArgs e) { OpenFileDialog ofd = new OpenFileDialog(); ofd.Filter = "All files(*.*)|*.*"; ofd.Multiselect = true; if (ofd.ShowDialog() == true) { …
00 0
  • 1
1 2 3
23
24