C# Corner

Resources  
  • FileDownloader : Download files using HTTPJan 10, 2000. This application contains a Form and a Class module . From Form we create a thread which execute the procedure to handle the NET download. This application can be enhance to do more down load as in Download manager by creating more threads.
  • Add/Remove User Control for C#Jan 18, 2000. A nice feature in the Visual.NET environment is the ability to create User Controls.
  • Yahtzee Program using C#Jan 24, 2000. The Visual C# environment has given the programmer the ability to create applications in RAD mode without the steep learning curve for the C++ programmer. (I do miss templates though!). The above application, yahtzee, is based on a popular poker-like dice game.
  • Adding Images to ToolBar ButtonJan 29, 2000. An article shows you how to add images and tooltips to the toolbar buttons.
  • Creating and Using Custom Attributes in C#Feb 27, 2000. Attributes are classes that allow you to add additional information to elements of your class structure.
  • Meal Scheduler in C#May 04, 2000. In this application once you enter your meal timings. A message box will appear on the screen while you are working and remember you about your meal with light sound.
  • My First C# ProgramSep 29, 2000. This article explains how to create your first C# program.
  • Creating a Class and Call it from Main ProgramSep 30, 2000. This article explains how to create your class, add some functions and call it from Main function.
  • Feature I LikeOct 04, 2000. This article explains how easy to create a component using C#.
  • A Simple Calculator ClassNov 28, 2000. Code sample shows how to create a simple calculator class and call it from Main C# program.
  • Creating an Empty Project using VS.NETDec 04, 2000. This tutorial guides you towards your first C# Empty project step by step. After that I'll show you how to add a class to the project and few members to the class and call this class members from the main method.
  • Write data to an access database using SQL Query and ADO.NETDec 06, 2000. See how to use SQL Statements to write data to an access database.
  • Tutorial: Creating C# Class Library (DLL) Using Visual Studio .NETDec 09, 2000. This step-by-step tutorial shows you how to create a class library (DLL) in Visual Studio .NET.
  • Creating C# Class Library (DLL) Using Visual Studio .NETDec 09, 2000. This tutorial explains how to create a C# class library(dll) and call it from a C# console client application.
  • GDI+ Tutorial for BeginnersDec 26, 2000. GDI+ is next evolution of GDI. In Visual Studio .NET, Microsoft has taken care of most of the GDI problems and have made it easy to use.
  • Creating your own cool Volume Control using GDI+Jan 23, 2001. In this article, I'll give you an example of creating your own control.
  • Creating a Windows Service in C#Jan 23, 2001. Windows Services is a new name for NT Services in .NET. This tutorial steps you through creating a Windows Service and how to install and start it.
  • Tutorial: Working with Toolbars in C#Jan 30, 2001. This tutorial explains you how to add toolbars to a form, load images to the toolbar buttons, and writing event handlers for toolbar buttons.
  • Working with GDI+ Brushes Jan 30, 2001. This tutorial explains how to work with texture, solid, gradient, and hatch brushes.
  • PaintBrush in C# - IIJan 30, 2001. This is a PaintBrush Application. In this Paintbrush user can draw some images and he can save the images in a persistence storage and later time can retrive the images.
  • Buton Viewer: View ImagesFeb 27, 2001. Well, In .NET, the Image class is a wonderful class to view images. No matter what control you have, you just set the Image property of that control to an image and the control will display the image. Neat?
  • Verbatim String LiteralsMar 01, 2001. I used to wonder, if I could somehow represent "\" as "\" instead of the escape sequence for black slash ("\\") in string.
  • Deploying Programs in C#Mar 08, 2001. Deploying projects in Visual Studio.NET is fairly straightforward. Most of the process is automated for you through some convenient wizards so it doesn't require much effort. Keep in mind, though that you probably need the Windows Component Update Beta 1 on the machine you are deploying to. I suspect you also need the Microsoft .NET Framework, as well (for now).
  • Loading a Form IconMar 13, 2001. In .NET framework, the Icon class represents a Windows icon, which is a small bitmap image used to represent an object. The icon class is defined in System.Drawing namespace.
  • View Relational Data in a DataGridMar 15, 2001. This article explains you how easy is reading a database and displaying in a grid using DataSet.
  • Write XML in C#Mar 27, 2001. In this article, I will show you how to use XmlTextWriter class to create an XML document and write data to the document.
  • Introduction to JScript.NETApr 09, 2001. We have been hearing the announcement from Microsoft right from PDC2000 that they have realsed new languages viz. C#, VB.NET and JScript.NET.This artice of mine is going to introduce to u JScript.NET.
  • Using Microsoft Message Queues to build Scalable SolutionsApr 12, 2001. This tutorial shows you how to create, send, and received messages using MSMQ from the .NET base class library (System.Messaging) and C#.
  • Assemblies : The Ins and Out : Part IIApr 16, 2001. In this part, I will discuss both Private and Shared assemblies and how to create a "Shared Assembly".
  • Creating a Login User ControlApr 16, 2001. In this article, we have started with an introduction to the UserControl and have learnt to use the ADO+ DataReader.As we seen User Controls simplifies several common Web application scenarios.User Controls allow developers to easily define custom controls using the same programming techniques for writing Web Forms.
  • XML Strengths and Weaknesses with DOM, ASP, and XSLApr 30, 2001. In this article we're going to take a look at some of the terminology that comes with using XML and its related technologies, as well as how to create and transform XML documents with XSL using Microsoft's MSXML parser. To test the code samples shown in this article you should be running Windows NT/2000/XP with IIS installed. You should also have SQL server 2000 installed on the same machine.
  • Using .NET Framework Multithreading and GDI+ to Enrich the user experienceMay 04, 2001. This tutorial shows you how to create, send, and received messages using MSMQ from the .NET base class library (System.Messaging) and C#.
  • Graphics Animator in C#May 26, 2001. This program will generate a html page with animated gif. You just need at least 2 gifs and use the program to set the time to display each image.
  • Digital Watch In C#Jun 04, 2001. GDI+ sample example shows you how to create a Digital Watch.
  • Image Viewer in C#Jun 07, 2001. ImageViewer lets you to view images of types bmp, gif, jpeg, ico, wmf, emf. It also allows you to convert images to bmp, gif and jpeg formats. This application illustrates the usage of PictureBox class, Bitmap class etc.
  • Com and Component creation in C#Jun 09, 2001. Component is nothing but the reusable piece of software in binary form that can be plugged into other components from other vendors.
  • Creating Run-Time Menus in C#Jun 14, 2001. Sample example on how to create runtime menus.
  • Working With OleDb Data Adapters Jun 19, 2001. This step by step tutorial guides you to create your database applications using OleDb Data Adapters in VS.NET.
  • 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.
  • Creating a screen saverJun 21, 2001. Creating a screen saver is an interesting topic. A screen saver is a maximized form that contains no borders and caption.
  • Time TickerJun 26, 2001. Graphics Class encapsulates a GDI+ drawing surface. The FromHWND method is used to create a new instance of the Graphics class from a window handle. Clear method fills the entire drawing surface with the specified RGB color by using Color class. DrawString method draws a string using Font and SolidBrush classes.
  • Creating Exe on the FlyJun 29, 2001. You can create an Exe on the fly using .NET classes.
  • Displaying data in a ListBox Web ControlJul 06, 2001. Sample example for how to display data in a ListBox Web control.
  • Scaling an ImageJul 13, 2001. This code will show You on way to scale an image with .Net Beta 2.
  • MP3 Tag EditorJul 16, 2001. MP3 Tag Editor is a simple GUI that allows MP3 ID3 (v1.1) tags to be created or edited.
  • Developing Windows Applications Jul 23, 2001. This tutorial explains you step by step how to create your Windows Applications using Visual C#.
  • Working with Status BarsAug 01, 2001. An article on how work with status bars and pens and images to the pens.
  • 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.
  • Calculator ExampleAug 14, 2001. Sample program shows you how to create a calculator.
  • Creating Dynamic Web Quizzes using C# and ASP.NETAug 15, 2001. This article describes how to create a web quiz from the information in a database.
  • Console Based Windows FormAug 15, 2001. This sample application shows you how to create Windows Forms from console.
  • Visual MatrixAug 17, 2001. User can easily add ,sub any limit of matrices. Edit boxes are created dynamically.
  • Simplest way to Create and Deploy Web ServicesAug 20, 2001. This article explains how to create and deploy a simple Web Service.
  • Run-Time Menus in C#Aug 20, 2001. The following example demonstrates how to create menus on the fly.
  • Namespaces in C#Aug 20, 2001. Namespaces allow you to create a system to organize your code. A good way to organize your namespaces is via a hierarchical system.
  • Messaging between Threads using Message LoopAug 20, 2001. MessageLoopLib is a stripped down version of a complete, threading communication subsystem Ive written. This implementation is a single thread created in the GUI constructor. Ive dropped all thread management and have had to change some of the message code to accommodate this.
  • A Vision Regarding .NETAug 27, 2001. The present enterprise setup's need to have n-tire architecture with diverse platforms and object models communicating with each other. The present applications are to be created such that those applications have to run in any platform (like Windows, Linux, Mac , Unix etc) and which consist of components written in many programming languages and object models.
  • C# Logical GameSep 03, 2001. This article shows how to create a Logical Game in C#.
  • Realtime Stock Quotes into Excel using .NETSep 03, 2001. I may seem a little Bullish on .NET, but I was able to create this application fairly quickly in C#.
  • A variety of Chart EnginesSep 07, 2001. The original code came from Scott Guthrie’s chart engine example. The differences from original code.
  • Web Browser in C# and VB.NETSep 11, 2001. This article explains how to add and web browser ActiveX to your project to developer your own customized web browser.
  • Windows Forms Without VS .NETSep 12, 2001. This article explains how to write windows forms application without using Visual Studio .NET IDE.
  • Scrollable Picture BoxSep 13, 2001. This project contains a UserControl that allows you to place an Image inside and scroll around the Image.
  • Using Attributes in C#Sep 14, 2001. This article shows how to create custom attribute classes, use them in code, and query them.
  • using Array Class and IEnumeration in C#Sep 14, 2001. This article illustrates the usage of Array class and IEnumerator. Array class Provides methods for creating, manipulating, searching and sorting arrays, thereby serving as the base class for all arrays in the common language runtime.
  • Screen Capturing a Form in .NET - Using GDI and GDI+Sep 15, 2001. This article shows way to do form capture in GDI is to get the device context to the screen and bit blast it to a Bitmap in memory.
  • Mobile Page Unit of Mobile SiteSep 19, 2001. This is something like creating WAP Pages it is still as usual my basic starting So here i will be storing only some info but What it exactly is the same as if people heard of WAP Pages and many sites offer you to create your own WAP Pages similar to WebPages but limit it to the device size and strength.
  • GUI Based Opinion PollSep 26, 2001. This is a article on how to create a opinion poll in C#. It creates a Text file on your c drive storing the voting parameters in it.
  • User Control and ReusabilitySep 28, 2001. This article explain, how to create a user control for ASP.NET.
  • Adding Copyright to a GraphicsSep 28, 2001. With the popularity of digital cameras and the increase of digital archive web sites allowing you to buy images to use its handy to be able to add a copyright to your image.
  • Console Based ChatOct 01, 2001. This is a article on how to create a simple console based chat application using socket connections.
  • 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.
  • Language Independence from COM to .NETOct 03, 2001. This article covers the subject regarding Language Independence. This term Language Independent means one can create an application using various languages. This Language independent starts from past COM (OLE & ActiveX) to present .Net.Let us see in detail.
  • File Uploading using XMLOct 09, 2001. This application is in ASP.NET which will allow you to upload images to an XML file which serves as the database for the uploaded files.
  • Hangman: Using GDI+ in ASP.NET ApplicationsOct 11, 2001. This example shows how you can combine GDI+ commands on a web form.
  • Creating your own Web Server using C#Oct 15, 2001. This article explains how to write a simple web server application using C#.
  • Creating your own Web Server using C#Oct 15, 2001. This article explains how to write a simple web server application using C#.
  • Exception Handling in C#Oct 17, 2001. Exception handling is a builtin mechanism in .NET framework to detect and handle run time errors.
  • Web services with Language InteroperabilityOct 18, 2001. A web service in general is a way of exposing the properties and methods through the Internet In other words, it's an URL-addressable resource that programmatically returns information to clients who want to use it.
  • 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#.
  • Inheritance and PolymorphismOct 29, 2001. By using the concept of inheritance, it is possible to create a new class from an existing one and add new features to it.
  • Reading and Writing XML in C#Oct 29, 2001. In this tutorial, you will learn how to read and write XML documents in Microsoft .NET using C# language.
  • Working with Namespaces in C#Nov 07, 2001. In C#, namespaces are used to logically arrange classes, structs, interfaces, enums and delegates. The namespaces in C# can be nested. That means one namespace can contain other namespaces also.
  • Charting in GDI+Nov 07, 2001. Here is an example of creating simple charts using GDI+ commands in C#. I have used the random class to create 5 random percentage values. I then use GDI+ to plot these values on a chart.
  • FlashCards Language Program : How to read and save Images in a Sql Server Database using ADO.NETNov 09, 2001. I thought it would be fun to write a simple program that displayed flashcards from a database and at the same time, show you how to read and write images to the database. This program is a simple flashcard program that talks to a single table in a Sql Server Database.
  • Printing a Ruler using C# and GDI+Nov 12, 2001. If you misplaced your ruler, here's an application that will create one for you on your printer!
  • Adding Controls to Windows Forms at RuntimeNov 13, 2001. In this example I'll show how one can create and add controls to their Windows Forms at runtime.
  • Creating and Using ResourcesNov 16, 2001. In this article, I will give you a small example of how to add and use resources.
  • Creating a User Control: .NET Toggle ControlNov 16, 2001. This is a C# User Control which re-creates the toggle used by XML, HTML, etc. files in the .NET Developer Studio. Just compile the control and drag it onto a form from the Windows Form Toolbox.
  • Exceptions and Exception StackNov 16, 2001. The purpose of this tutorial is to explain firstly how you would go about creating your own set of exceptions to trap error conditions that could occur in your code or library, for your own benefit or for the benefit of another developer using your library. The second lesson is on how the C# exception stack works, and how you can use it to catch all types of exceptions.
  • How to create a "ComboBox button" in a toolbar in .NETNov 20, 2001. You can actually put a ComboBox in your toolbar by just dragging a ComboBox from the toolbox onto the toolbar but if you want the ComboBox to be one of the toolbar buttons, you are out of luck using the regular old ComboBox. One way around this is to use the DropDownMenu style of a ToolbarButton to create a pseudo-ComboBox.
  • Interactive Shaped FormsNov 29, 2001. This Demo show how to create shaped form and customized buttons using Region, GraphicsPath and picture control and using picture control to play animate pictures.
  • Using Interfaces in .NET RemotingNov 30, 2001. In this article, we will create a remote object that will return rows from a database table. For the sake of simplicity I have used the NorthWind database that is packed with the installation of the Microsoft SQL Server.
  • Creating a Custom Data AdapterDec 03, 2001. A good programmer needs to know how to work with ADO.NET DataAdapters at the code level.
  • Simple Sniffer in C#Dec 03, 2001. This program shows you how to retrieve data from a packet using Sockets.
  • Mark Six on the FlyDec 04, 2001. In this sample, I demonstrate how a WebForm can be called directly as an Image.
  • Factory Patterns in C#Dec 10, 2001. The FACTORY METHOD PATTERN comes under the classification of Creational Patterns. The creational patterns deals with the best way to create objects.
  • Abstract Factory Patterns in C#Dec 10, 2001. The ABSTRACT FACTORY PATTERN comes under the classification of Creational Patterns. The Abstract Factory provides an interface to create and return one of several families of related objects.
  • C# and ActiveX DLLDec 14, 2001. As you know with Visual Basic 6.0, it is possible develop a COM server and implement them in a Visual Basic client program. But this is being done by using Visual Basic. You may wonder about the idea of calling this DLL in a C# Application. Well, C# language provides us a way to call this COM server in a program. When we compile a C# program an Intermediate Language is generated and it is called as Managed Code.
  • Redirecting Standard Input/Output using the Process ClassDec 18, 2001. When a program starts, a new process (a program in execution) is created by the operating system,and this process is identified by its process Id and also a name.

About create-Black-and-White-image

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