Click here to Skip to main content
6,628,613 members and growing! (18,672 online)
Email Password   helpLost your password?
Announcements
BullFrog Power
 
Search    
Add to IE Search

Articles by Nishant Sivakumar (120 articles found)

Average article rating: 4.33

Button Controls

.NET port of Joe's AutoRepeat Button class
Last Updated: 16 Apr 2002   Page Views: 134,154   Rating: 4.11/5    Votes: 37   Popularity: 6.45   Bookmark Count: 44
Licence: The Code Project Open License (CPOL)   
This ports Joe Newcomer's AutoRepeat Button class to a .NET control

Combo & List Boxes

Ordered ListBox
Last Updated: 29 Jul 2002   Page Views: 113,106   Rating: 4.03/5    Votes: 48   Popularity: 6.77   Bookmark Count: 27
A ListBox derived class that supports internal ordering and re-ordering of items
ToolTipListBox - a list box with tool tips
Last Updated: 31 Jul 2002   Page Views: 119,927   Rating: 4.15/5    Votes: 22   Popularity: 5.58   Bookmark Count: 43
A ListBox derived class that shows tool-tips for items that won't fit within the width of the list box
An editable multi-line listbox for .NET
Last Updated: 4 Aug 2002   Page Views: 240,626   Rating: 4.27/5    Votes: 39   Popularity: 6.80   Bookmark Count: 64
An owner drawn listbox that supports multi-line word-wrapped text as well as in-place editing.
FontComboBox - a font listing combo box for .NET
Last Updated: 4 Aug 2002   Page Views: 131,313   Rating: 4.42/5    Votes: 18   Popularity: 5.55   Bookmark Count: 54
A fully owner drawn ComboBox derived class for enumerating and choosing fonts
A data-bound multi-column combobox
Last Updated: 27 Jul 2007   Page Views: 59,363   Rating: 4.87/5    Votes: 48   Popularity: 8.19   Bookmark Count: 110
Licence: The BSD License   
An ownerdrawn multi-column combobox class with support for data-binding

Dialogs and Windows

Tile, center and stretch a bitmap as your MFC dialog background
Last Updated: 6 Jun 2002   Page Views: 245,502   Rating: 4.05/5    Votes: 58   Popularity: 7.15   Bookmark Count: 69
A small CDialog derived class that helps avoid frequent copy/pasting of the same code, when using a bitmap as dialog background
Tutorial - Modeless Dialogs with MFC
Last Updated: 18 Jun 2002   Page Views: 307,286   Rating: 4.38/5    Votes: 119   Popularity: 9.08   Bookmark Count: 102
Some tips/suggestions on using modeless dialogs with MFC
CInputBox 1.0
Last Updated: 30 Nov 2001   Page Views: 80,555   Rating: 4.04/5    Votes: 66   Popularity: 7.34   Bookmark Count: 17
Licence: The Code Project Open License (CPOL)   
A CFrameWnd derived class that provides functionality similar to the VB InputBox function. You don't need a dialog resource to use the class!
Keyboard messages/accelerators handling in MFC dialog based applications
Last Updated: 1 Dec 2001   Page Views: 198,696   Rating: 4.27/5    Votes: 118   Popularity: 8.85   Bookmark Count: 79
Licence: The Code Project Open License (CPOL)   
This article explains how you can override PreTranslateMessage and ProcessMessageFilter in dialog based apps
Delay MessageBox with auto-close option
Last Updated: 13 Aug 2002   Page Views: 155,949   Rating: 4.05/5    Votes: 49   Popularity: 6.84   Bookmark Count: 51
Licence: The Microsoft Public License (Ms-PL)   
This message box delays its dismissal by disabling the OK button for a delay interval. It also has an optional auto-close feature. There are two versions, one uses a WH_CBT hook and some basic window tricks like sub-classing to achieve its goal. The other one is more MFC-ied.
Creating draggable windows - SDI and dialogs
Last Updated: 12 Jul 2002   Page Views: 99,590   Rating: 4.20/5    Votes: 22   Popularity: 5.64   Bookmark Count: 40
Licence: The Microsoft Public License (Ms-PL)   
Shows how you can create windows that can be dragged around, not just through the title bar, but anywhere within the window body
Some handy dialog box tricks, tips and workarounds
Last Updated: 17 Sep 2002   Page Views: 413,386   Rating: 4.81/5    Votes: 117   Popularity: 9.95   Bookmark Count: 305
Licence: The Code Project Open License (CPOL)   
Hidden modal dialogs, stealing focus, always on top dialogs, going full-screen, expanding and contracting dialogs, removing task bar icon, context sensitive help and many other useful tips and tricks.
The singular non-modality of MFC modal dialogs
Last Updated: 6 Apr 2003   Page Views: 126,392   Rating: 4.66/5    Votes: 39   Popularity: 7.41   Bookmark Count: 32
Licence: The Microsoft Public License (Ms-PL)   
Explains the pseudo modality of CDialog based modal dialogs and a problem with the CDialog::EndDialog implementation
MessageBoxManager - A Windows Forms component that provides enhanced MessageBox functionality
Last Updated: 19 Feb 2006   Page Views: 79,615   Rating: 4.45/5    Votes: 46   Popularity: 7.40   Bookmark Count: 125
Licence: The Microsoft Public License (Ms-PL)   
MessageBoxManager is a Windows Forms component that you can drag & drop into a Windows Forms project's main form, and it gives you enhanced message box functionality without forcing you to change your existing calls to any of the MessageBox.Show() overloads
CFormatDriveDialog - A wrapper class for the undocumented SHFormatDrive API function
Last Updated: 27 Aug 2002   Page Views: 96,455   Rating: 4.28/5    Votes: 27   Popularity: 6.12   Bookmark Count: 26
A wrapper class for SHFormatDrive (XP/2K only). Corrects some errors in KB article Q173688

