C# Corner

Resources  
  • MailIntranet: A Mailing System for IntranetSep 10, 2001. This project is about a mailing system within a LAN environment. May it be a corporate office or a lab or any organization for that matter, this is going to be a useful one to communicate between individuals as well as departments.
  • 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.
  • Yahtzee Program Using C#: Part IIJan 31, 2002. This is an update of the Yahtzee program for VS 2005. Included in this version is a Game Reset and a High Score Tracker. The Top Ten High Scores are tracked using an Array with sortable components. In this article we will talk about the IComparable interface used to make an object stored in an array sortable.
  • Calling Managed Code from Unmanaged CodeMar 11, 2002. One significant part of developers (including myself) are doing some kind of automation of Microsoft Office. So I will concentrate on opposing side of problem, how to use managed assembly from MS Office or VB script. In this article, I will discuss how to call managed code from unmanaged code.
  • 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.
  • Using Genetic Algorithms to Design Logic Circuits in C#Feb 05, 2003. The article goes to explain that GA (Genetic Algorithms) have been used by various programmers to come up with 15 previous patented inventions + (and here is the startling part) some new ones! I can see the running joke in the patent office now.
  • 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.
  • Using C# .NET in Excel 2003May 08, 2003. This article shows how you can take advantage of Visual Studio 2003 tools to write .NET applications that work with Office 2003.
  • 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.
  • 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.
  • 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.
  • Generating Microsoft Excel Reports in .NETMar 01, 2004. Microsoft Excel is installed on most computers these days since it is part of Microsoft office, and you can create detailed reports with Excel, but it will take some doing. I will attempt to show you how to create a simple report in Excel and some of the problems you may encounter along the way, this will work with Excel 97-2000.
  • A Macro for Creating Properties from Private FieldsMay 12, 2004. Macros are a useful way of speeding up your coding efforts, however writing them can be a somewhat daunting task. Luckily, .NET gives you a pretty powerful recording feature for recording macros from key strokes.
  • Learning Visual Studio 2005 IDE - The DesignerJun 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.
  • 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.
  • Refactoring in Visual Studio 2005Jun 11, 2004. Refactoring allows developers to use the built-in feature of Visual Studio to rename and convert and change the signatures and definitions of a class members. In this article, I will show you how refactoring feature provided by Visual Studio 2005 can be a handy tool when you are reorganizing or optimizing your existing projects.
  • 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.
  • In-depth Look at WMI and Instrumentation: Part ISep 14, 2004. WMI provides a consistent programmatic access to management information in the enterprise. It uses the typical provider and consumer concept where you have on one side components providing this management information while on the other side management applications can subscribe and consume it.
  • New Features in C# version 2.0 - Partial TypesOct 12, 2004. Partial types are new addition to C# language version 2.0, which is available with the .NET Framework 2.0 or Visual Studio 2005. This article discusses the partial classes and how to create and use them in your applications.
  • 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.
  • Talk to SharePoint through its web servicesDec 09, 2004. Microsoft Office 2003 is very tightly integrated with SharePoint by utilizing its web services. Windows SharePoint Services comes with sixteen different web services. SharePoint Portal Server 2003 supports an additional five web services. The web services provided by SharePoint do provide a vast array of features.
  • 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.
  • Building a Web Site using Visual Studio 2005Apr 13, 2005. This article gives you a glimpse of new features of Visual Studio 2005. In this article, you will see the power of Visual Studio and how easy it is to build Web sites using new controls without even writing a single line of code.
  • Space Invaders for C# and .NETJun 29, 2005. This is an update of the space invaders game posted on C# Corner 3 years ago for Visual Studio 2005. This version adds spiraling bombs and a ship lives indicator.
  • 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.
  • Learning Visual Studio 2005 IDE - Document Outline in Windows Forms 2.0Aug 02, 2005. We all have seen Document Outline feature in Visual Studio 2003, which allows ASP.NET developers to select a control on a Web Form and in code editor, it would select the code respective to that control.
  • SQL Server Reporting ServicesAug 04, 2005. This article describes how to modify the team reports generated by VSTS or BI Studio over SQL Server 2005.
  • SQLCLR DebuggingAug 09, 2005. In SQL Server 2005, CLR integration allows you to write stored procedures, triggers, user-defined types, and user-defined functions using any .NET Framework language, including Microsoft Visual Basic .NET and Microsoft Visual C#. In this article, I will explain how to debug SQLCLR stored procedure or SQLCLR user-defined function.
  • Application Development using ClickOnce in Visual Studio 2005Aug 12, 2005. This article is an introduction for deploying application using ClickOnce in Visual Studio 2005.
  • Masked Currency TextBox for Visual Studio 2005 BetaAug 14, 2005. There are some problems with the behavior of the current beta version of the MaskedTextBox when you are using currency. This article will show you how to overcome this behavior with an overriding control.
  • Top 10 New Features in ADO.NET 2.0Aug 19, 2005. This article summarizes the new and updated features of ADO.NET 2.0, which ships with .NET Framework 2.0. In my following articles I will discuss these features in more details with sample examples.
  • Enabling Membership Provider for SQL Server 2005Aug 22, 2005. ASP.NET 2.0 brings an important concept called provider model which is used for many new feature i.e. Membership Management, Role Management, Profiles, Web Parts Personalization etc.
  • Adding Picture To Button On OutLook CommandBarAug 24, 2005. This article describes the process to add a picture on a button on an Outlook Commandbar while using Explorer or Inspector.
  • Whidbey C# IDE FeaturesSep 15, 2005. An overview of the new IDE features introduced in Visual Studio 2005 codename Whidbey.
  • Building Managed Code Using Common Language Runtime (CLR) Integration in SQL Server 2005Oct 24, 2005. In this article I am going to talk about a cool new feature of SQL Server 2005 called "CLR Integration", its advantages and how to program database objects using managed code with a simple project in Visual Studio 2005 beta 2.
  • SQLCLR DebuggingNov 10, 2005. In SQL Server 2005, CLR integration allows you to write stored procedures, triggers, user-defined types, and user-defined functions using any .NET Framework language, including Microsoft Visual Basic .NET and Microsoft Visual C#. In this article, I will explain how to debug SQLCLR stored procedure or SQLCLR user-defined function.
  • 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.
  • New IDE Features in Visual Studio 2005Nov 10, 2005. Visual Studio 2005 aims to simplify the development process thereby adding many new features to simplify the overall development experience. This article aims to discuss all major IDE related changes in Visual Studio 2005.
  • Windows Forms WebBrowser ControlNov 10, 2005. Windows Forms 1.0 lacked a Web Browser control. The work around was to use IE ActiveX control using COM Interop. Now Windows Forms 2.0 provides a Web Browser control, which is a managed wrapper of IE ActiveX control.
  • 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.
  • 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.
  • StatusStrip Control in C#Nov 15, 2005. The StatusStrip control available in Visual Studio 2005 is a powerful StatusBar control with the features provided by StatusBar in previous versions. Besides the StatusBar features, StatusStrip also provides ProgressBar, DropDownButton, SplitButton, and Label features.
  • 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.
  • 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.
  • Utilize the Full Functionality of the Whidbey File ManagementNov 15, 2005. This article is based on a pre-release version of Microsoft Visual Studio 2005, formerly code named "Whidbey". All information contained herein is subject to change.
  • Smart HTML Editor in Visual Studio 2005Nov 16, 2005. If you have been writing Web applications using Visual Studio, at some point you would end up editing HTML file by hand. Now HTML Editor available in Visual Studio 2005 now supports Intellisense, which makes developers life much easier when editing HTML file by hand.
  • 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.
  • New Features of Visual Studio 2005 EditorNov 16, 2005. In my previous articles, I discussed various new features introduced in Visual Studio 2005. This article is another addition to the same series. In this article, I discuss some new features of Visual Studio 2005 editor.
  • Manage and Administer ASP.NET Web Sites in Visual Studio 2005Nov 16, 2005. ASP.NET Configuration Wizard is a new feature available in Visual Studio 2005, which takes care ASP.NET Web Application configuration and deployment problems and allows developers to set Web application settings using a visual interface.
  • Generic 'T, K' Database ComponentDec 17, 2005. I have written a C# 2.0 (Visual Studio 2005), Generic <T, K> Database component, The component has simplified the architecture and the implementation by allowing me to keep the number of overloaded methods to a minimum.
  • Generating Excel Reports using ASP.NET and C#Dec 29, 2005. This article and code snippet shows how to generate Excel reports from ASP.NET using Excel objects in .NET Framework.
  • Reincarnation of DataTable in ADO.NET 2.0Jan 09, 2006. The DataTable in ADO.NET 2.0 is a much improved and powerful than previous versions of ADO.NET. In this article, I will talk about new improvements and features added to the DataTable and how to use them in your applications.
  • ASP.NET Caching: SQL Cache Dependency With SQL Server 2000Jan 30, 2006. SQL cache dependencies are one of the most wonderful new features in ASP.NET 2.0, the ability to automatically invalidate a cached data object (such as a DataSet or Custom Data Type) when the related data is modified in the database. This feature is supported in both SQL Server 2005 and in SQL Server 2000, although the underlying plumbing is quite different.
  • How to use Login Control in Visual Studio 2005Jan 31, 2006. In the recent version of Visual Studio 2005, Microsoft has taken care of a very common functionality of the web applications. In the following article we will see that how to use login control using C#.Net.
  • How to Build Multi-Language Web Sites with ASP.NET 2.0 and VS.Net 2005Feb 06, 2006. In this article, we will explore the necessary details for working with resources in ASP.NET applications and for creating international ASP.NET applications based on embedded resources and the integrated localization support.
  • How to Read and Write System Registry Keys using C# (VS.Net 2005)Feb 09, 2006. Most of the time while working with the Enterprise Application will need to store the user preferences inside the windows system registry. In a general term Windows Registry is the database that holds all the settings Windows needs to function.
  • Code Access Security using C# in VS.NET 2005Feb 17, 2006. This article will focus on the definition and configuration of the Code Access Security Policy.
  • Programmatic Interaction with Control Panel Using VS.Net 2005Feb 21, 2006. This is simple sample on using Shell and some of its methods. Provided code will open windows that represent Control Panel’s applications. It’s just demonstration on shell usage.
  • How to Get Permissions Assign to Current Assembly in VS.NET 2005 Using C#Feb 24, 2006. The following code will explain the permissions which are assigned to a current assembly.
  • Thread Synchronization using VS.NET 2005Feb 27, 2006. When two or more threads need access to a shared resource, they need some way to ensure that the resource will be used by only one thread at a time. The process by which this is achieved is called synchronization.
  • How to run Dynamic Crystal Report using Crystal Report Viewer in VS.NET 2005Feb 28, 2006. This article will explain about Dynamic Crystal Report using Crystal Report Viewer.
  • A Practical Approach to .NET Testing using Visual Studio 2005 Test Team SuiteMar 22, 2006. This article will cover practical approach to White box Testing Techniques using Microsoft Visual Studio 2005 Test Team Suite. It covers concepts with a simple, easy to follow example.
  • The ReportViewer control, a local SSRS 2005 Report, and data from a Web Service.Mar 30, 2006. This article explains how to use a ReportViewer control in a C# Windows Application that displays a local SSRS report whose data source is a web service method.
  • Data mining and SQL Server 2005Apr 11, 2006. Data mining is a key member in the Business Intelligence (BI) product family in SQL Server 2005 . Data mining is about analyzing data and finding hidden patterns using automatic or semiautomatic means, which can be explored for valuable information. It is about learning the characteristics of data set, which are not possible to discover by simple seeing.
  • Enhancements in Assemblies and Versioning in Visual Studio 2005May 01, 2006. The article discusses a couple of features introduced for assembly and versioning in Visual Studio 2005 such as referencing assemblies, registering assemblies to GAC, digital signing and friend assemblies.
  • Debug Client Side Script in Visual Studio 2005May 18, 2006. This article is for web developers, because it's target is one of the new feature in Visual Studio 2005 which is debug client side script.
  • Using the System Function fn_listextendedproperty of SQL Server 2005 for .NET Applications: Part IIMay 22, 2006. In this article, divided into two parts, I will compare the system function fn_listextendedproperty of SQL Server 2005 with the similar function of SQL Server 2000 ( Part 1 ), describe using the function for .NET applications ( Part 2 ). The examples are written using Transact-SQL and C#.
  • Using the System Function fn_listextendedproperty of SQL Server 2005 for .NET Applications: Part IIMay 24, 2006. In this article, divided into two parts, I will compare the system function fn_listextendedproperty of SQL Server 2005 with the similar function of SQL Server 2000, describe using the function for .NET applications. The examples are written using Transact-SQL and C#.
  • Unit Tests in Visual Studio 2005Jun 01, 2006. Visual Studio 2005 comes with an integrated Test System, which allows developers to create Unit Test Project using IDE and write code to create unit tests and run them. This article explains how to get started with unit tests in Visual Studio 2005.
  • Using LINQ in Visual Studio 2005Jul 03, 2006. LINQ (.Net Language Integrated Query) is the general-purpose standard query operators that allow traversal, filter and projection operations to be expressed in a direct yet declarative way in any .Net programming language.
  • System Views and Functions in SQL Server 2005 by Steve on Jul 06, 2006 Jul 06, 2006. I tried to explore some basic TSQL functions and VIEWS in SQL Server 2005. I believe this would be useful when we write DDL-DML Statements.
  • ASP.NET Security With SQL Server 2005Jul 11, 2006. This article focuses on security concerm when using SQL Server 2005 in ASP.NET application.
  • User Authentication & Role Management in ASP.NET 2.0 using Sql Server 2005: Part IJul 21, 2006. This article gives you a complete description of the user authentication and how to manage roles for different users using asp.net 2.0 and sql server-2005.
  • Building Control in Visual Studio 2005 with XML as Data Source.Jul 24, 2006. In this article I share how you can build your own Windows controls in Visual Studio 2005 using XML as data source. The examples are written using C#.
  • Understanding Connection PoolingJul 27, 2006. This article is to go in deep in dome key features in the ADO.NET 2 which was shipped with VS 2005. In this article I will go trough one of the key features which is the Connection Pooling.
  • Enabling CLR integration in SQL Server 2005Jul 31, 2006. One of the new features in SQL Server 2005 is the feature to write your own stored procedures using any language supported in .NET. This feature gives you more flexibility to implement any complex logic in your business scenario.
  • Introduction to Common Table Expressions – SQL Server 2005Aug 03, 2006. This article delves into the concepts of Common Table Expressions (CTE) in SQL Server 2005 and their usage.
  • A Guide To Migrate from VS 2003 To VS 2005Aug 07, 2006. This article shows how to to migrate your solution from VS 2003 to VS 2005.
  • TDO - Typed Data Object 2.0Aug 10, 2006. Tdo – Typed Data Object is a set made up of a base classes library and a .NET 2.0 source code generator for Data Layers based on Ms Sql Server 2000/MSDE/2005/EXPRESS databases and the .NET Framework 2.0.
  • User Authentication & Role Management in ASP.NET 2.0 using Sql Server 2005: Part IIAug 15, 2006. This article gives you a detailed idea of how to implement the role management in ASP.NET 2.0 using SQL Server 2005.
  • A Functional Look at Report Builder Client in SQL Server 2005Aug 17, 2006. In this article we will take a brief look at the functionality provided by the Report Builder Client.
  • Accessing Data using Object Data Source in ASP.Net 2.0 and C# Aug 23, 2006. This tutorial demonstrates how to bind data against Objects using Visual Studio 2005.
  • Applied MS Reporting Services 2005 101 using Smart ClientAug 25, 2006. An applied approach to get you started with MS Reporting Services using Smart Client host.
  • Building control derived from Windows Forms control in Visual Studio 2005: Part ISep 13, 2006. Reusability and component oriented development is one of the features of .NET development. This approach may be applied to any project. In this article I share how you can build your own Windows control derived from an Windows Forms control in Visual Studio 2005. The examples are written using C#.
  • Building control derived from Windows Forms control in Visual Studio 2005: Part IISep 14, 2006. Reusability and component oriented development is one of the features of .NET development. This approach may be applied to any project. In this article I share how you can build your own Windows control derived from an Windows Forms control in Visual Studio 2005. The examples are written using C#.
  • Reporting Services 2005 101 using Web ClientSep 18, 2006. A step by step tutorial demonstrating the power of locally processed Reporting Services with the ASP.NET Web Client.
  • Read and write Open XML files (MS Office 2007)Sep 22, 2006. This article shows how to read and write Open XML files (MS Office 2007).
  • Creating SQL Server Database Dynamically in .NET Using SQL DMOOct 05, 2006. It is a sample ASP.NET and Visual Studio 2005 application for creating a SQL Server database at runtime. I have used SQL-DMO dll. This article will show you how to create a database in SQL Server 2005 and 2000.
  • How to change screen resolution in C#Oct 13, 2006. All programmers are facing common problem is how to change screen Resolution dynamically. In .Net 2005 it's very easy to change the screen resolution. Here I will explain you how can we get the Screen resolution and how we will change the resolution at dynamically and while unloading the page it will come as it was before. In dot net we can access the values of user's screen resolution through the Resolution class. It also affects all running (and minimized) programs.
  • Book Store Application using ASP.NET 2.0Oct 13, 2006. This project is done using ASP.NET 2.0 and SQL Server 2005. This application covers all the basic aspects a developer needs.
  • VSTO2005- Usage and deploying a Smart Client ApplicationOct 17, 2006. VSTO2005 has been a great relief to .NET office developers as a result of its enhanced features. It’s been a long time desire for office programmers to have something which would provide them an interface to program the office components just like any other interactive forms.
  • Bulk Copy Operations in ADO.NET 2.0Oct 23, 2006. Bulk copying of data from one data source to another data source is a new feature added to ADO.NET 2.0. Bulk copy classes provides the fastest way to transfer set of data from once source to the other.
  • Enabling Remote Access for users in LCS 2005 - The initial installationOct 24, 2006. In this article we'll take a few moments to understand the process of remote user access.
  • Outlook Integration in C#Oct 31, 2006. This article describes how we can manipulate outlook from Visual Studio 2005.
  • Building the ListBoxesFT_C ASP.NET Web User Control in Visual Studio 2005: Part INov 07, 2006. In multi-part article, I share how you can build your own ASP.NET web user control.
  • Building the ListBoxesFT_C ASP.NET Web User Control in Visual Studio 2005: Part IINov 09, 2006. In multi-part article, I share how you can build your own ASP.NET web user control.
  • Building the ListBoxesFT_C ASP.NET Web User Control in Visual Studio 2005: Part IIINov 10, 2006. In multi-part article, I share how you can build your own ASP.NET web user control.
  • Building the ListBoxesFT_C ASP.NET Web User Control in Visual Studio 2005: Part IVNov 11, 2006. In multi-part article, I share how you can build your own ASP.NET web user control.

About Office-2005

NA

SPONSORED BY

Custom Software Development
MCN is your source for developing solutions involving websites, mobile apps, cloud-computing, databases, BI, back-end services and processes and client-server applications.
Download Free eBooks