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

VS2008

VS2008

Great Reads

by Mike Corley
C# (.NET and Mono) library provider for RRDtool
by Sergey Sorokin
Use .NET 2.0 configuration features for building a pluggable provider framework for your application.
by Shivprasad koirala
.NET Best Practice No: 3:- Using performance counters to gather performance data
by Dazdarevic Edin
A .NET component that simplifies tracking of system's idle time.

Latest Articles

by Mike Corley
C# (.NET and Mono) library provider for RRDtool
by Sergey Sorokin
Use .NET 2.0 configuration features for building a pluggable provider framework for your application.
by Shivprasad koirala
.NET Best Practice No: 3:- Using performance counters to gather performance data
by Dazdarevic Edin
A .NET component that simplifies tracking of system's idle time.

All Articles

Sort by Score

VS2008 

by GPUToaster™
.NET Interop Revisited
by zippy1981
This is an alternative for "ODBCTracer"
by Andrey Sitaev
Here I placed source files, binaries and brief instructions for FastGrid control.
by Mario Majčica
A well justified practice for mapping TFS collections on your local PC.
by Howard 9448490
A WYSIWYG Printer Interface for Rich text
by Lantert
Add Excel style filter function to Chris Maunder's CGridCtrl
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 Arkadeep De
Bluetooth Desktop Locker with Android Application
by Matthias Böhnke
Bug Fixes for Reading Barcodes from an Image - III
by Emiliarge
Both MS Access formats (mdb and new - accdb), MSSQL 2008 R2, MSSQL CE, SQLite, MySQL
by Emiliarge
Read and write data to Access databases without limitations caused by the use of the SQL.
by Emiliarge
Using FindWindow() and WindowFromPoint() to identify window, and SetWindowText(), MoveWindow(), SetForegroundWindow(), EnableWindow() to interact with it
by Darkencrow
A multi-drawer style collapsable UI container
by Szymon Roslowski
Just another approach to understanding communication between HID devices and C#.
by Emiliarge
2 ways to read and write data to *.xls and *.xls files and display it on DataGridView.
by trident99
CalcStar is an expandable, fast C++ function evaluator that gives the user the same computational power as a scientific calculator.
by Abhay giri
Here we see how can we invoke other orchestration by using Call orchestration shape
by Bob Stoom
New drag-and-drop intuitive engine on the OCR MODI base
by _Flaviu
A class designed to connect to a database through ODBC and perform basic operations such as inserts, updates, and deletes
by Tejashwi Kalp Taru
Ever wanted to change the Windows Aero color without restarting the DWM?
by Chris Jorna
Source code and demo on general TCP client & server library mainly usable for / tested on SICK lidar devices
by Bikash Karmokar
Connecting Windows Form Application With ADO.NET in C#
by FatzBomb
How to convert a written number to a numerical value anywhere in a string.
by User 4838655
A simple utility to convert VS2008 .msi to WiX project
by jansok
A tip on converting multiple image files (BMP, PNG, GIF, JPEG, TIFF) to single or multiple PDF
by SaahilPriya
The sample demonstrates how to count the number of OLE Automation Objects running at a particular time.
by Sreedhar Puligundla
Simple steps to create SQL joins by using SQL Server 2008 Management Studio
by _Flaviu
A memory CTreeCtrl like object, but resident in memory only
by Mang Irpan
This control is a datagridview that can contain control as its node, and it can contain unlimited node control
by Bob Stoom
Working code of the custom MenuStrip on the LinearGradientBrush constructor base. And how to control Form without borders.
by Avatar2400
This is a simple class that allows you to have message box with checkbox and other small features.
by Weberto.com
Event to delete rows by selected cells.
by Yochai Timmer
Debugging C++ projects in release. Finding the lost object information
by Shivachalappa Gotur
Detecting USB Modem Device using C#.NET
by mbue
switch ... case statement for strings
by DX90
A simple library to control registry easier
by Sujith Karivelil
This article Describes Connectivity to Gmail using IMAP, and also guide you to download and save mail content along with attachment.
by ss9o9o9o
Transferring backup files from a remote SQL Server and Dynamic SQL Connection with Restore utility.
by Member 12032084
.dll for making the FTP management with VB.NET easier
by Emiliarge
Simple WebBrowser (IE) class in Pure C++
by Yamin Khakhu
Encrypting the configuration in Web.Config
by JRINC
Connect to remote socket via System.Net.Sockets.Socket.Connect method with timeout controlled by System.Threading.Timer
by JatinKhimani
Export Gridview data in Excel formate with gridview design.
by Krishna P Seetharaman
How to expose multiple operations of an orchestration as multiple methods in a single web service(.asmx). Also explains how to use asynchronous approach in calling these web methods. We can add more methods to the orchestration and these new methods will be visible in the same web service
by LORY Flavien
Fast detection of big barcode 39
by Yuri Heymann
Source code for the article titled "A Finite-Difference Model for the Thermal History of the Earth
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 pdoxtader
Use DeviceIoControl, QueryDosDevice and WNetOpenEnum to get information about your system.
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 MaxMax14
Keep the items highlighted when focus is on another control
by Pikoh
A simple method to join several images in a single file and recover them afterwards
by Your Display Name Here
How to use WebBrowser, a form, and an MDI parent to open Excel files
by Md. Marufuzzaman
For programmers it is more important that you identify whether you are allowed to do something.
by Sergey Alexandrovich Kryukov
In response to an interesting Quick Questions & Answers Inquirer's request, I'm showing how to create an impression of window rotation in a simple way
by John Melling
This is a simple program that demonstrates a method used to adjust the screen brightness on any C# application.
by _Flaviu
A method of how to get rid of "close" menu from multiple CDockablePane panels
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 rocket42
How to make a multi-language application in C#.
by Shao Voon Wong
How to prevent SQL injection attacks when using dynamic SQL in stored procedures
by trident99
The HPC Template Library is a supplement to the Standard Template Library providing threadsafe containers.
by VaibhavTiparadi
Re-sizing images to equalize the width & height
by Albert Holguin
The vc compiler and intellisense don't look for pre-compiled header in a similar manner, this is a summary of the issue along with workarounds
by Ahsan Murshed
This article gives ideas to developers to increase development time productivity using the free Visual Studio 2010 extensions.
by TANMAY N
How to Integrate Google map in VB.NET without using any API in VB.NET Windows application
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 FrankNight
In this tip, I show a set of helper classes useful to prepare and send messages to the SqlXML Joomla component and execute remote SQL calls to your hosted website.
by _Flaviu
A way to know when a floating CDialogBar is closed
by maz2331
License Key class to make generating and validating keys easy.
by dontumindit
While dealing with databases, sometimes there is a need to get a list of tables in the application
by Mohsen Heydari
Intercepting WCF and SOAP services for logging SOAP envelope
by shunninghuang
Software named M1.NET which shows the details of decrypting arcade game audio
by Sergey Alexandrovich Kryukov
Popular question on Forms collaboration, also answered for WPF
by joejames111
Raw input 64-bit .NET classes.
by NobsterTheLobster
Implements a taskbar notifier using an invisible window and a popup control
by rolandomontero
MySQL Connector for Visual Basic, obtaining a data table
by BrokenEvent
Simple and fast .NET XML parser without using System.Xml
by Antonio Lopez R
Specific implemetation for Mexico CFDI. others can use as they need
by Baliram Suryawanshi
Pass OUTPUT parameter from stored procedure to SSIS Precendence Constraints
by shahed.sohail
Passing Parameters to Success method in executeQueryAsync.
by charan anasam
Visual Studio comes with seven refactoring options as explained here.
by Demid Korneev
Example of AltNETType use in OpenGL
by wmjordan
Rendering text with OpenType fonts by P/Invoking GDI API in WinForm applications.
by Nelson Kosta Souto
Running the same compiled assembly on Windows and Linux.
by Tu (Le Hong)
A scroll window that surpasses the 16-bit limit and can be hosted by a dialog.
by Sreedeep.S
Serial Communication with the .NET Framework in Winforms
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 metastruct
Easy to use class for downloading, uploading, and other FTP commands.
by Farhad Reza
A simple ChessBoard graphics using GDI32
by Farhad Reza
A simple graphics class for 2D drawing
by Godwinsmith
Function to find the exact address of particular latitude and longitude using Google maps service in C#
by Ajit Kumar Thakur Microsoft
This tip contains simple step by step solution to read SSAS cube data using MDX query and display in SSRS report.
by Zdenek CZ
Let's go to write ASP.NET GridView with the ability to edit cell on click and save the changes on Enter
by Eduard Keilholz
Solution information file
by Math08avan
SQL Server Integration Services - How to read a text file
by Nishith Jain
Balloon tool tip for the text box.
by Vyacheslav Chernykh
CTreeView is the advanced TreeView control for .NET WinForms that supports more features, different layouts and any controls in the nodes.
by Sergey Alexandrovich Kryukov
Focused TextBox blocks Undo/Redo invocation of other components, but the problem can be solved comprehensively
by M.Farrukh Abbas
How to upload an Image and preview it dynamically without saving it using FileUpload control in ASP.NET (C#).
by TheyCallMeMrJames
Leverage VSDoc and DEBUG file documentation in VS2010
by Wombaticus
A beginner's introduction to using data classes in ASP.NET.
by Piyush Manharlal
Using integer instead of Enum for ComboBox and Radio Button in XAML
by Zain Ul Abidin
Now it's time to change the usage scope of your laptop Webcam
by Emiliarge
How to statically link a Win32 Project with Visual C++ libraries (m***.dll)
by _Flaviu
A small guide to use VTK in MFC
by ShaikAnwar
This topic gives us an idea of how to write Linq queries on Entities & DataTable. This covers some basic querying and also usage of joins and group by using LINQ.
by Anup Kumar Verma
Taskbar Notification like animation in WPF from code behind
by Emiliarge
Using WindowChrome from Microsoft.Windows.Shell.dll
by Diwakar M A
WPF based preloader animation sample. Let's make WPF applications more interactive during long process.
by trident99
An STL based simple XML serialization and de-serialization engine