Document / View

CDocument::DoSave revealed
Last Updated: 18 Sep 2002   Page Views: 100,066   Rating: 4.29/5    Votes: 34   Popularity: 6.58   Bookmark Count: 34
Explains how you can suppress the File-Save-As dialog in a Doc/View app, how to save files to multiple formats, and how DoSave is implemented.

Files and Folders

An LCS based diff-ing library in C#
Last Updated: 24 Aug 2009   Page Views: 6,973   Rating: 4.50/5    Votes: 23   Popularity: 6.13   Bookmark Count: 24
Licence: The Code Project Open License (CPOL)   
This is an LCS based diff library that was written for the Code Project Lean and Mean diff engine contest
CFileTar 1.0 - pack and unpack file archives
Last Updated: 18 Nov 2001   Page Views: 98,264   Rating: 4.02/5    Votes: 88   Popularity: 7.82   Bookmark Count: 30
A class for packing and unpacking file archives.

Miscellaneous

Managed C++ and Windows Forms
Last Updated: 25 Oct 2001   Page Views: 110,172   Rating: 4.10/5    Votes: 40   Popularity: 6.57   Bookmark Count: 33
An introduction to Windows Forms using Managed C++
Managed C++ and Windows Forms - Image Viewer
Last Updated: 26 Oct 2001   Page Views: 109,516   Rating: 4.03/5    Votes: 36   Popularity: 6.26   Bookmark Count: 31
Licence: The Code Project Open License (CPOL)   
Demonstrates adding menus, showing open-dialog boxes, showing images, scrolling.
The MFC unclickable button ported to Managed C++
Last Updated: 23 May 2002   Page Views: 87,018   Rating: 4.37/5    Votes: 14   Popularity: 5.01   Bookmark Count: 15
Licence: The Code Project Open License (CPOL)   
This article presents a port of the MFC Trick button to .NET using Managed C++ and Windows Forms
How to have an Auto-Completing ComboBox in .NET
Last Updated: 2 Jun 2002   Page Views: 74,535   Rating: 4.11/5    Votes: 16   Popularity: 4.95   Bookmark Count: 29
Shows how to derive a class from ComboBox and add an Auto-Complete feature to it. The example uses Managed C++.
Multi-line InputBox control - MC++
Last Updated: 7 Jun 2002   Page Views: 89,270   Rating: 4.02/5    Votes: 68   Popularity: 7.36   Bookmark Count: 19
A .NET port of my MFC CFrameWnd derived InputBox class, written using MC++
Outlook style GUI - three-way split form
Last Updated: 3 Jul 2002   Page Views: 114,466   Rating: 4.03/5    Votes: 59   Popularity: 7.13   Bookmark Count: 49
Licence: The Code Project Open License (CPOL)   
Demonstrates the usage of splitters, treeviews, listviews, panels, toolbars
Using WinForms controls in an MFC dialog
Last Updated: 20 Dec 2005   Page Views: 76,699   Rating: 4.39/5    Votes: 26   Popularity: 6.21   Bookmark Count: 46
Licence: The Code Project Open License (CPOL)   
This article is a simple introduction to using the CWinFormsControl MFC class to put a Windows Forms control on an MFC dialog.
Using the Windows Forms 2.0 MenuStrip and ToolStrip controls to give your MFC applications a new look and feel
Last Updated: 21 Feb 2006   Page Views: 65,854   Rating: 4.31/5    Votes: 21   Popularity: 5.70   Bookmark Count: 32
This article demonstrates how to use the Windows Forms 2.0 MenuStrip and ToolStrip controls in an MFC SDI application, using C++/CLI, to get the Office 2003 style menu and toolbar

Shell and IE programming

Clipboard handling with .NET
Last Updated: 27 Apr 2002   Page Views: 237,258   Rating: 4.28/5    Votes: 41   Popularity: 6.90   Bookmark Count: 81
An introduction to using the clipboard

Status Bar

Adding a status bar to an MFC dialog
Last Updated: 16 May 2002   Page Views: 219,632   Rating: 4.57/5    Votes: 93   Popularity: 9.01   Bookmark Count: 86
Licence: The Code Project Open License (CPOL)   
Shows how you can have status bars in your dialog based apps

