About 35,000 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. 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#.

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

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

    1 day ago · 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, …

  5. How to Implement Open Folder Dialog in C# WPF Application

    Aug 21, 2024 · Step 1: Adding the OpenFileDialog Component To begin, you need to add the Microsoft.Win32 namespace to your project. This namespace provides the necessary …

  6. How to: Open files with the OpenFileDialog component

    May 7, 2025 · Learn how to use the OpenFileDialog component to open the Windows dialog box for browsing and selecting files.

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

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

  9. OpenFileDialog In WPF - C# Corner

    OpenFileDialog in WPF is a powerful tool for enabling file selection within your C# applications. It provides a user-friendly interface for navigating the file system, allowing users to select one or …

  10. 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.