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

    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. The OpenFileDialog - The complete WPF tutorial

    In this article we'll focus on the OpenFileDialog class, which makes it very easy to display a dialog for opening one or several files. Simple OpenFileDialog example

  3. 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#.

  4. openfiledialog-component-overview-windows-forms.md - GitHub

    The Windows Forms xref:System.Windows.Forms.OpenFileDialog component is a pre-configured dialog box. It is the same Open File dialog box exposed by the Windows operating system.

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

    Feb 18, 2023 · You can access the file specified by the user in the OpenFileDialog —and then read it in using the System.IO namespace methods. We can also handle exceptions.

  6. 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 …

  7. OpenFileDialog - Wisej.NET

    The OpenFileDialog filters files shown to the user based on a given pattern. For example, the filter C# files|*.cs|All files|*.* will show files ending with .cs by default.

  8. C# OpenFileDialog Example - The Developer Blog

    You can access the file specified by the user in the OpenFileDialog—and then read it in using the System.IO namespace methods. We also handle exceptions, preventing some errors related …

  9. WinForms - How to prompt the user for a file | makolyte

    Jul 1, 2021 · Shows how to use the OpenFileDialog control to prompt a user for a file, and gives several examples of using the Filter property to only allow specific files

  10. How to Open Folder Dialog in C# - Delft Stack

    Feb 2, 2024 · The first way is to use the OpenFileDialog class to display a folder dialog for opening one or several files. The other method is to use the FolderBrowserDialog control to …