Applications & Tools

A tool to strip zips of unwanted files before submitting to CodeProject
Last Updated: 19 May 2004   Page Views: 53,324   Rating: 4.36/5    Votes: 28   Popularity: 6.31   Bookmark Count: 26
The CPZipStripper tool with source code
MAC Address Changer for Windows XP/2003
Last Updated: 26 May 2005   Page Views: 306,013   Rating: 4.38/5    Votes: 55   Popularity: 7.62   Bookmark Count: 92
Licence: The Common Development and Distribution License (CDDL)   
A freeware program (with source code) that allows you to change the MAC ID of your network adapter
Shell Tray Info - Arrange your system tray icons
Last Updated: 26 Jun 2005   Page Views: 136,283   Rating: 4.30/5    Votes: 32   Popularity: 6.47   Bookmark Count: 60
A tool with full source code that enumerates tray icons and allows you to reposition them as well as send mouse messages.
Window Sizer
Last Updated: 7 Aug 2002   Page Views: 139,656   Rating: 4.70/5    Votes: 51   Popularity: 8.02   Bookmark Count: 62
A hot-key based program that lets you resize your current window to any size. Useful for web designers and GUI developers as it helps avoid frequent screen-resolution changes.
MultiMail 2.0 - Freeware SMTP stress testing tool
Last Updated: 3 Oct 2003   Page Views: 157,876   Rating: 4.05/5    Votes: 44   Popularity: 6.66   Bookmark Count: 35
This free program can be used to stress test SMTP servers. It also aids anti-Spam tool developers as a useful mail-bombardment tool.

ASP.NET

A quick guide to using nested repeaters in ASP.NET
Last Updated: 19 Feb 2004   Page Views: 177,106   Rating: 4.12/5    Votes: 30   Popularity: 6.09   Bookmark Count: 48
Using nested repeaters in ASP.NET with an XML data store

GDI

Using color gradients as backgrounds in your dialogs and views
Last Updated: 9 Jun 2002   Page Views: 155,228   Rating: 4.02/5    Votes: 67   Popularity: 7.33   Bookmark Count: 58
Beginner article that shows how you can create horizontal, vertical and diagonal backgrounds. Also tells you what to watch out for, to avoid flickering when doing complicated drawing.

.NET Framework

Drag and Drop between list boxes - Beginner's Tutorial
Last Updated: 13 May 2002   Page Views: 197,145   Rating: 4.05/5    Votes: 95   Popularity: 8.00   Bookmark Count: 68
An introduction to drag and drop in .NET
Registry handling with .NET
Last Updated: 21 May 2002   Page Views: 122,852   Rating: 4.02/5    Votes: 61   Popularity: 7.17   Bookmark Count: 45
Shows with some code snippets how registry handling is a piece of cake with .NET
A statistical analysis of the performance variations of assorted managed and unmanaged languages
Last Updated: 8 Aug 2002   Page Views: 192,536   Rating: 4.02/5    Votes: 78   Popularity: 7.60   Bookmark Count: 36
Licence: The Code Project Open License (CPOL)   
This article compares and contrasts the relative performances of various languages like native C++, Visual Basic 6, C#, VB.NET, Managed C++, MC++ and native code mix, ngen'd assemblies etc. using a prime number generation function as a generic benchmark
The coding gentleman's guide to detecting the .NET Framework
Last Updated: 21 Jul 2005   Page Views: 83,339   Rating: 4.23/5    Votes: 34   Popularity: 6.47   Bookmark Count: 59
A C++ class that will detect and enumerate the active CLR versions on a machine
A modal dialog that fades the background to gray-scale imitating the XP shutdown screen
Last Updated: 23 Feb 2006   Page Views: 74,098   Rating: 4.43/5    Votes: 25   Popularity: 6.20   Bookmark Count: 59
Licence: The Common Development and Distribution License (CDDL)   
DimmerDialog is a .NET class that shows a modal dialog which grays out the rest of the background, just like the Windows XP Shutdown dialog. This can be used when your application needs to show a very important message box or form that requires immediate user attention.

Win32/64 SDK & OS

Getting and setting desktop folder names
Last Updated: 24 Jan 2003   Page Views: 54,549   Rating: 4.03/5    Votes: 32   Popularity: 6.06   Bookmark Count: 29
Gives you copy/paste-able functions to retrieve the localized folder names, and to set/get user-defined folder names for dekstop folders
Changing default icons for folders and drives
Last Updated: 26 Jan 2003   Page Views: 102,023   Rating: 4.36/5    Votes: 28   Popularity: 6.31   Bookmark Count: 40
Shows how to globally change the icons for folders and drives. Also shows some nifty tricks you might find handy in your applications.
Manipulating Windows using messages and simple CBT hooking
Last Updated: 7 Aug 2003   Page Views: 93,453   Rating: 4.22/5    Votes: 31   Popularity: 6.29   Bookmark Count: 55
Licence: The Microsoft Public License (Ms-PL)   
Demonstrates techniques using windows messages and hooks, which allow us to automate a windows properties dialog or even custom applications
CProcessData : A template class to ease up SendMessage calls across processes
Last Updated: 10 Jun 2005   Page Views: 53,255   Rating: 4.84/5    Votes: 37   Popularity: 7.58   Bookmark Count: 60
CProcessData is a template class that makes it easy to use data allocated in a different process, and is useful when making inter-process SendMessage/PostMessage calls.

