Search
     
Forgot password?| Not a member?
Welcome to The CodeGain
The CodeGain.com dedicated to providing you with information on the latest MicroSoft technologies. We are help you become the best software professional you can be. We've also got some of the best forums around to provide immediate answers to your tough questions.
 Latest News
Visual Studio 2010 Ultimate Edition Rocking!!!
Microsoft Visual Studio 2010 provides an integrated environment of tools and server infrastructure that simplifies the entire application development process. Deliver business results using productive, predictable, customizable processes and increase transparency and traceability throughout the lifecycle with detailed analytics. Download
 Featured Article
A Test Driven Development Tutorial in C# 4.0

Introduction - Defining the Battlefield

This tutorial is an short introduction to using Test Driven Development (TDD) in Visual Studio 2010 (VS2010) with C#. Like most of my examples it's based on a game.

Recent Articles
Consuming URL Shortening Services – bit.ly
This is a very hot article that you can’t leave without checking it first. This article is talking about the most popular and powerful URL shortening service ever, bit.ly. Today, we are going to talk about bit.ly API, its functions, and how you can access them from your .NET application. Don’t forget to download the sample code at the end of the article. Let’s go!
By: Geming Leader    |    On:  02 Sep 2010 15:47:53   |    Article
Simulating CWinApp::OnIdle in C
MFC allows you to override CWinApp::OnIdle function to perform idle-time processing. This function is called whenever there’re no messages are waiting for processing in the message queue. In this function, you can perform some secondary processing like updating the status bar, toolbar, etc.
By: Geming Leader    |    On:  02 Sep 2010 12:38:19   |    Article
BeginPaint/EndPaint or GetDC/ReleaseDC?
Which is better, to use BeginPaint/EndPaint, or to use GetDC/ReleaseDC?
By: Geming Leader    |    On:  02 Sep 2010 12:34:34   |    Article
Converting Colors to Gray Shades
This article discusses how you can display the page in print preview as grayscale if the printer is black-and-white. It discusses first how you can convert colors to grayscale. After that is discusses how to detect whether you are in print preview or not and whether the current printer is color or black-and-white printer. Let's go!
By: Geming Leader    |    On:  02 Sep 2010 12:06:14   |    Article
A Short Speech about Unions
A union is a memory location that is shared by two or more different types of variables. A union provides a way for interpreting the same bit pattern in two or more different ways (or forms.) In fact, unions share structures lots of characteristics, like the way they defined and marshaled. It might be helpful to know that, like structures, unions can be defined inside a structure or even as a single entity. In addition, unions can define complex types inside, like structures too.
By: Geming Leader    |    On:  02 Sep 2010 11:57:44   |    Article
How to use the LinqDatasource in .NET
I have used data source control many times and its great it provides us great features for declarative binding. LinqDataSource Control is a great control and it allows us to bind linq queries without writing any code declaratively
By: jalpesh    |    On:  02 Sep 2010 11:22:29   |    Article
Consuming URL Shortening Services - Cligs
This is another article that talks about URL shortening services. Today we are going to talk about Cligs, one of the popular shortening services on the web. Be prepared!
By: Geming Leader    |    On:  02 Sep 2010 15:44:45   |    Article
How to export data to excel and charts in asp.net
in this article, i'm going to explain how to export data to excel sheet and charts ASP.NET
By: usamawahabkhan    |    On:  01 Sep 2010 09:32:40   |    Article
Consuming URL Shortening Services - Tweetburner (Twurl)
Just another article of the URL shortening services series. Today, we are going to talk about another hot and easy-to-use service, it's Tweetburner. If you haven't used it before, then it's the time to. We're going to discuss how to use Tweetburner first. After that, we'll inspect its API and learn how to use it in your .NET application.
By: Geming Leader    |    On:  02 Sep 2010 15:41:10   |    Article
Calling an asp.net web service from jQuery
As I have post it in earlier article that jQuery is one of most popular JavaScript library in the world amongst web developers Lets take a example calling ASP.NET web service with jQuery.
By: jalpesh    |    On:  30 Aug 2010 12:12:27   |    Article
Recent CodeSnippets
LINQ: Deferred Execution
The following example shows how query execution is deferred until the results is enumerated.
By: Geming Leader    |    On:  02 Sep 2010 10:25:54   |    CodeSnippet
Retrieving Motherboard Information in VB6
Retrieving Motherboard Information in VB6
By: Geming Leader    |    On:  31 Aug 2010 12:51:03   |    CodeSnippet
Insert Special Characters Using JavaScript
The backslash (\) is used to insert apostrophes, new lines, quotes, and other special characters into a text string.
By: ansari.najmul@gmail.com    |    On:  24 Aug 2010 09:23:42   |    CodeSnippet
How to create Numeric Textbox in Silverlight
In this code snippet, explain about create Numeric Textbox in Silverlight
By: RRaveen    |    On:  18 Aug 2010 11:12:57   |    CodeSnippet
The collection of extension methods in C#
In this codesnippet, you can see examples for extension methods in C#
By: RRaveen    |    On:  15 Aug 2010 09:18:18   |    CodeSnippet
How to decide a website running in Linux in C#
How to decide a website running in Linux in C#
By: RRaveen    |    On:  15 Aug 2010 09:06:21   |    CodeSnippet
Adding Reflection to the Text
Adding Reflection to the Text in Silver Light
By: NikhilJohari    |    On:  01 Aug 2010 07:04:14   |    CodeSnippet
Creating a High Performance Message Loop in Windows Mobile
I've heard criticisms of the Windows and Windows Mobile environment because of the way that the default message pump is implemented and the performance cap that it puts on applications that require constant refreshing of the UI (such as games)
By: j2inet    |    On:  30 Jul 2010 10:09:58   |    CodeSnippet
How to close the whole application in WPF Browser based application (XBAP application)
In Windows based WPF application, there is an option to close the whole application using (Application.Current.ShutDown) statement
By: Prabu    |    On:  27 Jul 2010 09:58:43   |    CodeSnippet
Using CeSetUserNotification to start a program in .NET CF
A few days ago I got a message from a developer that was trying to use CeRunAppAtTime to schedule an application to start up. As I had mentioned in a previous post instead of using this function one should use CeSetUserNotification since on more recent devices CeRunAppAtTime is not as reliable
By: j2inet    |    On:  17 Jul 2010 23:55:48   |    CodeSnippet
Recent Tips/Tricks
Troubleshooting Cloud Service Deployment in Azure
Troubleshooting Cloud Service Deployment in Azure
By: Mostafa Elzoghbi    |    On:  01 Sep 2010 09:36:00   |    Tips/Trick
How use Let Keyword in Linq
I am using Linq-To-Object in my current project to remove some extra loops and I have found one of the great keyword in Linq called ‘Let’
By: jalpesh    |    On:  26 Aug 2010 08:26:27   |    Tips/Trick
Cannot change column to Not Null: Cannot insert the value NULL into column '', table '.dbo.Tmp_'; column does not allow nulls.
Cannot change column to Not Null: Cannot insert the value NULL into column '', table '.dbo.Tmp_'; column does not allow nulls.
By: RRaveen    |    On:  20 Aug 2010 12:04:43   |    Tips/Trick
How to detection browser using Javascript
I have written this article on ‘Browser Detection’. Sometimes it can be very useful to detect the visitor's browser, and then serve up the appropriate information.
By: ansari.najmul@gmail.com    |    On:  14 Aug 2010 01:56:53   |    Tips/Trick
How to resolve Procedure or function has too many arguments specified in .NET
This is error is occurred when developer or database administrator made mistake in stored procedures argument list.
By: RRaveen    |    On:  02 Aug 2010 01:23:48   |    Tips/Trick
 Editor's Choice
Learning Experince MOSS 2007 step by step Part1

Introduction

I would like to share my experience in developing a complete website using SharePoint 2007. The website is English/Arabic website features CMS, News and hosts .Net Application.

 The Weeklly Poll
What is the best and secured browser?

Copyright © 2009-2010 CodeGain.com All Rights Reserved. |  Privacy  |   Terms & Conditions
^ Scroll to Top