C# Corner

Resources  
  • Business Card Designer Using C#Jan 30, 2000. For those of you that don't want to go out and buy a fancy business card utility, this article may prove to be just the trick for designing easy colorful business cards.
  • Word Pad in C#May 11, 2001. This application explores the Rich Text control in C#,its properties and methods. Explains the usage of common dialog boxes File open, File save and Font dialog box.
  • Working with OleDb Data AdaptersJun 20, 2001. This step by step article guides you to create your database applications using OleDb Data Adapters in VS.NET.
  • A Better Notepad using C#Jul 30, 2001. We can use windows registry for saving default setting of notepad. We can used notepad in C# easily.
  • Editor in C#Sep 03, 2001. C# Editor shows you how to use toolbar, status bar, dialog boxes, menus and other Windows forms controls.
  • Directory Picker DialogOct 30, 2001. This Directory Picker in this article is also a bit different because it uses the "Large Icon" view of the ListView to traverse through directories.
  • Debugging Techniques in C#Dec 04, 2001. Debugging GUI applications for me mostly consists of printing out debug statements in the form of a dialog box with some text.
  • Utilizing Assembly Information for Your Automated Splash DialogJun 05, 2002. There are cases when you need to reuse the same splash screen or about box in many applications.
  • Passing Data Between a Windows Form and Dialog BoxesAug 29, 2002. In this example, we will create a windows form application to demonstrate the transfer of data between a windows form and a dialog box displayed from the windows form.
  • Accessing Text Files using ODBC Data ProviderNov 12, 2002. In this article, I will show you how to access Access database files using ODBC data provider.
  • MS Office Style Color Picker DialogDec 18, 2002. For a project I'm working on I needed something more stylish than the standard color dialog which comes with .NET, so I decided to make a color picker dialog of my own.
  • SQL Demo Login in C#Feb 23, 2003. This sample code contains a reusable control that allows you to build a dialog box that queries for SQL-Server connection parameters.
  • Opening and Viewing Text and Image FilesMar 08, 2003. We will start this article with a simple application where we will learn how to open and view text and image files using the OpenFileDialog class. In doing so, we will learn some basics of GDI+ drawing, menus and panel control.
  • Installing a Service ProgrammaticallySep 04, 2003. With the arrival of .NET, creation of a windows service has become a piece of cake by just selecting Windows Service as project type in the New Project Dialog Box.
  • Modal Popup Dialog Window in ASP.NETSep 15, 2003. This sample show you how to create modal popup dialog window in ASP.NET that passes and returns multiple parameters.
  • Directory Picker Pro in C#Nov 24, 2003. In my latest project I needed a dialog for picking a directory. I searched through the web, but found nothing that looked nice. First of all I wanted a TreeView for display, and I wanted to view all system drives (with correct names and icons).
  • Working with Windows TabControl with C#Dec 16, 2003. Windows TabControl is a useful control that allows you display multiple dialogs tabs on a single form by switching between the tabs. In this tutorial, I will explain how to create and use a TabControl in your Windows applications with C#.
  • How To:Creating Dialogs in .NETDec 29, 2003. This tutorial was written in response to a newbie question in the Forums on how to create a dialog in .NET and extract the information from it.
  • Deployment: Customizing your .NET deployment ProjectsDec 29, 2003. The fact of the matter is that Visual Studio.NET already contains everything you need to create a rich setup experience for your users. In this article we are going to show you two ways to add a readme dialog to your application, the easy way and the hard way. The easy way requires absolutely no coding. The hard way requires coding and actually allows you to add complex custom features to your application.
  • Understanding SQL Server Yukon Service BrokerFeb 25, 2004. The new version of Microsoft SQL Server™ "Yukon" comes together with a set of technologies capable of enlarging the horizon for database applications. One of the most remarkable technologies is the Service Broker that makes it possible to build database-intensive distributed applications. In this article we explore the core concepts of the Service Broker and show how to use its potentialities to build applications with message interchanging.
  • Tip Of the Day DialogJun 30, 2005. This is a Tip of the Day Dialog for C# and .NET that gives users of your application a tip each time they launch your app.
  • Creating a Dynamic Configuration Dialog in C# and .NETJul 10, 2005. This article will show you how to create a configuration dialog that builds itself from the existing application configuration name-value pairs contained in the appSettings of the app.config file.
  • Learning Visual Studio 2005 IDE - Integrated FxCop and Accessibility OptionsJul 23, 2005. Visual Studio 2005 IDE brings you many new and updated features and Project Properties dialog is one of the areas where you will see some new additions. In this article, I will discuss Accessibility and FxCop features of Project Properties dialog.
  • Learning Visual Studio 2005 IDE - Quick Access to Active Tool Windows and FilesJul 31, 2005. One of the coolest feature in Visual Studio 2005 I like is quick access to all active Windows and Files and switing control between them.
  • NotePad.NET II - Find and Replace Inside a Document Using Regular ExpressionsSep 04, 2005. This article is a continuation of the discussion about a notepad.net editor which improves upon the current functionality in notepad. In this article we talk about regular expression matching inside the find dialog.
  • Windows Forms 2.0 ActiveDocumentHost ControlNov 10, 2005. The ActiveDocumentHost control provides the ability to host OLE Documents within your application. This enables you to create applications that allow in-place editing of documents such as Microsoft Word and Excel.
  • Better Exception Handling in Visual Studio 2005Nov 16, 2005. With many new cool features, components, controls, and tools, Visual Studio 2005 definitively is a winner. In this article, I discuss the new exception handling dialog in Visual Studio 2005.
  • Fuligginedialogs in C#May 09, 2006. In this article the author explained how we can expand feature of the framework for an immediate use of MessageBox.Show(); function.
  • Capturing File InformationDec 29, 2006. This article describes a simple approach to capturing and displaying file and file version information.
  • How to Bring up a Find Dialog in the WebBrowser Control using Managed C++Feb 07, 2007. This article will answers the question, "how do I bring up a find dialog in the Web Browser Control?". As easy as you would think this should be, it actually requires some COMplicated manipulation.
  • Image Mapping UtilityFeb 23, 2007. This article describes an easy approach to building a simple image mapping utility that may be used to mark and store points as pixel based coordinates from an image file or directly from a web page.
  • Build a Simple Watermarking Utility in C#May 07, 2007. This article shall describe an approach to building a simple watermarking utility that may be used to add watermarks to any supported image file format. The resulting application shall permit the user to open any supported image file format into a scrollable picture box.
  • Manage Data in a Win Forms Application (without the Database)May 12, 2008. This article provides an approach to building an application that may be used to collect, store, and retrieve data without relying upon a database to get there.
  • OpenFileDialog in SilverlightNov 30, 2008. The OpenFileDialog allows users to select one or more files on the local computer or on a networked computer. This article demonstrates how to create and use an OpenFileDialog control in Silverlight using XAML and C#.
  • MVP (Model View Presenter) – Supervising Controller.Apr 12, 2009. This articles discusses a general implementation of the Supervising Controller MVP (Model View Presenter) pattern for a win-forms application and the use of a dialog broker to allow pulling additional logic into the controller class.
  • Setting Null Value to an Entity Property Through Textbox ControlMay 12, 2009. In this article, I want to document a bug in Visual Studio. NET concerning to setting a null value to entity property’s through a Textbox control. There is a common scenario to have an entity type in your data model where some attributes are optional. When you develop a rich client application using the Windows forms, data binding techniques and a Textbox to enter the simple data, and you want to set null the optional attributes of the underlying data source by leaving in blank the Text property of the Textbox control; then there is a missing feature for the Formatting and Advanced Binding dialog box for null values. They should have a checkbox there to allow people to use blank as null. In this article, I will show one simple solution to this bug.
  • OpenFileDialog in C#Jun 09, 2009. The OpenFileDialog object interacts with the Computer’s API (Application Programming Interface) to present available files to the user and retrieves the user’s file selection back to the program.
  • MessageBox in WPFAug 11, 2009. This article shows how to use a MessageBox control in WPF and C#.
  • OpenFileDialog in WPFAug 11, 2009. This article shows how to use an OpenFileDialog control in WPF and C# to browse files.
  • Creating a Windows Application in VS.NET using C# Jan 07, 2010. In this article I will explain you about Creating a Windows Application in VS.NET using C#.
  • WPF OpenFileDialogJan 28, 2010. This article will tell you how to use OpenFileDialog using WPF. OpenFileDialog represents a common dialog box that displays the control that allows the user to open a file.
  • Print Dialogs in GDI+May 06, 2010. In this article I will explain about Print Dialogs in GDI+.
  • PageSetupDialog in C#May 07, 2010. In this article I will explain about the PageSetupDialog Control in GDI+ and how to use in a Windows Forms application using C#.
  • OpenFileDialog in C#Jun 11, 2010. An OpenFileDialog control is used to browse and select a file on a computer. This article demonstrates how to use a windows Forms open file dialog in C#.
  • How to use a WebClient asynchronouslyJun 23, 2010. Below is a simple illustration of how to use a WebClient asynchronously with the use of a simple dialog to display its status.
  • FolderBrowserDialog in C#Jun 28, 2010. A FolderBrowserDialog control is used to browse and select a folder on a computer.
  • FontDialog in C#Jun 29, 2010. A FontDialog control is used to select a font from available fonts installed on a system.
  • SaveFileDialog in C#Jul 01, 2010. A SaveFileDialog control is used to save a file using Windows Save File Dialog.
  • PrintDialog in C#Jul 13, 2010. A PrintDialog control is used to open the Windows Print Dialog and let user select the printer, set printer and paper properties and print a file.
  • File Download with save as dialog box from browserSep 14, 2010. Every programmer will get into this scenario where they needs to download a file from browser with a direct button click or downloading a file after some business functional process. I will show you how.
  • Strategy for a Confirmation Dialog in an MVVM World in SilverlightDec 23, 2010. Working with Silverlight in an asynchronous world can sometimes be a challenge. Here is an example of a confirmation dialog that provides some direction into that temporally ambigious environment.
  • Windows Phone 7 DatePicker ControlMar 28, 2011. This article demonstrates the use of a DatePicker control in Windows Phone 7. By default the DatePicker shows today's date; when the control is clicked a dialog should open for selecting day, month and year; then after clicking done, the selected date should load into the control.
  • SharePoint/MOSS 2007 Picker Tree DialogAug 09, 2011. Today I managed to create a custom web part which provides such functionality to end users. The main purpose for creation of such sample web part is to get to know how things happen behind the Picker Tee Dialog.
  • File Dialog Boxes In Expression BlendNov 06, 2011. In this article i have embodied the basic concepts of using file dialog boxes in Expression Blend.
  • C# File Handling with DialogsNov 14, 2011. File data needs to be processed in nearly every non-trivial program, and the classes in the base class library that you can use have lots of details, we evaluate file handling.Dialog boxes are used to gather input from users. You can create your own dialog boxes or use the built-in dialog boxes
  • Working With the Message Dialog Control in Windows 8 HTML Metro ApplicationJan 06, 2012. In this article, I will discuss how to work with the Message Dialog in a Windows 8 Metro application.
  • Popup Windows in ASP.NET MVCJan 21, 2012. In this article we will learn how to open the popup windows in ASP.NET MVC.
  • ASP.NET AJAX ModelPopupExtender From Client SideJan 31, 2012. In this article, I will show how we can use a ModelPopupExtender control with client side behavior so that when the user performs any action in the dialog box, such as button click, there is no post back to the server.
  • Working With Color Chooser in SwingMar 12, 2012. In this article we describe how we can work with the color chooser. The color chooser dialog box is a very general thing for GUI applications. Java provides a JColorChooser class with the Swing package.
  • Dialog Boxes in WPFApr 30, 2012. In this article I am going to explain what Dialog Boxes are In WPF .
  • Disable Saving Changes is Not Permitted Dialog Box in SQL ServerMay 14, 2012. When we try to change an existing table in SQL Server 2008, you might receive a Save (Not Permitted Dialog) box pop-up. This article explains the error and what to do about it.
  • Task Dialogs in C#Jul 09, 2012. Task Dialogs are elevated dialogs as you're familiar with after you installed an application telling you if it was installed correctly.
  • Part 2: Creating Synchronization Point in TestingJul 17, 2012. In this article we discuss how to create a Synchronization point.
  • Message Dialog in Windows Store AppJul 26, 2012. This is simply an article to guide you through the use of message boxes in Windows Store apps which are called Popups here.
  • Checkbox Property Dialog Box and Modifying Checkpoints in QTP in TestingJul 31, 2012. In this article we discuss how to use the Checkbox property of dialog box and how to modify Checkpoints
  • Creating a Checkpoint on a Database in QTPAug 06, 2012. In this article we discuss creating a checkpoint for a Database.
  • Create Scheduled Task in Windows 8Aug 09, 2012. This article describes how to create a Scheduled Task in Windows 8.
  • Understanding the Database Checkpoint Properties Dialog Box in QTP in TestingAug 13, 2012. In this article we discuss about how the Database Checkpoint Properties Dialog Box.
  • Creating a Text Checkpoint in QTP in TestingAug 22, 2012. In this article we discuss how to create a Text Checkpoint in QTP.
  • Understanding the Text Checkpoint Properties Dialog Box in QTP in TestingAug 24, 2012. In this article we try to understand the Text Checkpoint Properties Dialog Box.
  • How to open command prompt in Windows 8Sep 02, 2012. How to launch a Windows command prompt in Windows 8.
  • Enable Delete Confirmation Dialog in Windows 8Sep 06, 2012. In this article we are explaining how to enable the delete confirmation dialog in Windows 8.
  • Message Dialog in Windows Store AppsSep 19, 2012. In this article I will explain how to create a Message Dialog in Windows Store apps.
  • Recovery Scenario Manager Dialog Box in QTP in TestingOct 19, 2012. In this article I discuss the Recovery Scenario Manager Dialog Box in QTP
  • Word Processing with an Extended Rich Text Box Control in VB.NETNov 08, 2012. This article describes an easy approach to building a simple word processor around an extended version of the Rich Text Box (RTB) control; Microsoft has made available an extended version of the RTB control that greatly eases the requirements for printing the control’s text or RTF content.
  • Image Viewer in VB.NETNov 08, 2012. This program allows you to open and view image files including JPEG, GIF, WMF and other images. Program also provides options to stretch and shrink them, rotate at different angles through all axes and save them in different formats.
  • Build a simple Watermarking utility in VB.NETNov 08, 2012. This article shall describe an approach to building a simple watermarking utility that may be used to add watermarks to any supported image file format. The resulting application shall permit the user to open any supported image file format into a scrollable picture box.
  • Image Mapping Utility in VB.NETNov 08, 2012. This article describes an easy approach to building a simple image mapping utility that may be used to mark and store points as pixel based coordinates from an image file or directly from a web page. The application is capable of capturing a collection of points and it allows the user to name and save a point collection established using the tool into a text file.
  • MS Office Style Color Picker in VB.NETNov 10, 2012. I decided to make a color picker dialog of my own. I used the one found at Microsoft Office (for choosing the font color) as a souce of inspiration (in fact, I shamelessly copied it) - I used exactly the same palette of 40 colors and the same "look and feel" - only the size and distance of the little color panels is a little different in my version.
  • Launching System Applets in VB.NETNov 10, 2012. This piece demonstrates the use of the shell statement in VB.NET. Various system calls are made using the Shell function.
  • How to use Font Dialog in VB.Net on runtimeNov 10, 2012. This article shows that how to use font dialog in VB.NET.
  • Calling WinINet API from VB.NET : Part 2Nov 10, 2012. This is an API which connects with the remote server . After connecting it brings the files to your local disk without the “Save to Disk” dialogue box . Please contact the author for any problems.
  • Adding and Removing a Label in an Issue in JIRA Tool in TestingNov 30, 2012. In this article we discuss how to add and remove a label in an Issue in JIRA tool.
  • Regular Expressions in QTP in TestingDec 17, 2012. In this article we discuss the Regular Expressions in QTP
  • Message Box in Windows Store AppJan 04, 2013. How to show a message box in a Windows Store app using the MessageDialog class.
  • jQuery DialogJan 31, 2013. This article demonstrates how to use the jQuery dialog feature in ASP.Net.
  • Minesweeper in WPFApr 06, 2013. This article shows how to use different WPF features to build minesweeper game.
  • Androd DialogsApr 08, 2013. Dialogs in Android are used to get user attention or simple inputs. This article shows four different types of Dialogs.
  • Creating a Dialog in LightSwitch Visual Studio 2012May 20, 2013. In this article I describe how to create a dialog for a LightSwitch Application.
  • Adding a Static Text to the Screen in LightSwitch Using Visual Studio 2012May 21, 2013. In this article I describe how to add static text to a screen in LightSwitch Visual Studio 2012
  • Showing an Existing Screen as a Dialog in LightSwitch Visual Studio 2012May 21, 2013. In this article I describe how to show an existing screen as a dialog for a LightSwitch Application.
  • JQM: How to Navigate and Open Dialog Box in jQuery MobileMay 29, 2013. In this article you will learn how to use navigation and how to open a dialog box in jQuery mobile.
  • Excel Tips n Tricks Tip 5 (Modify Shape and Style of Comment Box in Excel 2013)Jun 17, 2013. After going through this tip you will understand how to modify the shape and style of a Comment Box.
  • Display Alert on Back Button Pressed in Android StudioJul 01, 2013. This article explains how to prevent the user from exiting an application without giving a response.
  • Import Data From Excel in LIghtSwitch 2012Jul 11, 2013. This article describes how to import data from Excel in Light Switch using Visual Studio 2012.
  • Data Entities Creation in LightSwitch 2012Sep 03, 2013. This article describes how to create a new data table in LightSwitch using Visual Studio 2012.
  • Social Media May be Your Next Brand AmbassadorNov 24, 2013. Here you will learn some facts for the business world and social media related to how to communicate in interactive dialogues among organizations, communities and individuals.
  • Getting Started With New Scaffolded Item Dialog to Design Generated FilesDec 30, 2013. This article introduces the New Scaffolded Item dialog which is used to design the generated files output in Visual Studio 2013.
  • Create Your Own ZIP Tool in C# Using Iconic.Zip.dllJan 13, 2014. In this article we are going to make our stand alone ZIP tool.
  • Showing Confirmation Dialog Using JavaScriptFeb 17, 2014. This article describes how to display a confirmation dialog while deleting any row from the DataGrid in the ASP.NET.

About OpenFile-Dialog

NA

SPONSORED BY

File APIs for .NET
Aspose are the market leader of .NET APIs for file business formats – natively work with DOCX, XLSX, PPT, PDF, MSG, MPP, images formats and many more!
Download Free eBooks