Windows Communication Foundation

A first look at the Windows Web Services API
Last Updated: 27 Jul 2009   Page Views: 10,889   Rating: 4.74/5    Votes: 25   Popularity: 6.63   Bookmark Count: 30
Licence: The Code Project Open License (CPOL)   
The article shows how to interop between a WCF service and a WWS client, and also how to rewrite the WCF service in WWS retaining compatibility with existing WCF clients.

Windows Presentation Foundation

WPF Tutorial - Part 1 : Transformations
Last Updated: 21 Jul 2006   Page Views: 86,295   Rating: 4.22/5    Votes: 36   Popularity: 6.57   Bookmark Count: 66
A brief introduction to using transformations with the WPF
WPF Tutorial - Part 2 : Writing a custom animation class
Last Updated: 12 Apr 2007   Page Views: 49,228   Rating: 4.74/5    Votes: 37   Popularity: 7.43   Bookmark Count: 51
Licence: The Code Project Open License (CPOL)   
This article covers how animations can be applied on properties that do not have an associated animation class

C / C++ Language

MFC under the hood
Last Updated: 2 Jul 2002   Page Views: 185,058   Rating: 4.03/5    Votes: 93   Popularity: 7.94   Bookmark Count: 96
Explains the basic MFC program flow including where WinMain and the message loop are hidden

C#

Introduction to inheritance, polymorphism in C#
Last Updated: 9 Oct 2001   Page Views: 323,094   Rating: 4.07/5    Votes: 108   Popularity: 8.27   Bookmark Count: 86
An elementary introduction to inheritance, polymorphism in C# using simple code snippets
Enums and Structs in C#
Last Updated: 13 Oct 2001   Page Views: 199,393   Rating: 4.02/5    Votes: 76   Popularity: 7.57   Bookmark Count: 72
Licence: The Common Public License Version 1.0 (CPL)   
Two oft-overlooked value types that C# offers and where they can be used
Events and event handling in C#
Last Updated: 16 Oct 2001   Page Views: 325,993   Rating: 4.14/5    Votes: 83   Popularity: 7.94   Bookmark Count: 134
An introduction to using events and event handlers in C#
Getting unsafe with pointers in C#
Last Updated: 12 May 2002   Page Views: 97,308   Rating: 4.03/5    Votes: 62   Popularity: 7.22   Bookmark Count: 31
Licence: The Code Project Open License (CPOL)   
Introduction to unsafe code
Simulating polymorphic operator overloads with C#
Last Updated: 19 Apr 2005   Page Views: 58,408   Rating: 4.46/5    Votes: 19   Popularity: 5.71   Bookmark Count: 19
Article shows how to overcome the C# insistence on operator overloads being static and describes a method for simulating polymorphic behavior for operator overloads.
A generic Trictionary class
Last Updated: 11 Mar 2009   Page Views: 6,500   Rating: 4.31/5    Votes: 16   Popularity: 5.19   Bookmark Count: 14
Licence: The Code Project Open License (CPOL)   
This article describes a generic Trictionary class derived from Dictionary that allows two values of different types per key
Adding tray icons and context menus
Last Updated: 10 Apr 2002   Page Views: 288,805   Rating: 4.07/5    Votes: 67   Popularity: 7.43   Bookmark Count: 144
Beginner's Tutorial on adding tray icons and setting context menus
Using a TypeDescriptionProvider to support dynamic run-time properties
Last Updated: 16 Jun 2008   Page Views: 10,961   Rating: 4.56/5    Votes: 26   Popularity: 6.45   Bookmark Count: 32
Licence: The Code Project Open License (CPOL)   
This articles explains how to implement a TypeDescriptionProvider for a class to support multiple object types using a single class type
Pre-beginner's guide to using a timer
Last Updated: 15 Mar 2002   Page Views: 116,195   Rating: 4.05/5    Votes: 61   Popularity: 7.24   Bookmark Count: 40
Shows how you can use a timer proc in your windows forms apps

C++ / CLI

