Click here to Skip to main content
65,938 articles
CodeProject is changing. Read more.
Everything / Visual-Studio / VS2005

VS2005

VS2005

Great Reads

by Joydeep Sen
learn how to attach event with an object and how to create custom eventargs for beginners
by User 2739121
Using GDI+ and a transparent form
by Sergeant Kolja
This is an alternative for "Memory leak detection for WinCE".
by Sacha Barber
An article which shows how to achieve some of the common XAML concepts.

Latest Articles

by Joydeep Sen
learn how to attach event with an object and how to create custom eventargs for beginners
by User 2739121
Using GDI+ and a transparent form
by Sergeant Kolja
This is an alternative for "Memory leak detection for WinCE".
by Sacha Barber
An article which shows how to achieve some of the common XAML concepts.

All Articles

Sort by Score

VS2005 

by Mario Majčica
A well justified practice for mapping TFS collections on your local PC.
by bobishkindaguy
A simple entry box for various numbers, especially phone numbers.
by Michael Rosqvist
If you want to measure something on the screen, here is a utility.
by Ștefan-Mihai MOGA
How to download files from an HTTP server.
by dontumindit
An Easy Way To Query a Database
by Andrew Rissing
The following samples should take advantage of using statements and furthermore built in features of the ADO.NET framework. Furthermore, if you open a connection, make sure you open it at the latest time possible and close it as soon as possible.Edit: While I was originally not trying to...
by FZelle
You are both wrong with the DataAdapter.Why do you think there is an overload with the querystring and the connectionstring?public DataSet select_query(string query, string con_str){ try { using (SqlDataAdapter da = new SqlDataAdapter(query,con_str)) { ...
by woric
The sample code provided by Andrew Rissing is a huge improvement over the original, but incorrectly catches the exception and displays a MessageBox. (Andrew correctly points out this is not a good idea.)A better solution is to allow the exception to fail:public DataSet...
by PrimeCoder
Nice,How about adding a couple of other methodspublic static void Parameter(IDbCommand command, string naam, object value){ IDbDataParameter par = command.CreateParameter(); par.ParameterName = naam; par.Value = value ?? DBNull.Value; ...
by Peter T. Ringering
A complete replacement to Microsoft's Date/Time Picker control.
by Frans Jan
This article shows how to save a Windows Form to a PDF file.
by Normz Antonino
This tip shows you how to convert numbers to words neatly.
by FatzBomb
How to convert a written number to a numerical value anywhere in a string.
by Sreedhar Puligundla
Simple steps to create SQL joins by using SQL Server 2008 Management Studio
by Avatar2400
This is a simple class that allows you to have message box with checkbox and other small features.
by Yochai Timmer
Debugging C++ projects in release. Finding the lost object information
by Biruk Abebe
How to completely take control of drawing a custom application window including the captionbar, menubar, toolbar, borders and statusbar in MFC Single document interface (SDI) applications using the MfcSkinSDI class.
by JRINC
Connect to remote socket via System.Net.Sockets.Socket.Connect method with timeout controlled by System.Threading.Timer
by m_sylvain
This tip shows how to build an FxEngine plugin to stream video data from a webcam
by Joshi, Rushikesh
How to Generate Sample XML from XSD
by Ștefan-Mihai MOGA
How to get temporary files with any extension.
by dontumindit
Communication with database in .NET is easy but sometimes one gets stuck by wrong format of connection string
by jim lahey
Or you could just pop over to:http://www.connectionstrings.com/[^]Use the exhaustive samples they provide and not hard code your connection strings by using a standard .NET configuration file:http://msdn.microsoft.com/en-us/library/1xtk877y.aspx[^]
by bipin9
goto Server Explorer right Click on DataBase Click on properties in properties window you will get Connection String copy it & use where you want use !!
by crocks256
The ConnectionStringBuilder classes in .NET can be quite handy...http://msdn.microsoft.com/en-us/library/system.data.sqlclient.sqlconnectionstringbuilder.aspx[^].
by MikkelAndersen
I get it from the web.config via ConfigurationManager.ConnectionStrings;This makes it possible to keep all connectionstring settings in the web.config file.For example: http://www.dreamincode.net/code/snippet1676.htm[^].
by John Melling
This is a simple program that demonstrates a method used to adjust the screen brightness on any C# application.
by KazMaxLtd
This article describes how to hide or show TabControl tabs at runtime
by Bernhard Hiller
That's far too obscure.All you need to do is store a reference to the TabPage instance which was removed from the TabPages collection of the TabControl. You may use the form where the TabControl is placed for that purpose.You could also create your own TabControl which has an extra property...
by Md. Marufuzzaman
Introduction How can you lock your Windows NT based Workstation programmatically? To do this, you just need a little basic knowledge on how to use user32.dll. Here you will find a function name as LockWorkStation() and you need to know how to call this function. A sample example with the...
by Ahmed Ali El-Sayed
C# DLL for use it in .Net Applications, you can convert it easy to any code
by flyhigh
SOUI is a directui library and had been used in many commercial softwares, which is published based on MIT and is completely free to any user.
by dontumindit
While dealing with databases, sometimes there is a need to get a list of tables in the application
by Demid Korneev
Example of AltNETType use in OpenGL
by Nelson Kosta Souto
Running the same compiled assembly on Windows and Linux.
by akramKamal
Code to serialize/deserialize any object to an XML file.
by Ahmad F Hassan
5 minute trick
by Ajay Vijayvargiya
Open the Folder of current file with a simple keystroke
by Mukit, Ataul
This tip tells you what to do when you are faced with the RC2135 problem in the resource file.
by Dineshshp
This article will describe about SQLConnection Message Event Handler and BackugroundWorker functionlity.
by Frank Klaassen
A number of methods are available to determine the type of an object, each with its own specific characteristics.
by Anup Kumar Verma
Taskbar Notification like animation in WPF from code behind