Click here to Skip to main content
15,881,172 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 

4 Apr 2008 by Hans Dietrich
XColorSpectrumCtrl displays a color spectrum that allows user selection, and provides APIs for color based on RGB and HSL color models.
23 Oct 2008 by Paul Vickery
Code to add a message bar to virtually any existing Windows control.
8 Mar 2017 by Sergey Alexandrovich Kryukov
Display names and descriptions for enumeration members: a non-intrusive, reliable, localizeable method.
19 Jul 2007 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.
24 Aug 2009 by Steve Krile
Fully AJAX-enabled user control used to select names from a database in a drop-down format.
6 May 2007 by Josh Smith
Reviews a pattern which enables new possibilities for data binding.
30 May 2005 by dotnetdan
VS 2005 debug visualizers for DataSet, DataTable, DataView, DataRow and DataColumn objects.
4 Dec 2007 by Ned Thompson
This article will demo how a free Flyout can help to save space on your webpage.
5 Nov 2008 by Tolgahan ALBAYRAK
Read, Write, Save INI files without using Windows APIs.
7 Aug 2007 by Hans Dietrich
XBreadCrumbBar is a windowless non-MFC class that allows you to display a breadcrumb trail as HTML text, with support for web links and APP: links.
28 Mar 2010 by Alex Blekhman
Find any file in solution using incremental search and advanced filtering
18 Sep 2006 by Tim Almdal
Implementing an Autoplay handler in C#.
9 Jan 2008 by Mike Gavaghan
Vincenty's Formula is an iterative solution for calculating the distance and direction between two points along the surface of Earth.
14 Jul 2007 by Josh Smith
Demonstrates how to create unit tests for a class which uses a DispatcherTimer.
29 Dec 2006 by Michael Dunn
How to use power status notifications to make your applications conserve power when necessary.
21 Mar 2007 by peterchen
Full control over addins loaded into VS2002-2005 - for power users or addin developers
8 May 2007 by Ming.Chen
A LINQ Implementation for Google Images/Groups Search
1 May 2006 by jconwell
Part 2 of an introduction to creating dynamic types. This article shows how to actually generate the methods in a dynamic type and how to call them.
9 Oct 2008 by Paul M Watt
Macro based framework written for C++ applications that will allow basic instrumentation and profiling features
17 Aug 2009 by vic_ch2000
A nullable datetime column in .NET DataGrid with DateTimePicker.
11 Jan 2008 by eransha
The article briefly discusses deadlocks behavior, and presents an easy way to detect them.
22 Jun 2009 by Victor A. Milokum, Apriorit Inc
In this article, we will try to make our algorithms work faster using the methods of low-level optimization of memory allocation in C++.
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[^]
8 Jun 2012 by Joshi, Rushikesh
This is an alternative for "Generate Sample XML from XSD".
16 Sep 2007 by Rajasekharan Vengalil
How to switch the thread that a routine is running on.
4 Sep 2007 by Brian Chavez
Slink is a code generating Framework that generates type safe URLs for ASP.NET. With Slink URLs, you increase code quality, increase maintainability, and get compile time checking of your URLs in all your ASPX pages (code-behind and non-codebehind).
18 Oct 2018 by Gavin Sinai
Using the open source Saxon library, .NET programmers can benefit from XSL 2.0 and XQuery 1.0.
4 Feb 2010 by daylightdj
When using DisplayMember / ValueMember on a ComboBox, this problem often occurs.
4 Nov 2006 by Craig G. Wilson
How to flatten collections for an ObjectDataSource using the Adapter Pattern.
21 Nov 2017 by Shmuel Safonov
Using Bison/Flex for creation of the code convertor from subset of MATLAB language to C code. The converter is used for building native applications and libraries from MATLAB code.
11 Jun 2007 by Mahdi Abdulhamid
SharePoint 2007 Flash Animation Web Part
21 Jul 2012 by Juan Manuel Elosegui
A plug-in that allows you to "destroy" items from TFVC using the "Team Foundation Sidekicks" tool.
21 Dec 2007 by Keng_Mycos
Using Amazon FPS as an alternate to Paypal and Google Checkout.
31 May 2016 by William Hey
Semi-Prime Ordered Sequences (Part 2) is the follow-on to “Exploring Computational Number Theory (Part 1)” and describes a process for ordering the semi-prime base sequences.
7 Jan 2008 by S.SRIVATHSAN
Implementation Nhibernate concept in VB.NET
9 Jan 2009 by pablodg
Workaround to get the correct LocalDateTime of files no matter which date settings your computer has.
29 Jun 2012 by Horatiu-Andrei Stoianovici
This is an alternative for "Fast, memory efficient Levenshtein algorithm"
16 Dec 2014 by Suvabrata Roy
Here is a help on NxBRE (Rule Engine) for basic business rules
24 Aug 2018 by darkoman
C# implementation of the serverless OLAP engine
29 Aug 2009 by _Khallaf
How To Do Precise 2-Way Rijndael CryptoStream Communication
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...
14 Jan 2009 by Anil_gupta
This article describes how to get notification when a Windows CE based device is connected or disconnected from a desktop machine.
3 Apr 2008 by slkr171
This article describes how to build a lightweight test bench for testing user interfaces which are written entirely in C#/.NET, using NUnit or any other unit test framework.
4 Nov 2010 by shakil0304003
I think, every time your page has a server request, it create the LinkButton. I think it does not need & it may be the reason of this problem. You can try this.protected void Page_Load(object sender, EventArgs e) { if (!IsPostBack) { LinkButton...
15 Dec 2010 by EFEaglehouse
Windows CE/Mobile printing client for LPR, LPRng, and Socket API.
28 Sep 2012 by Bernhard Hiller
The problem is here:public object verifyAllocDest(string destination)For a quick fix (very dirty!) replace object by string.A better solution involves an enum: you return one of three possible values.Hence definepublic enum AllocDestResult{ HasRows, HasNoRows, ...
12 Sep 2014 by Jan Bakker
This is an alternative for "Custom TreeView Layout in WPF"
12 Apr 2016 by Jalapeno Bob
A VB.NET version of Ray Koopa's 21 Mar 2016 article, Getting All "Special Folders" in .NET
11 Sep 2016 by Avatar2400
This is a simple class that allows you to have message box with checkbox and other small features.
31 Jul 2007 by Froz3n
Using the Windows Media Player Component
6 Sep 2008 by David Catriel
A simple and straightforward tool to monitor and report SourceSafe database changes.
22 Feb 2009 by Ponnurangam D
BlackBerry Java application development using Visual Studio.
20 May 2010 by Christian Graus
VS2005 is a platform, not a language. This is trivial code, whatever your language. If it's homework, do it yourself. If you need it for yourself, that's why we programmers do it as a job, we take money from people like you.
5 Sep 2010 by Phatak
Fortunately I found the solution for that.For attaching Debugger with Asp.Net and Visual Studio 2005you have to close all windows of Microsoft internet explorer before start debugging the application
12 May 2011 by Sergey Alexandrovich Kryukov
The architecture of FireFox extensions is quite far from .NET. Extensions do not hook up any native CPU code (not mentioning .NET managed code). They are hosted by FireFox itself; it makes them platform-independent and safe — any uncontrolled access to OS is excluded.The developed...
23 May 2012 by Sergeant Kolja
This is an alternative for "Memory leak detection for WinCE".
7 Jun 2012 by Mario Majčica
A well justified practice for mapping TFS collections on your local PC.
19 Jun 2012 by Richard MacCutchan
The answer is, never store times and/or dates as strings. The only valid way to track times correctly is always to store them as UTC values. That means the timestamp is an accurate representation of the real universal time that your event occurred and is correct forever. When you want to display...
20 Sep 2012 by Sreedhar Puligundla
Simple steps to create SQL joins by using SQL Server 2008 Management Studio
27 Sep 2012 by Dain Ucak
your FnUpdatedAccessNo methods first parameter is string. but Session["User_id"] is an object type. you must to convert it like this.And dont forget when it was null it wont convert, check its nullablestring userId = "";if(Session["User_id"] != null)userId =...
28 Sep 2012 by fjdiewornncalwe
public object verifyAllocDest(string destination)needs to bepublic string verifyAllocDest(string destination)orverifydest_result = verifyAllocDest(TextBoxDest.Text.Trim()).ToString();
14 Dec 2007 by Jonas_Martinsson
Introduction to Mainsoft's SharePoint Federator for WebSphere Portal, a Visual Studio®-based software development kit (SDK) that enables you to deliver an integrated user experience across Microsoft® SharePoint sites, .NET and Java™ applications, without sacrificing your workgroup's autonomy.
28 Feb 2010 by NetDave
Demonstrates how to manage a Netflix subscriber's movie queue
14 Jun 2010 by Henry Minute
If your login form verifies the user and password then simply set myUserIDTextBox.Text = ""; etc after verification but before closing/hiding the login form.If the login form simply passes the UserID and Password to the main form for verification then store the information in private...
20 Sep 2010 by Florian DREVET
Brings you the ability to personalize your configuration files per developer, per machine, per configuration...
2 Nov 2010 by Chen_Zhuo
Still no answer? That's really sad. :(( I finally found a solution by myself, it's a little ugly but it work. My solution is using my own scrolling function instead of the system's, following is detail1. Overrides CScrollview::OnScrollBy, the core part of scrolling is implemented by this...
13 Jan 2011 by Kasson
right-click on the Details section, select "Insert Section Below" from the menu. That should split the section into a "Details a" and "Details b". Then, right-click the "Details a" section and select "Section Expert..." from the menu.
13 Jan 2011 by Аslam Iqbal
All about Crystal Report? go to: Step by Step Creation of Crystal Report using its features Group, Graph, Cross-Tab and Sub report.[^]It may help you all the ways.
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[^].
17 Mar 2011 by Yusuf
Disclaimer: I don't like to post second answer unless it is radically different from the first. But in this case the discussion needs more space and explanation, so I am posting it as Answer.You said: Yes, so every time it calls one of the functions it has to check which one is...
16 May 2011 by #realJSOP
You don't "switch between layers". The layers are intended to abstract those functional parts out from each other.
15 Nov 2011 by Sergey Alexandrovich Kryukov
It certainly does work with Firefox. There is nothing special you should do about it. However, nobody knows what did you screw up.—SA
17 Dec 2011 by virang_21
There are quite a few things you can do.1> In your code use try..catch..finally block.pulic void someFunction(){ try { //your business logic here } catch(Exception ex) { // Log your exception....
24 Sep 2012 by Sergey Alexandrovich Kryukov
It's a really bad idea to try to control a printer directly, especially with CrystallReports. You should think in terms of a document, and always try to print the whole document. If a user wants to print just part of the document, that user can choose to do it at the level of the print dialog,...
27 Sep 2012 by fjdiewornncalwe
TextBoxDest.Text.Trim should be TextBoxDest.Text.Trim() andTextBoxRef.Text.Trim should be TextBoxRef.Text.Trim()
25 Mar 2013 by Jochen Arndt
See the EnumServicesStatusEx[^] API function.
25 Mar 2013 by Maxim Kartavenkov
That is very easy, you just need to use 2 WinAPI: OpenSCManager and EnumServicesStatus. First one is used to obtain service control manager handle, and the second one to enumerate services based on given status and type.Regards,Maxim.
13 Jun 2013 by Matthew Faithfull
Richard is right. It's a it unusual but you can do it.JGSurface m_pJGraphicSurface[2][4];JGSurface* pFirstRow = m_pJGraphicSurface[0];JGSurface* pSecondRow = m_pJGraphicSurface[1];It's unusual because if we only have 2 of something and that is a constant then they are very...
19 Jan 2015 by Sergey Alexandrovich Kryukov
First of all, don't try-catch exceptions too locally. It should be done only in cases when you know exact exception type and need to recover from exception in some semantics-specific way. But basically, you should catch all exception on the main even cycle of the UI thread. This is how:Set...
11 Oct 2006 by Gammill
A .NET control meant to accomplish a task similar to MFC’s CRectTacker().
12 Oct 2006 by yshrestha
Creating data rich maps is a challenge. Making them easy to manipulate further complicates this task. Learn how to overcome both of these challenges using Dundas Map's AJAX-driven zooming, panning, and navigation functionalities, and how to add further interactivity to your Dundas Map applications.
30 Apr 2007 by Frank Rem
PDFKit.NET 2.0 is a 100% .NET (verifiable) component for creating and manipulating PDF documents. In this article I will focus on its digital signature capabilities. Digital signatures can be used to authenticate the source of a PDF document, and to provide the integrity of a PDF document.
10 Mar 2008 by Szymon Pobiega
An introduction to NetMX - a lightweight .NET management solution.
14 Aug 2008 by Yasser M. Jaffal
In this article, I discuss an example of how you can use information retrieval to grab data out of MSN Money pages to get a free Web Service for currency exchange rates and other quotes.
26 Sep 2008 by Max Paulousky
This article describes MS TFS Proxy efficiency testing depending on the internet channel rate between TFS and TFS Proxy, TFS commands, and TFS Proxy cache state. Also, this article describes the advantages of using the MS TFS Proxy on slow Internet channels.
7 Jan 2013 by LEADTOOLS Support
Introduce you to the key features of the new .NET OCR classes, provide you with a step-by-step approach for creating an OCR application, and provide you with sample code.
21 Apr 2009 by Talya Gendler
Implementing localization which depends on the gender of the registered user (ASP.NET).
9 Sep 2009 by NetDave
Demonstrates how to access the Netflix Catalog resources
9 Sep 2009 by NetDave
Demonstrates how to access the Netflix subscriber's account information
18 Nov 2009 by Sadheesh R
When I try to compile a C Program in VS.NET 2005, I get the below mentioned errors:Linking...btrapi.obj : error LNK2019: unresolved external symbol _WBRQSHELLINIT@4 referenced in function _RQSHELLINIT@4btrapi.obj : error LNK2019: unresolved external symbol _BTRCALL@28 referenced in function _BTR
24 Nov 2009 by Richard MacCutchan
As I said previously you have some libraries missing from your build settings. Check where you have stored the BTRIEVE library files and either add the path to the Linker properties for the project, or add it to the Lib directories for Visual Studio.
11 Dec 2009 by GangaSungar
Hello Everyone,I am trying to create a .DLL using VS 2005. While linking, I am getting the following error;-----------------------------------------------------------------------error LNK2001: unresolved external symbol "unsigned int (__stdcall* ATL::g_pfnGetThreadACP)(void)"...