N-Track : Work-Time tracking system
Last Updated: 24 Jul 2002   Page Views: 193,788   Rating: 4.26/5    Votes: 36   Popularity: 6.63   Bookmark Count: 50
A work time tracking system that includes a Managed C++ remoting server and MFC clients that use the managed extensions. The application demonstrates how to mix managed and unmanaged code.
A first look at C++/CLI
Last Updated: 27 Apr 2004   Page Views: 279,688   Rating: 4.67/5    Votes: 101   Popularity: 9.36   Bookmark Count: 105
A brief look at the new C++/CLI syntax and how it improves over the old MC++ syntax
Function overriding in C++/CLI
Last Updated: 22 Jun 2004   Page Views: 144,737   Rating: 4.63/5    Votes: 32   Popularity: 6.96   Bookmark Count: 27
Takes a look at new features like explicit overriding, renamed overriding, multiple overriding and sealing a method
Arrays in C++/CLI
Last Updated: 11 Aug 2004   Page Views: 186,646   Rating: 4.43/5    Votes: 38   Popularity: 7.00   Bookmark Count: 36
Licence: The Microsoft Public License (Ms-PL)   
The article exposes the new array syntax available in C++/CLI for the declaration and use of CLI arrays
Deterministic Destruction in C++/CLI
Last Updated: 12 Aug 2004   Page Views: 95,728   Rating: 4.38/5    Votes: 27   Popularity: 6.26   Bookmark Count: 27
Looks at how deterministic destruction is possible with C++/CLI
An overview of interior pointers in C++/CLI
Last Updated: 29 Nov 2004   Page Views: 54,931   Rating: 4.66/5    Votes: 27   Popularity: 6.67   Bookmark Count: 27
Tries to explain the syntax, usage and behavior of interior pointers in C++/CLI
Guide to using Pinning Pointers
Last Updated: 30 Nov 2004   Page Views: 52,161   Rating: 4.51/5    Votes: 26   Popularity: 6.39   Bookmark Count: 27
Licence: The Code Project Open License (CPOL)   
Article on the usage and dangers of pinning pointers
Using generics in C++/CLI
Last Updated: 7 Dec 2004   Page Views: 67,351   Rating: 4.29/5    Votes: 20   Popularity: 5.59   Bookmark Count: 20
Introduces generics and compares it with templates
C++/CLI Properties - Syntactic sugar for accessor methods
Last Updated: 11 May 2005   Page Views: 69,521   Rating: 4.55/5    Votes: 19   Popularity: 5.82   Bookmark Count: 14
Looks at the syntax for the declaration and use of properties in C++/CLI
A rational attempt to substantiate C++/CLI as a first class CLI language
Last Updated: 27 Jul 2005   Page Views: 111,817   Rating: 4.36/5    Votes: 68   Popularity: 7.99   Bookmark Count: 57
Licence: The Microsoft Public License (Ms-PL)   
Why the author thinks that C++/CLI has its own unique role to play as a first-class .NET programming language
CAutoNativePtr - A managed smart pointer for using native objects in managed code
Last Updated: 20 Jan 2006   Page Views: 23,218   Rating: 4.78/5    Votes: 30   Popularity: 7.07   Bookmark Count: 29
Licence: The Microsoft Public License (Ms-PL)   
CAutoNativePtr is a managed template class that acts as a smart pointer, and is handy for using native objects in managed code.
C++/CLI Library classes for interop scenarios
Last Updated: 20 Jun 2006   Page Views: 41,050   Rating: 4.58/5    Votes: 35   Popularity: 7.07   Bookmark Count: 36
Licence: The Microsoft Public License (Ms-PL)   
The article takes a brief look at some not so commonly used classes such as auto_handle, lock, and ptr.
Using and extending the Orcas marshal_as library
Last Updated: 12 Jul 2007   Page Views: 15,735   Rating: 4.82/5    Votes: 23   Popularity: 6.56   Bookmark Count: 18
This article covers basic marshal_as usage, as well as how to extend marshal_as to support additional type conversions
A look at STL/CLR performance for linear containers
Last Updated: 8 Mar 2008   Page Views: 14,320   Rating: 4.45/5    Votes: 23   Popularity: 6.05   Bookmark Count: 11
Licence: The Common Development and Distribution License (CDDL)   
The performance of STL/CLR sequence containers are compared with that of corresponding BCL generic collection classes
C++/CLI HowTo : Deriving from a C# disposable class
Last Updated: 5 Jul 2008   Page Views: 10,367   Rating: 4.76/5    Votes: 23   Popularity: 6.49   Bookmark Count: 18
Licence: The Code Project Open License (CPOL)   
This article walks through the implementation of a C++/CLI class from a disposable C# base.
Creating and Resolving shell links
Last Updated: 10 May 2002   Page Views: 159,026   Rating: 4.26/5    Votes: 30   Popularity: 6.29   Bookmark Count: 20
An MC++ class that uses IJW to invoke the IShellLink interface
Limiting your .NET apps to a single instance
Last Updated: 3 Nov 2001   Page Views: 157,693   Rating: 4.09/5    Votes: 52   Popularity: 7.02   Bookmark Count: 16
Shows how to use the Mutex class to limit your app to a single instance using a named mutex
OLE DB - Bound controls
Last Updated: 12 Nov 2001   Page Views: 166,839   Rating: 4.02/5    Votes: 157   Popularity: 8.82   Bookmark Count: 22
Licence: The Code Project Open License (CPOL)   
Shows how you can use data bound controls with OLE DB
OLE DB - First steps
Last Updated: 1 Dec 2001   Page Views: 138,049   Rating: 4.03/5    Votes: 66   Popularity: 7.33   Bookmark Count: 15
Licence: The Code Project Open License (CPOL)   
Basic introduction to using OLE DB to insert, update and read records from a database
Serialization Primer - MC++
Last Updated: 25 May 2002   Page Views: 130,160   Rating: 4.64/5    Votes: 21   Popularity: 6.14   Bookmark Count: 26
A basic introduction to serialization using Managed C++
Dynamically loading a DLL - MC++
Last Updated: 27 May 2002   Page Views: 155,675   Rating: 4.04/5    Votes: 46   Popularity: 6.71   Bookmark Count: 21
Shows how you can load an assembly at run time, instantiate a class in that assembly and call methods on the class
Delegates Tutorial - MC++ and C# - The dual perspective
Last Updated: 12 Jun 2002   Page Views: 165,204   Rating: 4.29/5    Votes: 52   Popularity: 7.36   Bookmark Count: 67
Introduces and walks you through the use of delegates in .NET. Compares and contrasts the different approaches that MC++ and C# adopt in the use of delegates. With examples in both languages
Implementing custom collection classes with MC++
Last Updated: 12 Jun 2002   Page Views: 203,825   Rating: 4.35/5    Votes: 22   Popularity: 5.84   Bookmark Count: 25
Tutorial on creating your own collection classes that are enumerable and sortable. Explains in detail the usage of the IEnumerable, IEnumerator, IComparable and IComparer interfaces
Using managed arrays
Last Updated: 24 Jun 2002   Page Views: 156,420   Rating: 4.03/5    Votes: 47   Popularity: 6.75   Bookmark Count: 28
Declaring and using managed .NET arrays with MC++
Basic stuff on Files, Directories and Streams
Last Updated: 26 Jun 2002   Page Views: 127,094   Rating: 4.03/5    Votes: 50   Popularity: 6.85   Bookmark Count: 23
Demonstrates the use of the reader/writer classes as well as the file/directory info classes
Introduction to Managed C++
Last Updated: 7 Jul 2002   Page Views: 192,108   Rating: 4.05/5    Votes: 50   Popularity: 6.89   Bookmark Count: 45
An attempt to get a beginner started on Managed C++
Casting Basics - Use C++ casts in your VC++.NET programs
Last Updated: 23 Aug 2002   Page Views: 217,055   Rating: 4.61/5    Votes: 38   Popularity: 7.29   Bookmark Count: 50
Demonstrates and compares the various casting operators available. Also suggests when to use and what to use!
Managed Exception Handling using VC++.NET
Last Updated: 8 Aug 2003   Page Views: 71,457   Rating: 4.37/5    Votes: 25   Popularity: 6.11   Bookmark Count: 13
An introduction to managed exception handling in MC++ programs
CNullable : A convenient Nullable equivalent class for C++/CLI
Last Updated: 18 May 2005   Page Views: 23,758   Rating: 4.11/5    Votes: 16   Popularity: 4.95   Bookmark Count: 9
CNullable can be used to represent a value type (or simple native type) such that the type can be nulled. You can also compare it to nullptr using the == and != operators both of which have been overloaded.
Using IJW in Managed C++
Last Updated: 2 May 2002   Page Views: 170,502   Rating: 4.04/5    Votes: 36   Popularity: 6.29   Bookmark Count: 24
A basic introduction to using IJW instead of P/Invoke in Managed C++. This is also the first CP article on IJW.
Screen and Form capture with Managed C++
Last Updated: 3 Jul 2002   Page Views: 190,748   Rating: 4.04/5    Votes: 50   Popularity: 6.86   Bookmark Count: 27
This is further demonstration of MC++ IJW capabilities
Implementing Callback functions using IJW (avoiding DllImport)
Last Updated: 13 Jul 2002   Page Views: 137,509   Rating: 4.09/5    Votes: 26   Popularity: 5.79   Bookmark Count: 27
Shows how you can call native API functions that require callbacks using IJW, and without the use of DllImport attribute. The technique allows you to pass a delegate as the callback function just as in the MS recommended manner except, I show you how to do this without the ugly DllImport attribute.
Function pointers and Delegates - Closing the gap!
Last Updated: 17 Jun 2005   Page Views: 61,246   Rating: 4.16/5    Votes: 21   Popularity: 5.50   Bookmark Count: 30
Licence: The Microsoft Public License (Ms-PL)   
Explains the usage of the Marshal class methods GetFunctionPointerForDelegate and GetDelegateForFunctionPointer, and compares their performance with the P/Invoke mechanism.

