C# Corner

Resources  
  • Browse or Open a FileDec 15, 2000. This sample code show you how to use OpenFileDialog class to open or browse a file.
  • Web Request ClassApr 04, 2001. This is a simple application that the gets the source of a webpage via the WebRequest Object.
  • Connecting to a Text file using ADO.NET Apr 20, 2001. A simple step by step tutorial shows you how to connect to a text file using ADO.NET and C#..
  • 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.
  • Mobile Fun with XMLMay 24, 2001. Here is something really wonderful in Mobile field .This example is for authenticating the Mobile Users against his settings stored in XML file. This is really good where all the ease of XML is applied. Function open the XML file and particular node data validate it against user inputs and do the specified.
  • Data Structure Sample ExampleJun 04, 2001. Source code for Data Structure implemetation of Stack, Queue, Doubly linked list and more..
  • Using/Debug Option During CompilationJul 15, 2001. This source code below is an an example of how to use /debug option during compilation.
  • Printing out your W2 Form using C# and .NETAug 07, 2001. This article covers a fairly practical aspect of using a computer - dealing with forms. The concepts in this article can be used to create any Form Application so that you can design forms that you can Fill Out, Open, Save, Print and Print Preview.
  • Web Services between .NET, Java and MS SOAP Toolkit: Part IAug 24, 2001. WinGhost 2.0 application allows you to show and hide applications running on your machine. I find this program useful at my work as I do lot of programming at any given time I can have a bunch windows open. I use it normally to hide just my windows I don't access that often.
  • Regular Expressions Usage in C#Sep 07, 2001. The source code shows how to use Regular Expressions in C#.
  • Operator Overloading in C#Sep 10, 2001. The Source code below shows how to use Operator Overloading in C#. Operator Overloading is pretty useful concept derived from C++ by C#.
  • Accessing Oracle DatabaseSep 21, 2001. This source code shows you how to connect to an oracle database and do operations such as select, insert, update and delete.
  • Image Shuffler Game in C#Oct 01, 2001. This game asks for a Image file to be Opened When the file is opened and shuffle button is clicked the image will be Shuffled ie rotated clockwise the task is rearrange the image in the Correct order using the button provided.
  • Checked ListBox Control In C#Oct 18, 2001. The following source code will provide the use of CheckedListBox Control In C#.
  • MDI Forms in C#Oct 18, 2001. This article show how to create the MDI Form. The following source code will provide the use of MDI Forms in C#.
  • How To Open and Read an Excel Spreadsheet into a ListView in .NETNov 26, 2001. The Interoperability services make it very easy to work with COM Capable Applications such as Word and Excel.
  • Using ProgressBar, StatusBar and Timer Controls in VS.NETDec 05, 2001. This source code shows how to use the Timer, ProgressBar and StatusBar Windows Forms controls.
  • Space Invaders in C# and .NETDec 23, 2001. Yes, the classic arcade game has returned and is appearing in C# Corner complete with sound and authentic aliens and source code. It's not quite as good as the real game, but with a few adjustments it can get there.
  • Basic FTP in C#Jan 10, 2002. FTP client developed using Windows Forms. The source code uses a rigid Model-View-Controller design pattern.
  • Image Viewer in C#Feb 01, 2002. This program allows you to open and view image files including JPEG, GIF, WMF and other images.
  • Creating and Opening Microsoft Word Document from .NET Using C#Mar 08, 2002. This article is being written in response to a couple inquiries on the question, "How do I open a word document from .NET?".
  • Reflecting Data to .NET Classes: Part IIMar 08, 2002. This article continue the series of "Reflecting Data to .NET Classes". In the first article, we discussed the concept “Reflecting Data”. The techniques behind it were also explained and demonstrated. The source of data demonstrated in this article will be XML documents.
  • Creating a SQL Server Database Programmatically using SQLDMOMar 12, 2002. The attached source code creates a SQL Server database programmatically using SQLDMO.
  • Multicasting using UDP in C#Apr 04, 2002. The attached source code shows you how to use multi casting in a LAN environment.
  • Reflecting Data in .NET Classes - Part IV: From Database TableApr 08, 2002. In this article, we will be looking at how to "reflect" data from the most common data source - Database tables.
  • ExoEngine - A C# OpenGL 3D EngineApr 12, 2002. For my fourth year computer graphics course I wrote a little 3D engine using C# and the .NET platform.
  • Drawing B-Spline CurvesApr 22, 2002. The attached source code project draws spline curves between two points.
  • Application Data Utility ClassApr 24, 2002. Attached is a ZIP file containing the source-code and compiled DLL of the "Application Data Utility Class".
  • CS CODEDOM ParserJun 12, 2002. CS CODEDOM Parser is utility which parses the C# source code and creates the CODEDOM tree of the code(general classes that represent code, part of .NET Framework - namespace System.CodeDom).
  • Using Currency Manager and MemoryStream to Display ImagesJul 01, 2002. This article and attached sample code demonstrates you how to use the CurrencyManager and MemoryStream to display images.
  • Writing a Generic Data Access ComponentJul 17, 2002. I've received couple of emails people asking me how can they use a common data provider to access various types of data sources without loosing the power and flexibility of native data provider libraries.
  • Writing a Generic Data Access ComponentJul 17, 2002. OK, I've received couple of emails people asking me how can they use a common data provider to access various types of data sources without loosing the power and flexibility of native data provider libraries.
  • Using Crystal Report ViewerJul 31, 2002. The following small application is designed to allow testing created reports with XML feeds used as data sources. .
  • Calling Procedural COBOL from VB.NETAug 28, 2002. Many clients will have existing COBOL source code that they will want to use within the .NET Framework.
  • XML News Feeds from Harrison LogicSep 04, 2002. This application provides a compilation of news headlines from many sources, using the MoreOver.com's XML service.
  • Compiler Tools in C#Sep 10, 2002. The attached zip file contains the source code and documentation of Compiler tools in C#.
  • Getting System InformationSep 26, 2002. The attached source code returns the system information for your machine such as machine name, operating system, current user and logical drives.
  • Understanding ODBC .NET Data ProviderOct 04, 2002. The ODBC .NET data provider provides access to ODBC data sources with the help of native ODBC drivers in the same way that the OleDb .Net data provider accesses native OLE DB providers.
  • MDI Image Viewer with Drag-Drop SuppportNov 21, 2002. MDI Image Viewer with Drag-Drop Support by Sergio Pinon. Nov 21, 2002. The attached source code project is an MDI Image Viewer that not only let you view multiple images simultaneously, it also supports drag and drop feature. To view one or multiple files, just drag some images from the Windows Explorer and drop on this program.
  • .NET Flat Control LibraryDec 16, 2002. The attached source code contains a library contains basic flat controls.
  • Creating an Instance of Internet Explorer in C#Dec 19, 2002. I was trying to write a program that opened an instance of Internet Explorer in a separate window, rather than use the Browser control that comes with the .NET platform.
  • Implementing Prim's Algorithm using GDI+Dec 31, 2002. Prim's algorithm is an algorithm used in the graphics development to calculate the shortest route in a network when an object is moving from a source node to the destination node.
  • GalleryDotNetJan 02, 2003. This is a simple C# console application (source included) that takes a directory of images and creates a html gallery out of them.
  • Automating the Process of Getting Latest Files from VSSJan 22, 2003. In this article, I will show you how to write an automated process of taking VSS backup. Initially, this application was written with some hard coded settings such as user name, password. and VSS path.
  • Telnet Scripting in C#Jan 28, 2003. This library, written in C#, expands on some telnet code from various other sources, presenting the caller with a number of functions handy for scripting telnet sessions (i.e. SendMessage, SendAndWait, WaitAndSend, WaitFor).
  • Speedometer: Applying GDI+ TransformationsFeb 10, 2003. This zip file contains two folders - one folder contains speedometer control and the other contains the application that uses the control. Put both folders in the same location and open the application in VS and run it.
  • 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.
  • Hotmail using C# - An HTTPMail Client under .NETMar 21, 2003. The great thing about the POP mail protocol is that it is a well-documented open standard and writing a mail client to collect mail from a POP box a relatively painless process.
  • Mersenne Twister Random Number GeneratorApr 01, 2003. The attached source code is the C# implementation of the Mersenne Twister algorithm, developed by Makoto Matsumoto and Takuji Nishimura in 1996-1997.
  • Listing Active Directory UsersApr 06, 2003. The attached source code shows you how to list an active directory users in .NET using C#.
  • Math Equation Editor in C#Apr 07, 2003. The Equation Editor I created in C# allows you to create a few simple equations using the keyboard. With the editor you can open and save files of your equations.
  • FTP Client Library for C#Apr 26, 2003. Finding a fully working, lightweight FTP Client that had no GUI, was free, and came with source was difficult.
  • A Beginner's Guide to Microsoft's shared Source CLI (Rotor)May 13, 2003. The Common Language Infrastructure (CLI) is the ECMA standard that describes the core technologies contained in .NET.
  • Talking to the Outside World in Excel 2003May 14, 2003. This code sample shows how to connect to the internet inside of Excel 2003. The idea is when the workbook opens the code behind the workbook searches for quotes on NASDAQ and then populates the spreadsheet with the data.
  • SmallPOP: Hackish Implementation of POP RFC in .NETJun 02, 2003. The attached source code and this article contains the details for the C# version of SmallPOP, a quick and dirty component for retrieving e-mail from POP servers.
  • Password GeneratorJun 04, 2003. This article and the attached source code shows you how to write a password generator using C#.
  • Packet Sniffer in C#Jun 05, 2003. The attached source code is a packet sniffer. Most of featured came from ethereal.
  • Generating 3D Scatter Plot using C# and DirectXJun 17, 2003. The attached source code sample and article explains how to generate a 3D Scatter Plot using C# and DirectX.
  • Part I: Simple Color Syntax Code Editor for PHP written in C# and .NETJun 18, 2003. The Application is a simple Windows Form program that allows you to open and save the text files edited in the rich edit control, as well as print them out. The program takes advantage of a “syntax” text file for PHP which lists the functions and keywords contained in the PHP language.
  • Kuti.DataJul 02, 2003. The attached source code file has two parts - DataObject directory and Automatic SQL Generator.
  • Data Access Component for SQL Server in C#Jul 07, 2003. The attached source code a data access component for SQL Server that contains methods to get a DataSet.
  • Drag and Drop Controls within a ContainerJul 08, 2003. The attached source code is a C# application that demonstrates the drag and drop of a Windows control within a container.
  • Custom ComboBoxJul 11, 2003. The attached source code is a C# application that demonstrates how to create a custom ComboBox control in Windows Forms.
  • Trapezoidal Rule Implementation in C#Jul 23, 2003. The attached source code implements trapezoidal rule for numerical integration in C#.
  • User Controls in Internet ExplorerAug 13, 2003. WinGhost 2.0 application allows you to show and hide applications running on your machine. I find this program useful at my work as I do lot of programming at any given time I can have a bunch windows open. I use it normally to hide just my windows I don't access that often.
  • SMTP/POP3/IMAP4/WebMail ServerSep 26, 2003. The attached source code contains a project for a Web Email Server with SMTP, POP3, and IMAP4 support.
  • FTP Server in C#Oct 13, 2003. The attached source project is a simple FTP server implementation. This version is very early release of FTP Server.
  • Photo Browser and Wallpaper ChangerOct 20, 2003. The attached source code is a Photo Browser and Wallpaper changer. You can save your favorite photos in a list and loud it at any time.
  • Stock Paper Trader in C# and .NETNov 11, 2003. The attached source code project is a paper trading application that allows you to place imaginary trades on real data. I thought this would be fairly easy to duplicate having already written a stock capturing program into Excel.
  • Dynamic Data Grid for Windows Forms Sizing RoutineNov 11, 2003. This article and the attached source code project is called GridLayoutHelper and it allow you to size a Windows Forms DataGrid much like you can an ASP.NET DataGrid.
  • Creating MMC Snapin using C# (Part 1)Nov 24, 2003. This article and attached source code shows you how to create MMC Snapin using C#.
  • Edit/Update a Chosen Database RecordDec 09, 2003. This article and available source code shows how to edit and update a database record through a DataGrid control
  • DNS Client in C#Dec 22, 2003. The attached source project contains the library and source code for DNS client application. This client supports A, MX, and PTR records.
  • Reading and Display Source of Web PagesDec 30, 2003. This sample project is made to help ASP.NET developers. This projects highlights how to add HTML page inside your ASP.NET page which is hosted on same or different webserver. This page can still run on that server and only output is included in the ASP.NET page.
  • Screen Capture and Save as an ImageDec 30, 2003. The following example source code shows how to capture the screen and save it to an image.
  • DataSets in Microsoft .NETFeb 20, 2004. ADO.NET was designed to meet the needs of this new programming model: disconnected data architecture, tight integration with XML, common data representation with the ability to combine data from multiple and varied data sources, and optimized facilities for interacting with a database, all native to the .NET Framework.
  • SQL Server Reporting ServicesFeb 25, 2004. SQL Server Reporting Services is a comprehensive, server-based platform for creating, managing, and delivering reports that contain data from relational and multidimensional data sources. This article explains the features that are supported by SQL Server.
  • Normal Distribution Implementation in C#Apr 13, 2004. The attached source code is a C# normal distribution class. The probability density function (PDF) and cumulative distribution function (CDF) can be computed for a given x-value.
  • Transforming Visual Studio .NET Projects into NANT files using XSLT and .NETApr 16, 2004. I was looking for a solution on how to execute an XSL transform on a C# project file and convert it to a Nant build file. Nant provides the xsl file to do the conversion under the open source license agreement, but Nant does not provide away of producing the transformation.
  • Transparent Panel in C#Apr 22, 2004. The attached source code shows how to create a transparent Panel in C#. Download the source code for more details.
  • Populate SQL Servers and Databases dynamically in C#May 27, 2004. The attached source code is a class that provides methods to populate an array with the available SQL Server and databases on your network dynamically.
  • Using SyncFusion Grid in Virtual Mode with C# and .NETMay 27, 2004. This article and attached source code shows how to use SyncFusion Grid control in virtual mode to display and manipulate data from a data source.
  • Learning Visual Studio 2005 IDE - Main IDEJun 07, 2004. In this article of Learning Visual Studio 2005 IDE series, I will explore some of the designer features and the breakdown of the classes of a Windows Forms project.
  • Revise-Generating ComboBox in a DataGrid ColumnJun 10, 2004. This article and attached source code shows how to add a ComboBox column to a DataGrid control.
  • Using Property Grid in C#Jun 30, 2004. Property Grid control is one of the control we deal with all the time when writing UI applications. This article and attached source code shows how to use the Property Grid control in your applications.
  • Formula Generator - A Regular Expression Generator Class in C# and .NETAug 17, 2004. The attached source code is a class - FormulaGenerator, which is a component that interprets and evaluate a string expression
  • Handling Oracle Max Open Cursor Error when Fetching Multiple Rows in ADO.NETAug 18, 2004. When working with Microsoft technologies, MS SQL Server comes out as a natural choice for the database. While it is a fact that .NET Framework has extensive support for SQL server, when you work with other databases like Oracle the situation might turn out to be a little more tricky than it is with SQL Server.
  • Remote Data Access LayerAug 24, 2004. The attached source project is a data access layer library and the main idea of developing such a DAL is to separate the database execution from the client/end user and maintain it on the server side, there by reducing the number of direct simultaneous connection to the SQL Server.
  • Logging Errors in a XML FileAug 26, 2004. Error handling and logging errors at a common place is something, which is required in every piece of code you write. The attached source code is an error logger class that I've used in all of my applications. This class writes errors to XML files.
  • Microsoft Application Center TestOct 13, 2004. Application Center Test (ACT) stress tests Web servers and analyze performance and scalability problems of Web applications. ACT simulates a large group of users by opening multiple connections to the server and rapidly sending HTTP requests. It also supports several other authentication schemes and the SSL protocol, making it ideal for testing personalized and secure sites.
  • A comprehensive view of SharePoint: Part IINov 19, 2004. Enterprise portals are an important part of today's enterprise IT infrastructure. Portals are used as an entry point for a specific topic, organization, project or team. Many enterprises have an enterprise portal, opened by default when an employee opens up a browser, which shows general information about the enterprise, its strategy, its departments, etc.
  • Using ListBox in C#Dec 28, 2004. The source code demonstrates how to use a listbox control in C# - adding, deleting and altering strings.
  • SQL Server Reporting ServicesFeb 25, 2005. SQL Server Reporting Services is a comprehensive, server-based platform for creating, managing, and delivering reports that contain data from relational and multidimensional data sources. This article explains the features that are supported by SQL Server.
  • Revised C# Control of a DialMay 02, 2005. The C# Custom Dial Control is a custom dial control written using GDI+ and C#. This article and the attached source code is a revised version of my previous article with an extended version of the control.
  • MouseStick Control.May 13, 2005. The attached source code is a MouseStick control written in C# and Windows Forms. The MouseStick control gets its name from the fusion of a joystick with a mouse. Think of the line in the MouseStick as a joystick that is controlled with your computer's mouse.
  • Joystick ControlMay 13, 2005. In this article and the attached source code project written in C# and Windows Forms, the author shows how to build a Joystick control that allows an object to move via the joystick control.
  • Adding & Retrieving items from listbox and check list boxJun 02, 2005. The attached source code shows how to add and retrieve items of Windows Forms ListBox and CheckListBox controls.
  • Revised Gauge Custom Control in C#Jun 10, 2005. This is an enhanced version of the custom guage. Enclosed are the source code for the control, and the test program.
  • POC for DOM XML ParserJul 21, 2005. The classes found in System.Xml namespace provide functionality to parse and navigate through XML documents. The attached source code shows how to use this functionality in C#.
  • Configuring and Invoking Dynamic Delegate using ReflectionJul 26, 2005. The attached source code projects shows how to configure and invoke dynamic delegates using Reflection.

About Open-Source

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!
techbash 2016