C# Corner

Resources  
  • Reading and Wtiting XML DocumentsJan 16, 2001. In this article you will see how to read and write XML documents using XML API available in .NET Framework class library.
  • How to read Windows Registry?Jan 26, 2001. In .NET, the Registry and RegistryKey classes can be used to read and write registry ...
  • 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#.
  • Ouch! There is a Hook in My C#May 15, 2001. As an extension to the J++ design practice, C# has a syntactic construct, called Attributes, which let you drop hooks to Windows API or modify the runtime semantics, like threading synchronization behavior. The C# has legalized the hooking practice by calling them Attributes, and including them in ECMA C# specification.
  • Will Java and .Net Framework Co-exist?May 15, 2001. The article begins by briefly probing what constitutes the Java platform and .NET framework.
  • ADO.NET: What's changed in .NET Beta 2?Jun 20, 2001. ADO.NET API is one of the changed APIs. In this article, I've covered some of ADO.NET changes in Beta 2.
  • Tic Tac ToeJul 16, 2001. TicTacToe is a demonstration of the AI game playing minimax algorithm. The game plays out every possible combination of moves from each position and consequently is unbeatable. This example uses .NET Beta 2 and was written using a text editor.
  • MP3 Tag EditorJul 16, 2001. MP3 Tag Editor is a simple GUI that allows MP3 ID3 (v1.1) tags to be created or edited.
  • C# and APIAug 08, 2001. API (Application Programming Interface) is a set of commands, which interfaces the programs with the processors.
  • Introduction to Pocket PCOct 31, 2001. At the time of writing (Oct 2001) Microsoft has shipped Pocket PC 2002 and also has just released the Visual Studio .NET add-on for Pocket PC called the compact framework.
  • Using MS Agent in C#-Part-I(Text To Speech)Jan 15, 2002. This article explains how to use MS Agent to write text-to-speech applications using C# and .NET.
  • Tutorial: Capturing and Running IE Instances in a Windows controlMar 15, 2002. In this article we are going to study how to find the running instances of Internet Explorer on your machine.
  • Multithreading Part 2: Understanding the System.Threading.Thread ClassApr 08, 2002. In this article we will study the .NET threading API, how to create threads in C#, start and stop them, define their priorities and states.
  • Space Breakout - 2D Game Developed using DirectX and C#Apr 11, 2002. GDI+ is a feature rich graphics API that makes sophisticated graphical effects highly accessible to the C# developers. Unfortunately if youve tried to develop smooth detailed animation using GDI+ you have undoubtedly discovered that just how slow it can be. Consequently it is not particularly suited to games development, if you want to really take advantage of your 1 gig + processor and that fancy new graphics card youre going to have to get a little more low level and dirty, enter Microsofts DirectX API.
  • Space Breakout - 2D Game Developed Using DirectX and C#Apr 11, 2002. GDI+ is a feature rich graphics API that makes sophisticated graphical effects highly accessible to the C# developers.
  • Animate with Pocket PCApr 29, 2002. If you are lucky enough to get the Smart Devices Extensions you will finally be able to target devices like Pocket PCs using C# however like all good things there are a few snags.
  • A Simple Contacts List for Pocket PCMay 19, 2002. I have implemented a simple contact list application that is capable of adding and viewing contact details.
  • Display and Hiding SIP on a Pocket PCMay 21, 2002. When you get your hands on a Pocket PC for the first time you have to wonder just how the heck do you enter information?
  • Getting NASDAQ Quotes with a Pocket PCMay 22, 2002. If you have been lucky enough to get the Compact Framework or Smart devices extension beta for April 2002 you may be wondering what you can do with it.
  • Unit Conversion Tool for Pocket PC with Compact FrameworkMay 22, 2002. I have created a Unit conversion tool to calculate conversion from 16 different types.
  • Using MSIL Code to Close Application ProgrammaticallyJul 18, 2002. You can use MSIL code to call Win32 APIs and one of the simplest example of it is by closing an application programmatically.
  • Sharp HSQL- An SQL Engine Written in C#Aug 01, 2002. .NET! C#! If you haven't been inundated with the marketing of Microsoft's new initiatives, you've been living in your cube without a web connection for quite a while.
  • Double Buffer Drawing with DirectDraw: Part1Aug 15, 2002. Because we will be primary focusing on 2D game programming in the first articles, we will use the DirectX7 API which is perfect for its DirectDraw class and simplicity. Don’t worry for not having the right DLL because DirectX8 has full backward compatibility to DirectX7 and the COM object should already be available on your computer if you have DirectX 8 installed.
  • Scramble for Pocket PCSep 19, 2002. This article shows you how to write Scramble for Pocket PC.
  • Platform Invoke Sample - Changing the Desktop WallpaperSep 27, 2002. In this example we will see how to change the Desktop wallpaper by invoking a Windows API function from C#. The Platform Invoke mechanism allows you to access unmanaged functions implemented in dlls.
  • Printing Directly to the PrinterOct 21, 2002. Using this code enables you to print directly to the printer using WIN32 api calls and therefore should enable you to print at maximum speed rather than relying in the Windows Printing subsystems.
  • Platform Invocation Services in .NET FrameworkOct 25, 2002. This article will cover the details of Platform Invocation Services provided in .Net Framework. Platform Invoke Services acts as a bridge between the managed and unmanaged code. This service enables managed code to call unmanaged functions which are being exposed by any dynamic link libraries (DLL’s) such as Win32 API’s or any custom DLLs.
  • Kill an Application with System Menu using C#Nov 20, 2002. This article uses the Windows API’s to kill the application running under windows environment.
  • Integrating Google Search using the Google Web ServicesNov 20, 2002. This sample shows how to integrate search into your application using the Google Web Service API.
  • Working with Win32 API in .NETNov 21, 2002. Windows exposes lots of functionality in the form of Win32 API. Using these API you can perform direct operation in windows, which increases performance of your application.
  • DigitizeAny - A .NET Windows Digitization ToolDec 17, 2002. DigitizeAny uses Win32 API calls to obtain the coordinates of the cursor and then translates to the graph coordinates once set. Since a mouse click would essentially bring to focus the window where it is pointed to, this tool uses the key event to capture the coordinates of the cursor.
  • Using Remoting to Implement Distrubuted LoggingDec 20, 2002. In an earlier article we had discussed how new tracing and debugging techniques in .NET make debugging easier. In this article we will view the event logging API that comes with .NET.
  • Event Logging in .NET: Using Remoting to Implement Distributing LoggingDec 20, 2002. In this article we will view the event logging API that comes with .NET.
  • Invoking Unmanaged DLL Functions from Compact Framework for Pocket PC Jan 04, 2003. In this example we will use the Compact Framework to create a program containing a launch pad for the Pocket PC.
  • Accessing Sharepoint Portal Server 2001 in .NETFeb 19, 2003. Sharepoint portal server provides a set of COM API that can be used to access its functionality from .NET applications via COM Interoperability. In this article, I will show you how to import SPP functionality in your .NET application.
  • Comparison between PDA/Pocket PC and Workstation FeatureApr 07, 2003. Pocket PC ships with a version of Internet Explorer, affectionately known as PIE (Pocket Internet Explorer).
  • Getting Official DayTime using NIST TimeServerApr 21, 2003. This program shows how to create a simple socket to a NIST timeserver (Port 13) and using the Daytime Protocol, gets the official time.
  • Check Internet ConnectionAug 25, 2003. How to check if your computer is connected to the internet with C#. It's much more easier that other tutorials I've seen in other sites.
  • Developing Pocket PC Applications using .NET FrameworkSep 02, 2003. This article presents the rudimentary knowledge that a developer requires for developing Pocket PC Applications using .Net Compact Framework.
  • Using the .NET compact FrameworkOct 01, 2003. In this article, we will see how to write a simple .NET Compact Framework application and deploy it onto a device. This article provides a step-by-step instruction on how to write the application.
  • Integrate Through Web Interfaces with C#Jan 08, 2004. This article proposes a way for integrating the enterprise applications through web interfaces. Since the web interfaces are widely available for many existing applications, the method may well reduce the cost of building an integration system with less time and get ride of the dependency on other resources.
  • Oracle Data Provider for .NET : Part VIFeb 20, 2004. Oracle Data Provider for .NET (ODP.NET) is an implementation of a data provider for the Oracle database. ODP.NET uses Oracle native APIs to offer fast and reliable access to Oracle data and features from any .NET application.
  • Oracle Data Provider for .NET : Part IIIFeb 20, 2004. Oracle Data Provider for .NET (ODP.NET) is an implementation of a data provider for the Oracle database. ODP.NET uses Oracle native APIs to offer fast and reliable access to Oracle data and features from any .NET application.
  • Oracle Data Provider for .NET : Part IFeb 20, 2004. Oracle Data Provider for .NET (ODP.NET) is an implementation of a data provider for the Oracle database. ODP.NET uses Oracle native APIs to offer fast and reliable access to Oracle data and features from any .NET application.
  • Oracle Data Provider for .NET : Part VIIFeb 20, 2004. Oracle Data Provider for .NET (ODP.NET) is an implementation of a data provider for the Oracle database. ODP.NET uses Oracle native APIs to offer fast and reliable access to Oracle data and features from any .NET application.
  • Oracle Data Provider for .NET: Part VFeb 20, 2004. Oracle Data Provider for .NET (ODP.NET) is an implementation of a data provider for the Oracle database. ODP.NET uses Oracle native APIs to offer fast and reliable access to Oracle data and features from any .NET application.
  • Oracle Data Provider for .NET : Part IVFeb 20, 2004. Oracle Data Provider for .NET (ODP.NET) is an implementation of a data provider for the Oracle database. ODP.NET uses Oracle native APIs to offer fast and reliable access to Oracle data and features from any .NET application.
  • Oracle Data Provider for .NET : Part IIFeb 20, 2004. Oracle Data Provider for .NET (ODP.NET) is an implementation of a data provider for the Oracle database. ODP.NET uses Oracle native APIs to offer fast and reliable access to Oracle data and features from any .NET application.
  • Real Time Communications in .NETMar 12, 2004. This white paper shares concepts of real time communications in .Net and its applicability in real world. A real-time communication system is used in applications where time is a critical factor.
  • Tablet PC - Frequently Asked QuestionsApr 01, 2004. This article answers some of the frequently asked questions related to Tablet PC and Tablet PC application development.
  • Using Map in a Pocket PC ApplicationApr 19, 2004. GPS enabled applications are a good example of using a Pocket PC to locate a Pocket PC user. This attached application is a location based Pocket PC application developed using .NET compact framework.
  • University Student Registration Application in ASP.NETMay 03, 2004. The aim of this project is to implement a Web application, where students can register for an online course. If the user is an administrator, he can add and remove courses and modify the student information.
  • My First Tablet PC Application using C#May 24, 2004. This step by step tutorial shows you how to create your first Tablet PC application using Visual Studio .NET and C# with the help of Microsoft Tablet PC API.
  • Saving and Loading Ink on InkPicture Control in C#Jun 02, 2004. This article shows a real-world usage of Tablet PC InkPicutre control and ink. The attached file is a Visual Studio 2003 project, which allows you to load an image file, write on the image using ink and save the ink. It also allows you to load and view the saved ink on the image.
  • Working with Tablet PC InkEdit Control in C#Jun 02, 2004. Tablet PC SDK provides two very powerful but easy to use Ink controls for Ink recognition. These two controls are - InkEdit and InkPicture. This article discusses how to work with InkEdit and InkPicture controls.
  • Setting Ink Overlay Properties in Tablet PCJun 02, 2004. In this article, I will write an application that allows us to set the Ink Overlay properties dynamically based on the values selected by the user.
  • Using the Tablet PC as a Flashing Restaurant Menu in C# and .NETJun 08, 2004. This is a simple application written for a restaurant using Tablet PC that allows you to list such things as lunch specials and have the colors on the board change randomly to produce an interesting flashing sign effect.
  • Using Tablet PC Ink on Windows ControlsJun 23, 2004. You can use any control as a surface for the ink and can write on these controls using a Tablet PC pen. To make a control ink enabled, you must have to assign the handle of the control to InkOverlay handle.
  • Working with Tablet PC InkPicture Control in C#Jun 24, 2004. Tablet PC SDK provides two very powerful but easy to use Ink controls for Ink recognition. These two controls are - InkEdit and InkPicture. This article discusses how to work with InkPicture control. See Working with Tablet PC InkEdit control to work with InkEdit control.
  • Tablet PC Ink Editing Modes - Select and Delete InkJun 25, 2004. In my previous articles, I discussed how to use Ink and set its properties to draw on a Windows Forms and Windows controls. In this article, I will discuss some more features of Tablet PC Ink including selecting and deleting ink, Ink collection, and Ink object.
  • OneNote 2003 - An IntroductionJul 13, 2004. Microsoft Office OneNoteTM2003 is part of next generation of Microsoft Office products. It allows users to electronically capture, organize, and reuse notes on thick clients.
  • HTTP Handlers in ASP.NETAug 24, 2004. The low level Request and Response API to service incoming HTTP requests are HTTP Handlers in ASP.NET. All handlers implement the IHttpHandler interface, which is located in the System.Web namespace. Handlers are somewhat analogous to Internet Server Application Programming Interface (ISAPI) extensions.
  • MSMQ on Pocket PC 2003Sep 27, 2004. This article builds on top of the existing article "MSMQ, your reliable asynchronous message processing". It will show how MSMQ can be used on Pocket PC 2003 and at the same time provide an introduction to mobile development and the Compact Framework (CF).
  • Pocket Trilma.NETOct 04, 2004. Pocket Trilma.NET is a Pocket PC version of project Trilma.NET.
  • How to synchronize data in Pocket PC and main databaseOct 06, 2004. The main objective of the article is to present how to synchronize the data between the Pocket PC database and main database using Pocket PC Emulator and Web Service in .NET
  • Coloring the Console in C# Oct 25, 2004. When working with console applications in C#, you always see a black and white screen. What if we want to change the background color of the console? We can change the foreground and background color of our console application by using win32 API SetConsoleTextAttribute().
  • Moving C Structures into .NET with Custom MarshalingDec 17, 2004. Microsoft provides several attributes for marshaling C to C#. In our example we will take the case where we have hundreds of structures and only a few API calls, so we only need to generate the marshaled code for the structures.
  • Public Key Token Generation AlgorithmJan 31, 2005. The PublicKeyTokenGenerator class and a small utility that generates Public Key Token from the Public Key using that class.
  • Rotating the text display on a Pocket PC/Win CE deviceFeb 01, 2005. In this article let us try to understand why rotating a text/bitmap is difficult to achieve on a Pocket PC 2003/Win CE 4.2 device.
  • Pocket PC 2003 : Saving the Signature as a BitmapFeb 15, 2005. The System.Drawing.Graphics namespace is commonly used for almost any forms in the desktop framework, hence it has got lots of facilities to draw any kind of image on to the device context.
  • .NET Color ListBoxApr 26, 2005. .Net ListBox control itself works fine, however as a base class for further derivation it is fundamentally flawed. The root of evil is in the Windows API ListBox. .Net ListBox is just a wrapper for this control.
  • Adding new Windows User Account using Active DirectoryMay 21, 2005. This article uses Active Directory to add new user account. The Active Directory will be accessed using windows native protocol (not LDAP).
  • Programming with .NET Compact Framework 1.0 and SQL CE 2.0 : Part IJul 26, 2005. This article covers various major components for developing application for PDA .Before developing application targets to PDA device its very important to understand .NET compact framework, supported/unsupported features for smart device development, Difference between .NET compact framework and .NET framework and of course SQL CE if you want to store application data in SQL database.
  • Understanding ADO.Net Provider Factory in .Net 2.0Aug 08, 2005. This article describes the ADO.NET Provider Factory in .NET 2.0
  • ASP.NET Whidbey FeaturesNov 10, 2005. ASP.NET 2.0, the latest version of ASP.NET has many improvements that greatly increase developer productivity. This article gives you a peek into many of these new features available in ASP.NET Whidbey.
  • Databinding with Pocket PCNov 11, 2005. This articles shows how to write data-driven applications for Pocket PC using ADO.NET and .NET Compact Framework.
  • Sudoku generating and solving using C# in PocketPC SDKNov 20, 2005. The article is about a program writen in C# to create a simple game application - sudoku. The game can generate several diffculty level sudokus with one solution, solve previously entered puzzles etc.
  • Playing Sounds in .NET 2.0 Using Sound PlayerFeb 13, 2006. If you have ever played sounds in your applications, you must be familiar with PlaySound() WIN32 function. Prior to .NET 2.0, there was no way to play sounds thorugh the managed API. The SoundPlayer class introduced in .NET 2.0 now allows developers to play sounds using managed API.
  • Message-level Declarative Security Using WSE 3.0Mar 06, 2006. Web Services Enhancement version 3.0 (WSE 3.0) is a SOAP extension managed API (Microsoft.Web.Services3.dll) compatible with the .Net Framework 2.0. This article explores WSE 3.0 in terms of implementing message-level declarative security to Web services and Web service clients.
  • Visual WebGui a unique approach to AJAX development Apr 20, 2006. Visual WebGUI is the first AJAX framework that lets you develop in full WinForms server side API, including design-time capabilities for creating rich internet application like outlook web access.
  • Considerations in Porting and Deploying a WinForms GDI+ Game to the Pocket PCJul 09, 2006. This article describes some of the issues I came across when porting a Windows Form Game to the Pocket PC. It also describes how to deploy a Windows Mobile Application from Visual Studio 5.
  • The .NET 2.0 Framework Provider PatternAug 11, 2006. The Provider Model Design Pattern was first introduced with the .NET 1.1 framework, specifically in the ASP.NET starter kits and was formalized in ASP.NET Whidbey as a membership management provider API (Application Program Interface). It's primary purpose is to separate the definition for an API from the implementation. This keeps the API flexible by enabling the core functionality to be flexible and easily changed.
  • Intergrating with google Search APIAug 17, 2006. This article will show us how to integrate with "Google Search API" from our windows application or web application.
  • Packing List for the Pocket PC in the .NET Compact FrameworkNov 10, 2006. This article demonstrates a pocket pc packing list application to help you track moving inventory. The application is written in C# for the .NET Compact Framework (1.1) and shows you how to overcome some limitations in the framework such as scrolling a form and searching nodes in XML.
  • The .Net Way of Calling APIs Jan 01, 2007. This article explains how an API can be called from .Net
  • Refreshing a parent page from a child in ASP.NET 2.0 Jan 19, 2007. I'm going to explain how to refresh a parent page from a child page using the new API of ASP.NET 2.0 and JavaScript language.
  • Digital Ink in WPFApr 11, 2007. Digital ink used to only be available as part of the Tablet PC SDK. Now it is bundled with Windows Presentation Foundation. This tutorial demonstrates how easy it is to integrate digital ink into your Avalon applications using XAML and C#.
  • Reading and Writing XML using XLinqJun 21, 2007. XLinq is a new API to work with XML using LINQ. XLinq is more flexible, simple, and faster programming model to read, write, manipulate, and traverse XML documents.
  • Find and Close the window using WIN APIFeb 01, 2008. This article explains how to find and close the window using Win API.
  • Find, Minimize, Maximize, Restore the windowFeb 05, 2008. This article explains you how to find, minimize, maximize, restore the window using win API.
  • Google Maps Control for ASP.Net - Part IMar 27, 2008. This is a user control for ASP.Net. You can use this control to insert google map in your aspx pages.
  • Transfer any files on Web services by c#Mar 27, 2008. We can use Microsoft SOAP protocol to transfer any files between a client and a server.
  • Using the Prosper API to Automate the Loan MarketApr 23, 2008. This article describes how to begin building applications specifically geared to the Prosper.com website. Prosper.com is a popular auction-style site that helps fulfill loans to individuals through a bidding process.
  • How to Generate an XML Document Programmatically-Using System.Xml.XmlWriter: Part IIIJun 26, 2008. In previous articles, I demonstrate how to generate a given xml file using both the DOM “Document Object Model” and the SAX “Serial Access parser for Xml” technologies. In fact, they are very interesting API for handling xml entities or files but the dot net provides us another way to achieve the same goal.
  • Catch a Snapshot via your webcam using C#: Part VIINov 08, 2008. In this article, I will show how to catch a snapshot view from your personal web cam.
  • Coding Better: Programming From the Outside In. Part IJan 25, 2009. Modeling an API for a domain is a difficult task. The trick is to get the correct level of encapsulation/abstraction while making the API easy to understand and consume. If we can model our domains at the same level that we understand them linguistically then we are 90% of the way there. This article discusses a programming methodology by which we can build a concise interface that will provide a consistent level of abstraction and is easy to code against.
  • Coding Better: Programming From the Outside In for Fluent Interfaces. Part IV - A Real World ApplicationFeb 09, 2009. In this article we'll look at building a fluent interface to abstract parameter assertions which gives us readable code that closely models spoken/written language. This will make code consuming our API contain less code debt and reduce the total cost of maintenance.
  • Integrate XML Data Within your ASP Page Using XLINQ: Part IIFeb 18, 2009. In this tutorial I will expose a technique to integrate XML data within your ASP page using XLINQ API.
  • 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.
  • Handling the power off button in Pocket PC in C#Aug 18, 2009. In this article we will see How to handle the code if power is being switched off in Pocket PC.

About Tablet-PC-API

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!
Visual Studio Live - Redmond 2016