Bugs & Workarounds

The virtual bool bug
Last Updated: 2 Sep 2003   Page Views: 90,364   Rating: 4.40/5    Votes: 35   Popularity: 6.79   Bookmark Count: 25
Describes the virtual bool bug that exists in mixed mode Managed C++ programs that access unmanaged classes
Bug when using the java.util.zip classes to write zip files
Last Updated: 8 May 2004   Page Views: 76,017   Rating: 4.19/5    Votes: 16   Popularity: 5.04   Bookmark Count: 21
Describes an issue when writing a binary file into a zip file using the java.util.zip classes

Internet / Network

Beginning Winsock Programming - Simple TCP server
Last Updated: 25 Feb 2002   Page Views: 407,844   Rating: 4.34/5    Votes: 162   Popularity: 9.59   Bookmark Count: 178
An introduction to WinSock programming. A simple TCP server is explained.
Beginning Winsock Programming - Simple TCP client
Last Updated: 28 Feb 2002   Page Views: 352,777   Rating: 4.50/5    Votes: 99   Popularity: 8.99   Bookmark Count: 152
A simple TCP client is explained.
Beginning Winsock Programming - Multithreaded TCP server with client
Last Updated: 5 Mar 2002   Page Views: 294,955   Rating: 4.37/5    Votes: 92   Popularity: 8.58   Bookmark Count: 132
Explains a multithreaded TCP file server, a custom TCP chat protocol and a custom TCP client
CSmtpProxyMT 1.0
Last Updated: 15 Nov 2001   Page Views: 77,827   Rating: 4.04/5    Votes: 67   Popularity: 7.37   Bookmark Count: 31
An SMTP proxy class with ability to insert signatures to outgoing mails. Does not require MFC.
CPopProxyMT - A multi-threaded POP3 proxy skeleton
Last Updated: 9 Oct 2002   Page Views: 99,349   Rating: 4.59/5    Votes: 20   Popularity: 5.98   Bookmark Count: 28
CPopProxyMT is a skeletal class that wraps a multi-threaded POP3 proxy. You can further modify this class to suite your needs.
How to do Synchronous and Asynchronous web downloads
Last Updated: 28 Jun 2002   Page Views: 96,374   Rating: 4.03/5    Votes: 48   Popularity: 6.78   Bookmark Count: 33
Explains the usage of WebRequest, WebResponse and related classes.
MC++ TCP server talking to MFC & MC++ TCP clients
Last Updated: 1 Jul 2002   Page Views: 117,776   Rating: 4.02/5    Votes: 52   Popularity: 6.89   Bookmark Count: 23
Licence: The Code Project Open License (CPOL)   
Basic demonstration of the TcpListener/TcpClient classes.
Absolute beginner's introduction to remoting
Last Updated: 4 Apr 2002   Page Views: 190,755   Rating: 4.45/5    Votes: 102   Popularity: 8.94   Bookmark Count: 138
Introduces .NET remoting and the use of asynchronous callbacks using simple code snippets

