About 2,440 results
Open links in new tab
  1. OpenFileDialog Class (System.Windows.Forms) | Microsoft Learn

    Examples The following code example creates an OpenFileDialog, sets several properties to define the file extension filter and dialog behavior, and displays the dialog box using the …

  2. OpenFileDialog Class (Microsoft.Win32) | Microsoft Learn

    Represents a common dialog box that allows a user to specify a filename for one or more files to open.

  3. How to Use OpenFileDialog to Select a Folder in C#: Better …

    Jan 16, 2026 · While `OpenFileDialog` is a familiar component for selecting *files*, it is not designed for folder selection. Many developers mistakenly attempt to repurpose `OpenFileDialog` for folders, …

  4. OpenFileDialog In C#

    C# OpenFileDialog control is used to browse and select a file on a computer. In this article, you'll learn how to use the OpenFileDialog in C#.

  5. The OpenFileDialog - The complete WPF tutorial

    The OpenFileDialog Whenever you open or save a file in almost any Windows application, you will see roughly the same dialogs for doing that. The reason is of course that these dialogs are a part of the …

  6. C#.WinForms - OpenFileDialog Example - Dot Net Perls

    Feb 18, 2023 · The OpenFileDialog has some properties that allow users to specify whether a file should be read in read-only mode. The read-only check box can be displayed. We looked at the …

  7. OpenFileDialog in PowerShell — Grokipedia

    The OpenFileDialog in PowerShell refers to the use of the System.Windows.Forms.OpenFileDialog class from the .NET Framework's Windows Forms library to display a standard graphical dialog box …

  8. C# OpenFileDialog Example - The Developer Blog

    Use the OpenFileDialog control in Windows Forms to enable the selection of a file.

  9. OpenFileDialog Control - VB.Net

    The OpenFileDialog control prompts the user to open a file and allows the user to select a file to open. The user can check if the file exists and then open it. The OpenFileDialog control class inherits from …

  10. How do I use OpenFileDialog to select a folder? - Stack Overflow

    73 There is a hackish solution using OpenFileDialog where ValidateNames and CheckFileExists are both set to false and FileName is given a mock value to indicate that a directory is selected. I say …