C# Corner

Resources  
  • 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.
  • Assemblies : The Ins and Out : Part IApr 13, 2001. In Part 1, I will cover what exactly an assembly is, and what an assembly contains.
  • 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".
  • Assemblies : The Ins and Out : Part IIIApr 20, 2001. In this part I will discuss in more detail than Part 2, the available utilities for manipulating assemblies.
  • 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.
  • Serializing Objects in C#May 14, 2001. In simple words serialization is a process of storing the object instance to a disk file. Serialization stores state of the object i.e. member variable values to disk. Deserialization is reverse of serialization.
  • Word Jumble In MobileJun 13, 2001. Here is an application where u can Play Word Jumble in Mobile.
  • 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.
  • 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 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.
  • Using MS Agent in C# - Part-IIIJan 09, 2002. In this article, I will show you how to write a program which lists all the animations of the loaded characters which speak to us using synthesized speech, recorded audio, or text in a cartoon word balloon.
  • Creating an Excel Spreadsheet ProgrammaticallyJan 22, 2002. The Interoperability services make it very easy to work with COM Capable Applications such as Word and Excel. This article reveals using Excel from a managed application. Excel is the spreadsheet component of Microsoft Office 2000.
  • Creating an Excel Spreadsheet ProgrammaticallyJan 22, 2002. The Interoperability services make it very easy to work with COM Capable Applications such as Word and Excel. This article reveals using Excel from a managed application. Excel is the spreadsheet component of Microsoft Office 2000.
  • N-Tier Development with Microsoft .NET : Part IFeb 15, 2002. The purpose of this article is to examine a proof of concept on an architecture that follows the DNA pattern on concept only.
  • 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?".
  • JIT CodingMar 11, 2002. One not so well known feature of .NET platform is possibility to invoke compiler and practically create code and assembly from running instance of application. It is possible to do that in two ways. First one is a bit simpler and involves namespaces System.CodeDom and System.CodeDom.Compiler, second one is more efficient and utilizes namespace System.Reflection.Emit. Since there are very few examples about how to use System.CodeDom.Compiler I will start with it.
  • Spell Check Web ServiceMay 31, 2002. In this example we will create a Web Service which provides spell check functionality.
  • Programming Template in Web Server ControlsJul 15, 2002. Templates play a major role in managing the layout and format of the data being displayed in ASP.NET data bound controls.
  • Hex Colors in C#Sep 05, 2002. Currently I am developing a shareware application for generating image galleries for the web. There is a template engine built in that allows the user to specify colors as hexadecimal values, plus many other features.
  • The "ins" and "outs" of Using Stored Procedures in C#Jan 27, 2003. This article reviews the creation of stored procedures with parameters using the Visual Studio IDE.
  • Using C# and COM Interoperability to Extract from a UML tool into a Microsoft Word DocumentFeb 18, 2003. This article allows you to read the classes contained inside of WithClass 2000 into a Word Document using COM Interoperability for Word and COM Interoperability for WithClass and presents your classes in a kind of report.
  • Basics of Extending Your Working Environment in Visual StudioApr 10, 2003. All of us have used Macros in Microsoft Office and Add-ins in Visual Studio 6 and I am very sure all of us have been impressed as well by their power to control their own working environment.
  • ODBC usage in .NETSep 24, 2003. This article will provide a template of how to represent a smallint, integer, decimal, varchar and other ODBC data types that are used in the SQL Server environment in COBOL.
  • Creating Word Find Pzzules in C# and GDI+Sep 30, 2003. In the past I have been guilty of trying a few of word find puzzles myself, so I figured why not give it a go it .NET. The Word Find creator reads a MSDE database of Words and Categories.
  • Creating Word Find Pzzules in C# and GDI+Sep 30, 2003. Perusing the newsstands in New York you'll find newspapers, TV-Guides, magazines, and even books. In the magazine section you'll often find crosswords and books containing the puzzles you'll see in figure 1. The books contain pages and pages of puzzles with hidden words contained in the matrix of letters in which you can spend time going blind trying to find.
  • Creating Word Find Puzzles for the Web in C# and GDI+ Part IIOct 06, 2003. This article shows you how to create Word Find Puzzle application for the Web using C#, GDI+, and ASP.NET.
  • Creating Word Find Puzzles for the Web in C# and GDI+ Part IIOct 06, 2003. In our last article we showed you how to create Word Find Puzzles inside of a Windows Form. This article will show you the migration process of bringing it over to an ASP.NET application.
  • Code Generator for Basic Stamp II MicrocontrollerOct 15, 2003. The Basic II Stamp is programmed by the language its named after, Basic. The language is a combination of Basic syntax and built in key words that control the Basic Stamp II chip.
  • Office11 Solution using .NET - A White PaperNov 25, 2003. This detailed white paper contains the information about Office 11 support for Microsoft .NET. It also explains Office 11 object model and how to access Word and Excel documents using Visual Studio .NET.
  • 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.
  • Leveraging on XML feature of Microsoft Office Word 2003Nov 24, 2004. Word 2003 came up with a new feature of saving the conventional word document (.doc) files in the XML format. You can retrieve the information inside the Word 2003 documents by using the XPath queries and some logic.
  • Automate the process of documenting your codeDec 04, 2004. The Visual Studio .NET IDE allows to document your code in a way that the compiler can create an XML document describing your classes, methods, properties, etc. This article explains how to use this feature and then create a basic help file out of it.
  • Writing HTML Content to the Screen in Word Document Format In a ServerFeb 10, 2005. This article explains a smple way to create a Microsft Word document representation of some HTML in a server.
  • MADLibs.NET and C# and ASP.NETMar 22, 2005. The MadLib.NET game will continue to prompt the user with each grammar only in the <> brackets. When the programming engine reaches the end of the template, the story is displayed.
  • Design Patterns in C#Nov 01, 2005. To define design patterns in simple words they are "popular solutions for common design problems". They are very helpful in designing architecture and they also increase ease of communication among the developers.
  • Presenting Child Data along with Parent Row in Data GridNov 10, 2005. This article explains how we can bind the parent and child data to a Data Grid with minimum code effort using the Repeater control.
  • 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.
  • Using Snippets in Visual Studio 2005Nov 10, 2005. Visual Studio contains several built-in intellisense code snippets. Snippets are like templates and can be described completely in XML. If you understand the snippet xml schema, you can easily begin to create your own snippets.
  • Template for Designing Web ApplicationNov 14, 2005. This article explains to develop a web application with ease and make it more robust and scalable.
  • Master Pages in ASP.NET 2.0Nov 15, 2005. Master pages is a new concept in ASP.NET 2.0, which allows site developers to build master templates for their site's look and feel and put all common code which is shared by all the pages.
  • Building Windows Longhorn Applications using Visual Studio codename WhidbeyNov 15, 2005. The preview version of the next version of Visual Studio 2003 is called Visual Studio codename Whidbey. Visual Studio Whidbey has a support for building applications for Windows codename Longhorn, which is a new addition to the Windows operating systems series and successor of Windows XP.
  • Creating Custom Template for Web User Control in Visual Studio.NET 2003 Nov 25, 2005. This article shows you how to create custom template for web user control in visual studio 2003. The attached sample application will install the custom template for the name given for either VB or C# language and also uninstall the custom template.
  • A Loader and Game Pad for Playing SudokuJan 13, 2006. This C# application will allow you to load existing Sudoku games, manually create your own games, save, print, and check Sudoku puzzles, and more. The article also describes how to use the XmlDocument class to persist Sudoku templates and games in progress.
  • Creating Custom Templates in SharePointJan 29, 2006. This article is all about creating custom templates in SharePoint.
  • Generics in C# 2.0Feb 02, 2006. In this article we will see how we can use generics in C#, we have read this concept as templates in C++.
  • An Introduction to C# GenericsFeb 06, 2006. There is a reality; most of the developers confuse about C# Generics. Actually, there is no reason for that. If your background comes from C++ or Java you may understand more easily. What “Templates” tell you from your C++ knowledge or “Generics” from Java.
  • Counting Words in C#Feb 14, 2006. This article shows a function that returns number of words rather than number of characters.
  • AJAX Repeater control Feb 19, 2006. AJAX has been in shadows for a decade now but it started buzzing right after the launch of the Google Earth. This article shows how to create an AJAX Repeater control with item, header, footer, alternative item, and seperator item templates using AJAX and ASP.NET.
  • Reading a word document using C#Feb 27, 2006. This tutorial is basically for C# beginners. It describes how to read a word document using C#.
  • Download Word Documents from Server Using ASP.Net and C#Feb 28, 2006. Again, this is for beginners to have a method of downloading and reading word documents from server.
  • Creating MS Word Document using C#, XML and XSLTMar 21, 2006. This simple program demostrate how to create well formatted MS Word documents using C#, XML and XSLT. Using XSLT to create Word documents requires the knowledge of RTF key words.
  • AI: Using Genetic Algorithms and NetSpell to Solve AnagramsMar 27, 2006. Remember the puzzles where you are given a jumble of letters and you have to unscramble a word? This article shows you how to use a genetic algorithm and NetSpell, an open source spell checker, to solve these anagram puzzles.
  • An Elegant C# Data Access Layer using the Template Pattern and GenericsMay 22, 2006. The GOF Template pattern coupled with .NET 2.0 Framework generics provides an awesome synergistic alliance. This article demonstrates how to drastically reduce the amount of code required in building a data access layer. Less code to debug... less code to break... less code to maintain... what could be better?
  • Capturing Desktop and saving image in a Word DocumentJun 14, 2006. This code will allow you to capture your desktop and save the image into a word document.
  • AJAX Document Management - AJAX Document ViewerJun 16, 2006. AJAX (Asynchronous JavaScript and XML), is a web development technique for creating interactive web applications. The intention of AJAX is to exchange small pieces of data with the server without the necessity of reloading the entire web page.
  • Dynamic Data Grouping using MS Reporting ServicesAug 07, 2006. This article shows to generate multiple outputs from a single physical report template using dynamic data grouping.
  • Enhanced way to send E-mail with a TemplateOct 06, 2006. E-mail is used to send notification to customer nowadays, and since any smart developer try to send any notification in a professional format, one of these issues to send your notification in a template, this template might be your employer template or any other template you want to send it from your application.
  • Creating and Opening Microsoft Word Documents from .NET Using C#Oct 25, 2006. This article answers "how do I open a word document from within a .NET application."
  • An Easy Way to Embed Word in a Web PageJan 24, 2007. This article describes an approach to displaying word documents within a web page using a simple custom server control.
  • Word to HTML Converter using ASP.Net 2.0 and Microsoft 11.0 object LibraryMar 26, 2007. This article uses "Microsoft 11.0 object library" & process the word document in the backend and convert to HTML document.
  • Notepad with Advance FeaturesApr 03, 2007. This is Notepad with advance features. It is combination of word process and Notepad.
  • XML Data Binding in WPFApr 11, 2007. This article describes how to bind XML data using a data template in WPF and XAML. For ease of demonstration, the XML is defined as a resource within the XAML document.
  • Word automation using C#May 11, 2007. Word Automation through C# is all about programmatically generating the Word Document using C# code. Almost all of the tasks which we perform on word 2003 can be done programmatically using C# or VB.
  • Spell check enabled RichTextBox custom controlMay 16, 2007. This article describes a quick and simple approach to applying a spell check function to the rich text box control and bundling both features into a single custom control. Of course there is nothing novel or particularly interesting about performing spell checking upon a selection of text using the Word.DLL.
  • How Do I Bring a Microsoft Word Table into a DataGridView?Jun 12, 2007. This Article will answer the question: "How do I import a table in MS Word into a DataGridView using Visual Studio's built in Tools for Office.
  • Color Syntax Editor Part II - Exporting a RichTextBox to a Microsoft Word DocumentAug 14, 2007. This article is part II of a color syntax editor created back in 2003. It describes how to export the contents of the RichTextBox to Word and Open the Word Document Programmatically.
  • Introduction to Building a Plug-In Architecture Using C#Sep 10, 2007. In this article we'll take another look at how we can use the state pattern to build a plug-in architecture that will allow us to change the behavior of our application by placing differnt plug-ins into a folder.
  • Automatic Reading and Verification of Microsoft Word document in C# using Aspose.WordsJan 17, 2008. Student Course Registration and Verification automatically reads the Roll Number slips in a Microsoft Word document. It parses the Microsoft Word document and then makes corrections if required. It also saves the document at the specified location.
  • How to manipulate word images programmaticallyFeb 01, 2008. This article explains you how to manipulate images by using Aspose.words.
  • Parsing Sentences and Building Text Statics in C#Feb 15, 2008. This article describes three approaches for parsing the sentences from a body of text. This demonstration application also describes an approach to generating sentence count, word count, and character count statistics on a body of text.
  • Host a combo box column within a DataGridView control Feb 26, 2008. In this article I willl show how to host a data grid view combo box column within a data grid view control.
  • Working with Word using C# and COM ServerMay 21, 2008. This article shows us how to working with Word using C# and COM Server.
  • Nested Master Pages in ASP.NET 3.5Sep 02, 2008. Nested Master pages are used when you are build a hierarchy of templates for your web site. This article explains the improved designer for creating Nested Master pages in Visual Studio 2008 and ASP.NET 3.5.
  • Adding FooTnotes to a Word Document Programatically (MS Office 2007 word)Oct 06, 2008. This is an article about adding footnotes to a word document programatically. I had this as one of my requirement while generating word documents dynamically, and i really struggled to acheive it, as well as find some help online.
  • SharePoint Quick Start FAQ: Part IIIJan 15, 2009. This is my third series of SharePoint Quick Start FAQ. We will cover page templates , page instances , WSS model , understand safe mode processing , deploy custom controls and understand WebParts. So let’s drink the SharePoint wine series by series, slowly , maintain the hangover and enjoy this great product.
  • Introduction to Dynamic Data Web Application Model: Part IJan 15, 2009. This article gives an introduction to Dynamic Data Web Application Template
  • Introduction to Dynamic Data Web Application Model: Part VIFeb 18, 2009. This article explains about interfacing Stored Procedures and Dynamic Data Entities Web Application template.
  • Creating Excel/Word/HTML Document Using C#Feb 24, 2009. This article describes a simple approach to create Excel/Word/HTML document using C#, ADO.Net dataset without using interop/excel assemblies reference.
  • Introduction to Template Method PatternFeb 27, 2009. This article explains about Template Method Pattern in C#
  • Introduction to Visual Studio Add-insMar 03, 2009. This article explains about Visual Studio 2008 Add-ins.
  • Introduction to Templates in Visual Studio 2008Mar 04, 2009. This article explains about Visual Studio Templates.
  • Introduction to Interfacing Win Forms with VS Add-insMar 04, 2009. This article explains about integration of Windows Forms with Visual Studio Add-ins.
  • Paging and Sorting ListViews with ASP.NET MVC and jQueryMar 23, 2009. This article provides a simple example of using jQuery along with the jQuery tablesorter and tablesorter.pager plug-ins to provide sorting and paging support for a listview within the context of an ASP.NET MVC application. JQuery has partnered with Microsoft and is now integrated within the IDE to include the availability of intellisense support.
  • 8 Steps to create workflows using SharePoint designer Apr 15, 2009. Workflows are now an integral part for any project. You can build a SharePoint work flow using the available templates, SharePoint designer and using visual studio 2005 / 2008. This tutorial will mainly concentrate on work flow creation using Sharepoint designer. We will walk through the basic 8 steps needed to create work flows using Sharepoint designer.
  • Customizing GridView control for data modificationsApr 29, 2009. This article is intended to illustrate how to customize GridView controls for data modification.
  • 7 Simple Steps to Enable HTTPS on WCF WsHttp BindingsJun 23, 2009. When we talk about WCF security there are two ways one is the transport level security and the other is message level security. Transport level security is nothing but built in security by protocols itself. In message level security we need to encrypt the data, in other words security is injected in the data itself. In this article we will look in to how we can implement transport level security using WsHttp bindings. We do not need to do extra development for transport level security because it’s more of the protocols inherent security model. In this article we will implement WsHttp using HTTPS as transport security.
  • Export Data Grid in Excel Word And Text FileJul 03, 2009. In this article I am going to show how we can export data grid in excel, word and notepad file.
  • Button Control Template In Silverlight 3Jul 07, 2009. Using Blend 3 Creating Button Control Template in Silverlight 3
  • Dynamic Data Web Application in ASP.Net 3.5 Extension Part#2Jul 10, 2009. This is Part#2 of ASP.Net Dynamic Data article series. This article will give introductions of different scaffold templates. This article will explain how to customize the templates also. This article is containing three samples which is demonstrating, how to update the default templates.
  • Opening a Word Document in ASP.Net MVC ApplicationJul 23, 2009. This Article will explain , How to open or display a word document in ASP.Net MVC application.
  • Developing a New Control Using VSM in Silverlight 3Jul 31, 2009. Silverlight provides a Visual State Manager (or VSM) that manages different states as users interact with controls. For example, you might want to change the background of the Button as the user mouses over it and make it look slightly bigger or smaller when a user clicks it. All of this can be done using the Visual State Manager. The discussion that follows will walk through show how custom templates and VSM states can be created visually.
  • Programming SharePoint ListAug 21, 2009. In this article, I am going to show how we could work with SharePoint items using object model or in other words using .Net code.
  • Programmatically creating folder in SharePoint Document libraryAug 24, 2009. In this article, I am going to create folder inside a document library using the SharePoint object model or in other words using .Net code.
  • Viewing Word Documents in WPFSep 25, 2009. WPF does not support the functionality to view Microsoft Word documents but there is a work-around for this problem. This article demonstrates how to view a word document in WPF using the DocumentViewer control.
  • Add Digital Signature to Documents in a Document Library using C#Sep 27, 2009. I had a requirement that involved adding a digital signature to word documents uploaded on a document library when the document is approved. This article discusses step by step how to add digital signatures to word documents.
  • Show Data in WPF DataGrid using DataSet data templateOct 26, 2009. This article will demonstrates how to show data in wpf datagrid using dataset data template.
  • .Net Batch Job TemplateDec 07, 2009. This article shows how to create a reusable batch job template.
  • Cloud Computing - SaaSJan 19, 2010. Cloud computing is the current buzz word in the air. This paper begins by asking just what exactly is cloud computing.
  • Adding an Image to a Word Document Programmatically (Microsoft Office 2007)Jan 31, 2010. This article is about the details of adding an image to a Word document programmatically.
  • Working with Data in ASP.NET 2.0: Master Pages and Site NavigationFeb 25, 2010. ASP.NET 2.0 introduces two new features that greatly simplify implementing both a site wide page layout and navigation scheme: master pages and site navigation. Master pages allow for developers to create a site wide template with designated editable regions.

About Template-in-Word-2013

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