Click here to Skip to main content
15,867,488 members
Everything / Visual Studio / Visual Studio 2005

Visual Studio 2005

VS2005

Great Reads

by Hans Dietrich
XColorSpectrumCtrl displays a color spectrum that allows user selection, and provides APIs for color based on RGB and HSL color models.
by Paul Vickery
Code to add a message bar to virtually any existing Windows control.
by Sergey Alexandrovich Kryukov
Display names and descriptions for enumeration members: a non-intrusive, reliable, localizeable method.
by Hans Dietrich
This series of articles is a step-by-step guide to reading files stored in your program's resources. Along the way I will present some non-MFC classes to assist you in reading text, binary, zip, and even encrypted files that have been compiled into your program as resources.

Latest Articles

by Ștefan-Mihai MOGA
How to download files from an HTTP server.
by Chris Stefano
A custom tool for Visual Studio .NET which runs an XSL transformation to generate code
by nogChoco
LineNumbers that dock to a RichTextBox or show as an overlay on top of it
by Zasky
A useful tool to help you understand DataGridView events as you navigate the DataGridView

All Articles

Sort by Score

Visual Studio 2005 

16 Feb 2011 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[^]
20 Nov 2010 by Ajay Vijayvargiya
Open the Folder of current file with a simple keystroke
20 Nov 2011 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...
11 Sep 2016 by Avatar2400
This is a simple class that allows you to have message box with checkbox and other small features.
7 Jun 2012 by Mario Majčica
A well justified practice for mapping TFS collections on your local PC.
20 Sep 2012 by Sreedhar Puligundla
Simple steps to create SQL joins by using SQL Server 2008 Management Studio
17 Feb 2011 by dontumindit
While dealing with databases, sometimes there is a need to get a list of tables in the application
3 Mar 2011 by crocks256
The ConnectionStringBuilder classes in .NET can be quite handy...http://msdn.microsoft.com/en-us/library/system.data.sqlclient.sqlconnectionstringbuilder.aspx[^].
14 Feb 2011 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)) { ...
14 Feb 2011 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...
26 Jul 2016 by Yochai Timmer
Debugging C++ projects in release. Finding the lost object information
24 Apr 2010 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...
28 May 2013 by akramKamal
Code to serialize/deserialize any object to an XML file.
6 Oct 2012 by Frans Jan
This article shows how to save a Windows Form to a PDF file.
21 Aug 2017 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.
27 Sep 2013 by dontumindit
Communication with database in .NET is easy but sometimes one gets stuck by wrong format of connection string
10 Dec 2013 by JRINC
Connect to remote socket via System.Net.Sockets.Socket.Connect method with timeout controlled by System.Threading.Timer
25 Apr 2013 by Mukit, Ataul
This tip tells you what to do when you are faced with the RC2135 problem in the resource file.
14 Feb 2011 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...
17 Nov 2015 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.
8 Aug 2013 by Peter T. Ringering
A complete replacement to Microsoft's Date/Time Picker control.
3 Feb 2013 by Normz Antonino
This tip shows you how to convert numbers to words neatly.
7 Jun 2012 by Joshi, Rushikesh
How to Generate Sample XML from XSD
25 Jul 2013 by Dineshshp
This article will describe about SQLConnection Message Event Handler and BackugroundWorker functionlity.
23 Feb 2011 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; ...
12 Jan 2012 by Ștefan-Mihai MOGA
How to get temporary files with any extension.
16 Mar 2009 by m_sylvain
This tip shows how to build an FxEngine plugin to stream video data from a webcam
18 Sep 2012 by Anup Kumar Verma
Taskbar Notification like animation in WPF from code behind
30 Apr 2013 by Michael Rosqvist
If you want to measure something on the screen, here is a utility.
20 Aug 2023 by Ștefan-Mihai MOGA
How to download files from an HTTP server.
7 Jun 2013 by FatzBomb
How to convert a written number to a numerical value anywhere in a string.
26 Jan 2017 by John Melling
This is a simple program that demonstrates a method used to adjust the screen brightness on any C# application.
1 Mar 2011 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 !!
12 Mar 2013 by Nelson Kosta Souto
Running the same compiled assembly on Windows and Linux.
13 Nov 2011 by KazMaxLtd
This article describes how to hide or show TabControl tabs at runtime
29 Apr 2011 by dontumindit
An Easy Way To Query a Database
2 Aug 2006 by Ahmed Ali El-Sayed
C# DLL for use it in .Net Applications, you can convert it easy to any code
2 Dec 2009 by bobishkindaguy
A simple entry box for various numbers, especially phone numbers.
3 Mar 2011 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[^].