Click here to Skip to main content
15,892,746 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 Updated

Visual Studio 2005 

20 Aug 2023 by Ștefan-Mihai MOGA
How to download files from an HTTP server.
21 Jul 2021 by Shanmugam Vasu
hi,please guide me, how copy a datatable value to dataset datatable. my sample code is below:dim dt as new datatabledim ds as dataset....ds.tables("Name")=dtBut it returns the error 'Property item is ready only'.Thanks
21 Jul 2021 by Member 14180938
Use this is the easiest way to copy datatable to another dataset ds.Tables.add(dt.copy)
13 Feb 2021 by Chris Stefano
A custom tool for Visual Studio .NET which runs an XSL transformation to generate code
11 Oct 2020 by User 14859875
Can I ask about why the output in GeneralError.aspx.cs cannot display on GeneralError.aspx page, please? Because I have tried to change a lot of methods in some my codes of application error based on search google (but not suitable) but cannot...
11 Oct 2020 by Richard MacCutchan
Why are you still using that bad code? I explained yesterday how to validate your inputs at https://www.codeproject.com/Questions/5282429/How-do-I-display-the-correct-pageerror-aspx-output[^]
11 Oct 2020 by User 14859875
Can I ask about why my output for PageError.aspx is not same as correct output below, please?: The correct output for PageError.aspx after I entered two inputs such as 7 and 0 by using the pageerror method only (cannot use try catch method): ...
11 Oct 2020 by Richard MacCutchan
double dblAns = Convert.ToDouble(TextBox1.Text) / Convert.ToDouble(TextBox2.Text); You should not use code like that as it allows any garbage to be entered into your program. Capture each field separately and check that the entered values are...
7 Jan 2020 by Paramu1973
Hi, I have head hunting problem with the below codes...Really it tooks my holeday, but still not clear... Any superiors can help me to clear? Thanks My Codes MyDtb1 = MyOriginalDtb; DataView MyDtbView = MyDtb1.DefaultView; MyDtbView.Sort = "prn_no,sheet_no,prn_date,pty_name";...
7 Jan 2020 by OriginalGriff
It works for me: string strConnect = SMDBSupport.SMInstanceStorage.GetInstanceConnectionString("VideoMaster"); using (SqlConnection con = new SqlConnection(strConnect)) { try { con.Open(); ...
26 Dec 2019 by Ashutosh_jha
I am using stored procedure for fetching data from table. photo field save in my DB as Image datatype, when debug datatable show photo as system.byte[], and design time crystal report preview show photo, but after execution of application photo not show on report. How can photo show on report....
9 Oct 2019 by stellus
hi all, i got the given error, please do favour for me...Cannot implicitly convert type 'object' to 'string'. An explicit conversion exists (are you missing a cast?)Source Error:Line 256: string verifydest_result = null;Line 257: verifydest_result =...
13 Apr 2019 by nogChoco
LineNumbers that dock to a RichTextBox or show as an overlay on top of it
3 Jan 2019 by Zasky
A useful tool to help you understand DataGridView events as you navigate the DataGridView
30 Nov 2018 by Troy Simpson
Setup a simple and cheap computer controlled watering system using VB.NET or C# and a parallel port relay controller
30 Oct 2018 by Dave Kreskowiak
As far as Visual Studio is concerned, there is no difference between the Pro and Ultimate editions of Windows 7. This can be caused by either a bad install of Visual Studio or a problem with the Windows 7 installation. You can look through the VS installation logs files in your %TEMP% folder...
30 Oct 2018 by Member 9511889
I have Install Visual Studio 2005 in Windows 7 Professional Edition. So when i Run Project, it takes too much time to load.. same visual studio working fast in Windows 7 Ultimate Edition. So What is problem with Windows 7 Professional Edition i Don't know.. Please Help me What is Problem with...
18 Oct 2018 by Gavin Sinai
Using the open source Saxon library, .NET programmers can benefit from XSL 2.0 and XQuery 1.0.
18 Oct 2018 by Emre Guldogan
A System for Simulation and Analysis of Logic Circuits
29 Sep 2018 by Member 11661112
Try this Dim selectedit As Integer selectedit = lvProcesses.FocusedItem.Index ListProcesses() lvProcesses.Items.Item(selectedit).Focused = True lvProcesses.Items.Item(selectedit).Selected = True Bruno.
29 Sep 2018 by sora97
How to refresh listview without loosing selected item?I have searched google but no luck.... :(I am creating a process explorer like application in visual studio 2005 (vb.net)and when i click the refresh button my current selected is gone, now i dont know how to keep the selected item...
24 Aug 2018 by darkoman
C# implementation of the serverless OLAP engine
13 Aug 2018 by Shao Voon Wong
19 Jul 2018 by Elia Sarti
A class which encapsulates a hyperlink control for web page redirection or normal button usage
15 May 2018 by thomas ludewig
Calling AutoCAD commands from .NET - Through the Interface[^]
15 May 2018 by AhmedOsamaMoh
Dear sir now i am search the net a lot and a lot , I tried many things but no waynow i have autocad 2007 + .net frame work 2 + vs2005 + C#what should i do to solve such problem??
7 May 2018 by Elmue
An electronic door lock that replaces a mechanic key by an RFID card or RFID token.
18 Jan 2018 by CHill60
Localisation of XML Summary Documentation is a known issue and there have been requests made for it to be incorporated into VS (I may be a little behind the times on this now) One solution is suggested here ... XML Comment Localization | Surviveplus.net[^] If that doesn't work for you there...
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.
7 Nov 2017 by Mohammed Hameed
When we open a project/solution in Visual studio, the project's vshost.exe file will be executed and launched in memory automatically (I think this is done by Visual studio) and this process (vshost.exe) will be in running state till we close the solution from VS.I know that this process has...
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.
17 Aug 2017 by Howard Richards
Provides a useful wrapper to the FtpRequest in .NET 2.0.
22 Jun 2017 by Coder969
We are migrating our project from vs2005 to vs2015 . In one of the project we are using Ad1.lib .When I build that project in vs2015 getting the error saying Ad1.lib not found . In vs2005 this lib was present in " C:\Program Files (x86)\Microsoft Visual Studio 8\VC\PlatformSDK\Lib " but I...
22 Jun 2017 by RickZeeland
You can try to copy the Ad1.lib to your project and include it, if you still have it. Then under the file properties set "Copy to working directory" to always. If that fails, try this: visual studio - VS2005 and Windows SDK 7.1 - Stack Overflow[ ]
18 May 2017 by darkoman
Article about the 2D isometric game engine
14 May 2017 by Sergey Alexandrovich Kryukov
An example the application of Enumeration class, third article of the series
12 May 2017 by Alexey Shalnov
How to build Not OLE container of MFC applications based on hosting of MFC application from within WinForms and WPF applications
23 Mar 2017 by Faizymca
I need some help with the following problem:I've been using a MS ReportViewer component in a website for a while now, but recently I've been getting the error shown below.The type 'Microsoft.Reporting.WebForms.ReportViewer' exists in both...
23 Mar 2017 by Member 13080469
on web.config review assembly info. appear two times "Microsoft.ReportViewer.WebForms" one with 12.0.0.0 and other with 11.0.0.0. just get one of this.
10 Mar 2017 by Sergey Alexandrovich Kryukov
Generic classes for enumeration-based iteration and array indexing
10 Mar 2017 by Sergey Alexandrovich Kryukov
A description of techniques based on context-sensitive conditions
8 Mar 2017 by Sergey Alexandrovich Kryukov
Display names and descriptions for enumeration members: a non-intrusive, reliable, localizeable method.
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.
3 Jan 2017 by Bryian Tan
An article on how to build a multiple selection dropdownlist with the AJAX HoverMenuExtender.
20 Nov 2016 by Thierry Parent
A C#, C++, Delphi, ActiveX , Javascript , NodeJs and Java trace framework and a trace viewer: Tail, OutputDebugString, event log, and with Log4J, Log4Net, and Microsoft Enterprise Instrumentation Framework (EIF) support. This also comes with full support for Pocket PC, Silverlight, and Android.
16 Nov 2016 by Lars Hove Christiansen
XML Visualizer v.2 improves the standard XML Visualizer in Visual Studio 2005, 2008, 2010, 2012, 2013 and 2015.
3 Oct 2016 by Itz.Irshad
A MFC ActiveX Control was developed in VS2005. The control is used in WinForms application.I would like to capture the touch events in that control which will be used in Windows Tablet (Windows 8).Could anybody help me out how to resolve this error ?Thanks,What I have tried:I...
11 Sep 2016 by Avatar2400
This is a simple class that allows you to have message box with checkbox and other small features.
26 Jul 2016 by Yochai Timmer
Debugging C++ projects in release. Finding the lost object information
15 Jul 2016 by andalmeida
Adding shadows to Simple Ray Tracing in C#
15 Jul 2016 by andalmeida
An approach to interpolate vertex normals on triangles
15 Jul 2016 by andalmeida
Simple Ray Tracing in C# Part V (Texture Mapping)
15 Jul 2016 by andalmeida
Simple Ray Tracing with texture mapping in C#
15 Jul 2016 by andalmeida
15 Jul 2016 by andalmeida
15 Jul 2016 by andalmeida
Simple Ray Tracing in C# Part IV (Anti-Aliasing)
12 Jun 2016 by Bernhard Hiller
View and edit your GPS track records on a nice GUI with online maps and aerial views.
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.
27 May 2016 by icemanind
How to automatically create data access layers and business layers from a Microsoft Access or a SQL Server database
12 Apr 2016 by Jalapeno Bob
A VB.NET version of Ray Koopa's 21 Mar 2016 article, Getting All "Special Folders" in .NET
12 Apr 2016 by Shao Voon Wong
How to use a font without installing it first on user systems
12 Apr 2016 by Shao Voon Wong
Linq-To-XML Node Creation for Native C++
12 Apr 2016 by Shao Voon Wong
Using SSE2 to speed up alphablending.
12 Apr 2016 by Shao Voon Wong
Introduce 4 new algorithms on finding combinations
2 Apr 2016 by David Vanson
A progress bar control you can customize
7 Mar 2016 by John Torjo
You can easily apply Pretty Formatting to your logs. Make the information that's relevant to you easily stand out!
2 Mar 2016 by Ranjan.D
Let us see how to send, receive and delete SMS using Arduino and GSM Sheild
21 Jan 2016 by John Torjo
You can do advanced searching through your Windows Event Logs. Even regex searching and filtering. No expert skills required.
13 Jan 2016 by Sebastien Lorion
A reader that provides fast, non-cached, forward-only access to CSV data.
3 Jan 2016 by Abhinav S
If your printer provides an API through which you can read the documents being printed, you will be able to track a printed doc.For example, here is an Embedded Capture Solution from HP - HP Embedded Capture Solution | HP® Official Site[^].
3 Jan 2016 by vj.negi08
I am using xslt to show a report and opening the print option at the same time. I wants to update some data if the user clicks on print. That's why i wants to track if user clicked on print or cancel.
23 Dec 2015 by Simone Serponi
An easy to use library to quickly setup and run OpenGL applications.
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.
7 Nov 2015 by Venkat Chaitanya Kanumukula
check this link on the resolution to bind old and new Dll's in the config.http://stackoverflow.com/questions/9429277/problems-with-reportviewer-assemblies-in-vs2010example below ...
3 Nov 2015 by B. Clay Shannon
I'm trying to run an SSRS project in VS 2005, but the *.rdl file configured to run first displays, but with the following greyed-out text:An error occurred during local report processingAn error has occurred during report processingCannot create a connection to data source 'BlaData'You...
3 Nov 2015 by B. Clay Shannon
I don't think this is limited to VS 2005, but that (2005) is the version of Visual Studio in which this is happening now. I'm trying to Rebuild a project, and it won't build, saying there are 2 errors and 76 warnings. Clicking the "2 Errors" tab in the Error List does not bring up the two...
2 Nov 2015 by icemanind
1 Nov 2015 by John Torjo
Meet the Log Viewer that makes monitoring log files a joy!
22 Oct 2015 by David Johns, John_Tang
C++ SMTP client, support SSL and TLS encrypted connection to SMTP server
14 Oct 2015 by John Torjo
Create and Share Notes about your Logs like never before!
23 Aug 2015 by CPallini
It is difficult to outline a winning strategy based just on the details you posted. Possibly you might just improve the performance of your code (fine tuning it). Possibly the algorithm could be actually parallelized to exploit the multicore (I assume it is) CPU. Possibly, lastly, you simply...
23 Aug 2015 by JinxLeader
Hello, everybody. I have a problem about The design about real-time data reception,treatment and save. I have a read(cBuf,length) function to receive real-time data.I make a core exclusive thread with SetThreadAffinityMask(). In this thread, it have the read function and treatment etc....
17 Aug 2015 by Marcos Meli
An easy to use .NET library to read/write strong typed data from files with fixed length or delimited records (CSV). Also has support to import/export data from different data storages (Excel, Acces, SqlServer, MySql)
1 Aug 2015 by DamithSL
read Create a SharePoint development environment on premise[^]check the hardware and software requirements for Sharepoint 2013 developments. Anyway why VS 2005? if you are working with Sharepoint 2013 at least go for VS 2012 or later version.
1 Aug 2015 by DretenX
Hi, I need to communicate between my vb programm with a sharepoint 2013 library.Therefore, i am trying to get the reference set to microsoft.sharepoint.client.dll, but after clicking on 'add' on the references tab page, I get allways the message 'the system cannot find the reference...
28 Jul 2015 by Bjørn
A Service listening to Windows EventLog, recognizing attacker IPs and block them in the Windows Firewall.
16 Jul 2015 by Baaki
Hi Friends,I'm actually developing one cursor control application on MFC, I'm looking for a ActiveX( something like trackball type) to do a mouse movement(X,Y pos)Please let me know If any of aware any ActiveX control that can suitsThanks,Bakki97*********
16 Jul 2015 by Chris La
How to create a server-client network quickly using template server-client framework, EpServerEngine (C++ and Windows Winsock).
14 Jul 2015 by Arthur V. Ratz
This article demostrates the C++ code that implements AI binary distribution evolutionary algorithm for finding the "nearest" neighbor values of the given value of x in the array of N elements.
1 Jul 2015 by Chris La
How to create a server-client network quickly using IOCP TCP template server-client framework, EpServerEngine.cs (C#).
24 Jun 2015 by Er Atul Sharma
hi this is problem with version upgrade, as i am also try for this to upgrade from 2005 to 2010.
24 Jun 2015 by Alex345098
I upgraded a VS 2005 project to VS 2010 project some of the crystal reports files (rpt) are not loading in Visual Studio , Showing a SAP Crystal report dialog box message 'This document could not be opened'. But no issues for creating new rpt files . I tried some fix from SAP portal but didn't...
19 Jun 2015 by dmihailescu
Customize OpenFileDialog and SaveFileDialog using a User Control
4 Jun 2015 by JinxLeader
Hello, I got an amazing high-speed serial transition board. It has 4-ports independently, each of the ports could get 50Mbps transition rate. I installed it into my PC via PCI-e interface.Basic circumstances, PC's CPU is i7, so I think the performance meet the requirement. I works with MFC at...
4 Jun 2015 by Jochen Arndt
Thread functions must be static. But you can use a static wrapper function that calls a non-static member function when passing a pointer to your class:CThreadClass{ // ... void start_thread();private:: // Static thread function unsigned __stdcall start_address(void*...
4 Jun 2015 by Leo Chapiro
You can't pass a pointer to a member function as the routine to the _beginthread() function. The function requires a pointer to a global or static function.