Questions tagged [fileopendialog]

A User Interface (UI) that provides a dialog box, to open file(s). Also known as `OpenFileDialog`.

104 questions
1
vote
1 answer

How to shift focus to file open / save dialog from full screen DirectX 11? (C++ VS2012)

I am using Windows 7 Ultimate 64bit, DirectX11, and C++ in VS2012. I am using the iFileOpen, and iFileSave dialog boxes in the winapi. Please can anybody tell me how to show the dialog boxes when using directx in full screen mode. The boxes are…
PGRacer
  • 31
  • 2
1
vote
2 answers

getOpenFileNames dialog is not centered to the main window

Why the opened dialog is not centered to the main window? void MainWindow::on_FileOpenAction_triggered() { QStringList fileNames = QFileDialog::getOpenFileNames( this, "Open Image", QApplication::applicationDirPath(), …
Gad D Lord
  • 6,620
  • 12
  • 60
  • 106
1
vote
1 answer

Python: Using open file dialogue to assign file to a variable?

I searched around and found many ways on how to assign a file to a variable via opening a file from a direct link, but i was wondering how to assign a file to a variable to be read by a function, when the user uses the file dialogue to open a file…
Doug Barta
  • 161
  • 2
  • 15
1
vote
2 answers

Opening a File Dialog from within a class module in vb6

I want to know how can we open a file dialog from withing a class module in vb6. I know how to do in forms, but I have to open it from within a class module.
ajax
  • 33
  • 1
  • 7
1
vote
1 answer

CFileDialog posts "First-chance exception" in debugger window

My Windows application employs the following piece of C++/MFC code that is used to open a file: CFileDialog fd(TRUE, NULL, NULL, OFN_HIDEREADONLY | OFN_OVERWRITEPROMPT | OFN_EXPLORER, NULL, hParentWnd ? CWnd::FromHandle(hParentWnd) :…
c00000fd
  • 20,994
  • 29
  • 177
  • 400
1
vote
1 answer

html opening a local image

I'm making a fake forum for a class project, and in the your profile tab, you have an option to change your profile picture. Since its a fake forum it involves no servers or actual uploading, ect.. so i am avoiding any php. what i want the upload…
Bryce Hahn
  • 1,585
  • 4
  • 16
  • 26
1
vote
3 answers

File Open Dialog in windows phone

I am developing windows phone application and I need text file import facility in the application. Now what I need is to open file explorer as in windows desktop application or like html file control. I have googled with each and every possible…
1
vote
1 answer

Preview image in OpenDialog

In Visual Basic.NET, when browsing to a file via the OpenFileDialog control, is it possible to display a preview of an image when an image is selected in the OpenDialog?
Garry
  • 1,251
  • 9
  • 25
  • 45
0
votes
1 answer

Is there a way to check if file exists using HandleOpenDialog

I have to click on "choose File" button and it opens the fileopen dialog. I need to check if file exists or not. Here is the code public static void UploadFile(IWebDriver driver, string photoLocation, string photoName) { …
Madhavi
  • 1
  • 2
0
votes
0 answers

CFileDialog: dynamic modification of m_ofn?

C++/MFC, Windows 11. Visual Studio 2022 17.4.3. I'm using CFileDialog to allow user to chose a file. By creating a new class derived from CFileDialog, I am being notified whenever the user changes directories (folders). I implemented this so I could…
Woody20
  • 791
  • 11
  • 30
0
votes
0 answers

I want to know how to type a word from the clipboard and press enter in the file open window using c# and selenium

I am a beginner programmer making programs using c# and selenium. I want to know how to type a word from the clipboard and press enter in the file open window using c# and selenium. I don't know what element to find the file open window.
muniis
  • 1
  • 1
0
votes
0 answers

Open for the second time a file give errors

I have a program that start work. I can open and store files. But when I open a file (e.g. File 1) the program reads it and than when I want to open a second file (e.g. File 2) I get errors. Opening files goes with bindingSource.DataSource I assume…
ElectricRay81
  • 121
  • 11
0
votes
1 answer

How to take a named path string stored in Excel's name manager and open a file using it. The stored string contains the entire file string

The first routine grabs the filename string as the user locates a file which was exported from Quickbooks The second routine writes that name into the name manager as a string under the name "PathToEmployeeWithholding" The third routine attempts to…
Mike1504
  • 11
  • 3
0
votes
0 answers

How can I use Explorer in Powershell to select a file to be processed within my Powershell script

I wrote a script in which I use a static file for example "datainput.csv" I would like to launch an explorer session within my script to allow the user to pick a file and then be able to grab the file name within the script to process it. I have no…
Sugata39
  • 1
  • 1
0
votes
1 answer

askopenfile() got multiple values for argument 'mode' in python

I am writing a python program in python which require that I use open Dialog but I am getting the following error askopenfile() got multiple values for argument 'mode' My code def open_file(): browse_text.set("loading...") file =…
etranz
  • 891
  • 2
  • 10
  • 29