Click here to Skip to main content
14,879,536 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 Brett Rowbotham
Add-in for VS2005, VS2013/2015 and VS2017/2019 that provides the time taken to build a complete solution
by nogChoco
LineNumbers that dock to a RichTextBox or show as an overlay on top of it

All Articles

Sort by Score

Visual Studio 2005 

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