Programming Tips

To new is C++; To malloc is C; To mix them is sin
Last Updated: 29 Mar 2004   Page Views: 206,288   Rating: 4.14/5    Votes: 28   Popularity: 5.98   Bookmark Count: 31
Article explains the differences between malloc/free and new/delete in a C++ context
Send mail without specifying an SMTP server
Last Updated: 12 Apr 2005   Page Views: 179,413   Rating: 4.28/5    Votes: 38   Popularity: 6.76   Bookmark Count: 81
Licence: The Microsoft Public License (Ms-PL)   
A class derived from CSMTPConnection that queries the MX record for a target domain and uses that to send mail
How to accurately detect if an application is theme-enabled?
Last Updated: 1 Jun 2005   Page Views: 29,289   Rating: 4.51/5    Votes: 19   Popularity: 5.77   Bookmark Count: 25
Describes a function that overcomes the inadequacies of IsAppThemed and IsThemeActive.
How to drag a virtual file from your app into Windows Explorer
Last Updated: 13 Sep 2006   Page Views: 57,829   Rating: 4.78/5    Votes: 35   Popularity: 7.38   Bookmark Count: 70
Shows how to use CFSTR_FILEDESCRIPTOR and CFSTR_FILECONTENTS to perform drag/drop with virtual files

String handling

The Complete Guide to C++ Strings, Part II - String Wrapper Classes
Last Updated: 12 Oct 2002   Page Views: 555,676   Rating: 4.86/5    Votes: 198   Popularity: 11.16   Bookmark Count: 404
A guide to the string wrapper classes provided by Visual C++ and class libraries
StringConvertor : A convertor class for managed-unmanaged string conversions that handles memory de-allocations
Last Updated: 15 May 2005   Page Views: 74,635   Rating: 4.61/5    Votes: 33   Popularity: 6.99   Bookmark Count: 40
Licence: The Code Project Open License (CPOL)   
A convertor class for managed-unmanaged string conversions that handles memory de-allocations. Caller need not worry about freeing unmanaged memory allocations.

Threads, Processes & IPC

How to pass data to worker threads
Last Updated: 30 Oct 2001   Page Views: 116,352   Rating: 4.08/5    Votes: 31   Popularity: 6.08   Bookmark Count: 23
Licence: The Code Project Open License (CPOL)   
Shows how you can pass data to your worker threads
Thread Sychronization using monitors
Last Updated: 31 Oct 2001   Page Views: 49,955   Rating: 4.15/5    Votes: 33   Popularity: 6.30   Bookmark Count: 17
Licence: The Code Project Open License (CPOL)   
Introduction to using the Monitor class for accessing shared resources from multiple threads
Using events for thread synchronization
Last Updated: 27 Mar 2002   Page Views: 210,070   Rating: 4.08/5    Votes: 33   Popularity: 6.20   Bookmark Count: 45
Licence: The BSD License   
An introduction to using signaled events for thread synchronization in .NET

