Questions tagged [openfiledialog]

The OpenFileDialog is a (component) class in the .NET Framework that prompts the user to open one or multiple files.

Filter by
Sorted by
Tagged with
-2
votes
0answers
30 views

Winform(c++) openFileDialog crashes when I go outside of current folder

I have a WinForms program which is built as a A.dll and I inject the DLL into a running program: B.exe. And my winform opens the openFileDialog in the folder of B.exe, and I can choose the file inside ...
0
votes
1answer
21 views

tk.messagebox.showerror() appears in wrong condition

I got this code below and wherever I select a csv file the messagebox.showerror function activates while it should not. Any ideas? It works perfectly when I upload a xlsx or xls file. I want to ensure ...
-1
votes
0answers
8 views

C# how to auto fill information in OpenFileDialog when i open a link in WebBrowser with .Navigate

I opened a website in WebBrowser with ".Navigate" and i click in a button in that website with ".InvokeMember("Click")" that open a OpenFileDialog but i see that OpenFileDialog stop the execution of ...
0
votes
1answer
26 views

vb.net if database not found open a OpenFileDialog

I use following code to set a connection to my database: Return New OleDbConnection("Provider=Microsoft.ACE.OLEDB.12.0;Data Source=" & Application.StartupPath & "\FileRename v5....
0
votes
1answer
37 views

C# custom file extension filter

I'm trying to read a list of documents in a directory. I understand how the filter modifiers work at a high level and have used them before. However, this time I need to filter something that doesn't ...
0
votes
0answers
37 views

Single dialog for “open file” and “create new document”

Is it possible to use some form of QFileDialog to get a native (MacOS) dialog like the one below, where besides selecting a file, the user can choose to create a new document? I believe I have read ...
0
votes
1answer
91 views

OpenFileDialog utilizing Windows 10 Native Search

Once the OpenFileDialog has been displayed I would like to be able to use Windows 10 search index to narrow the list of files. This would be the same as if you were in Windows Explore and typed into ...
1
vote
1answer
35 views

Dropdown files list dependent from another dropdown folder list

I need help on how to do dependent dropdown files list from another dropdown folder list. In one folder, I have 5 List of folder, then for each folder, I have 5 list of files. In my code, I already ...
0
votes
2answers
34 views

Merge Two Files once importing them by filedialog and copy the result to another workbook

Dears: i have an issue with below code as i need to Merge Two Files once importing them by filedialog then copy the result direclty to another workbook the below cope is working but suddnly it copies ...
-1
votes
2answers
55 views

VB.net, cannot access OpenFileDialog that has been added to project

I have decades of experience writing VB6 apps but today I tried to write a simple VB.net app using Microsoft Visual Studio 2019. I fell at the first hurdle. I'm sure I'm doing something really simple ...
1
vote
2answers
72 views

Close SaveFileDialog/OpenFileDialog programmatically without using pinvoke

Due to some requirements, I have to close SaveFileDialog programmatically without using PINVOKE. Is there any way to close SaveFileDialog other than using the PINVOKE way? I had tried to close the ...
2
votes
1answer
44 views

UIDocumentInteractionController equivalent for Android Java

I would like my android application to display a dialog that allows the user to open a file in another application or save the file much like the UIDocumentInteractionController for iOS that displays ...
0
votes
2answers
44 views

C# OpenFileDialog multiple filename filters including exclude

I have a requirement to allow users to open a specific file for processing. The open file dialog is currently OpenFileDialog ofg = new OpenFileDialog { FileName = "...
0
votes
0answers
43 views

Problem to use a list instead of an array

here i am trying to do a music media player. I do it great thanks a normal array. However when i am trying to use a list impossible to do it. stringName.Add(openFileDialog1.SafeFileNames); the first ...
0
votes
1answer
43 views

Set a network shared folder as InitialDirectory in an OpenFileDialog form

I'm trying to set a shared network folder as initial directory in an OpenFileDialog form. It is a internal-use-only app for my work, so it is safe to do that and it will save us a lot of time. The ...

15 30 50 per page
1
2 3 4 5
67
 
久草视频新免费_日韩视频一中文字暮_欧美三级片