Installation

Deploying MFC applications via ClickOnce
Last Updated: 14 Jan 2008   Page Views: 19,821   Rating: 4.87/5    Votes: 25   Popularity: 6.81   Bookmark Count: 33
Licence: The Code Project Open License (CPOL)   
A step by step tutorial on how to deploy an MFC application via ClickOnce

Book Chapters

C++/CLI in Action - Declaring CLR types
Last Updated: 24 Feb 2007   Page Views: 22,694   Rating: 4.73/5    Votes: 32   Popularity: 7.12   Bookmark Count: 23
Excerpts from Chapter 1. Topics are (1) Declaring CLR types and (2) Handles: The CLI equivalent to pointers
C++/CLI in Action - Instantiating CLI classes
Last Updated: 26 Feb 2007   Page Views: 21,030   Rating: 4.83/5    Votes: 26   Popularity: 6.83   Bookmark Count: 24
Licence: The Code Project Open License (CPOL)   
This is an excerpt from Chapter 1 that covers how CLI classes are instantiated, and discusses constructors and assignment operators
C++/CLI in Action - Using interior and pinning pointers
Last Updated: 28 Feb 2007   Page Views: 17,806   Rating: 4.68/5    Votes: 31   Popularity: 6.98   Bookmark Count: 32
Excerpt from Chapter 4 on interior and pinning pointers

Hardware & System

CFloppyDisk 2.0
Last Updated: 14 Feb 2002   Page Views: 134,588   Rating: 4.51/5    Votes: 64   Popularity: 8.14   Bookmark Count: 31
A class for reading and writing floppy disk sectors directly [Win 95/98/ME/NT/2K/XP]
CExpire - A C++ class that implements time and run based restrictions
Last Updated: 28 Feb 2002   Page Views: 122,385   Rating: 4.34/5    Votes: 54   Popularity: 7.51   Bookmark Count: 90
Licence: The Microsoft Public License (Ms-PL)   
Shareware authors can use this class to limit the number of runs or the number of days that a program will function
Beginner's Tutorial - Using global hotkeys
Last Updated: 28 Apr 2002   Page Views: 146,455   Rating: 4.34/5    Votes: 46   Popularity: 7.22   Bookmark Count: 45
Licence: The Microsoft Public License (Ms-PL)   
Explains how to register, use and unregister hotkeys
A newbie's elementary guide to spawning processes
Last Updated: 2 Aug 2002   Page Views: 240,772   Rating: 4.35/5    Votes: 91   Popularity: 8.52   Bookmark Count: 102
Licence: The Microsoft Public License (Ms-PL)   
Gives an elementary introduction to the use of ShellExecute/ShellExecuteEx, CreateProcess, WaitForSingleObject. How to bring up the Find window, the Properties window.
Beginner's introductory guide to writing, installing, starting, stopping NT services
Last Updated: 29 Dec 2001   Page Views: 241,263   Rating: 4.70/5    Votes: 127   Popularity: 9.89   Bookmark Count: 190
Licence: The Code Project Open License (CPOL)   
Includes a generic skeleton for a simple NT service. Explains how to install, start, and stop the service programmatically.
CServiceHelper
Last Updated: 20 May 2002   Page Views: 104,428   Rating: 4.23/5    Votes: 42   Popularity: 6.86   Bookmark Count: 37
A simple class to install, uninstall, start, stop, pause, continue Win32 services

Nishant Sivakumar


Member
Nish is a real nice guy living in Atlanta, who has been coding since 1990, when he was 13 years old. Originally from sunny Trivandrum in India, he recently moved to Atlanta from Toronto and is a little sad that he won't be able to play in snow anymore.

Nish has been a Microsoft Visual C++ MVP since October, 2002 - awfully nice of Microsoft, he thinks. He maintains an MVP tips and tricks web site - www.voidnish.com where you can find a consolidated list of his articles, writings and ideas on VC++, MFC, .NET and C++/CLI. Oh, and you might want to check out his blog on C++/CLI, MFC, .NET and a lot of other stuff - blog.voidnish.com

Nish loves reading Science Fiction, P G Wodehouse and Agatha Christie, and also fancies himself to be a decent writer of sorts. He has authored a romantic comedy Summer Love and Some more Cricket as well as a programming book – Extending MFC applications with the .NET Framework.

Nish's latest book C++/CLI in Action published by Manning Publications is now available for purchase. You can read more about the book on his blog.

Despite his wife's attempts to get him into cooking, his best effort so far has been a badly done omelette. Some day, he hopes to be a good cook, and to cook a tasty dinner for his wife.
Location: United States United States


Last Updated 20 Nov 2009
Staging | 2.2.0175 | Advertise | Privacy
Copyright © CodeProject, 1999-2009
All Rights Reserved. Terms of Use