progress Updating

PocketNerd Bits of Code

The links below are will take you to bits of code that i find useful. Feel free to use them, abuse them or just completely ignore them.

Looks at creating a general use, multipurpose progress indicator that automatically informs visitors that an AJAX request in progress
17 May 2007
This is a wrapper class for System.Drawing.Color, that enables a color to be Serialized and Deserialized
05 October 2006
The TimedDictionary provides functionality that is similar to a normal Dictionary except the items within it can expire and be cleaned up
05 October 2006
This is a simple class that is used to associate a Name with a corresponding Generic Value and to add Items to ComboBoxes, ListBoxes etc
17 March 2006
This .NET 2.0 bit of code shows how application settings in one assembly, typically an EXE, can be shared with referenced assemblies, typically DLLs.
08 March 2006
Sample code that shows how to create a Feedback Provider, similar to an ErrorProvider, that can display Info, Warn, Error, Dirty and Mandatory icons
27 February 2006
Creates a collection of name value pair items that can be converted into an XML Document or transformed using XSLT. It is also possible to add groups of name value pair items.
25 June 2005
The GroupedHashtable is a class that looks very similar to a standard Hashtable except the string key is used to group the corresponding items together rather than identify a single, specific item.
25 June 2005
This is a simple class that is used to associate a Name with a corresponding Value and to add Items to ComboBoxes, ListBoxes etc
07 June 2005
There is no easy way to get very precise timings within the .NET Framework to see exactly how long code takes to execute or how long it takes to access a database. However, the Windows Platform does expose such functionality through performance counters and we can use interop to access it directly from within our .NET code
06 June 2005
Sample code that shows how to how to convert an in memory DataSet into a String using a MemoryStream
08 May 2005
Sample code that shows how to make sense of the IDTWizard.Execute's ContextParams argument when creating a Custom Wizard
06 April 2005
Sample code that shows how to alert the user to a particular Window by causing it to flash on its Title Bar and on the Taskbar
30 August 2004
Everybody that uses Windows is familiar with the functionality of the Start-->Run dialog that allows a user to enter the name of an application or document and quickly launch it. This bit of code contains an extended combo box that implements all of the auto complete and memory capabilities of the Run dialog
27 June 2004
Sample code that shows how to get and set Custom File Properties using C# in an Excel Spreadsheet
26 June 2004
Sample code that shows how to dynamically create an assembly in memory, using code from a text box, and execute a method on it
19 April 2004
Sample code that shows how to save user settings, preferences and choices between application sessions
28 March 2004
Sample code that shows how to interact with a Windows Service; Stop, Start and Pause a Service
21 March 2004
Sample code that shows how to implement the default functionality of the TextBox ContextMenu
16 March 2004
Sample code that shows how to embed resources such as XML Files and Images into a Resource file
13 March 2004
Sample code that shows how to capture a desktop Image and store images in a XML file
09 March 2004
Sample code that shows how to authenticate against Active Directory
09 March 2004
Sample code that shows how to display a Balloon ToolTip from a NotifyIcon
08 March 2004
Sample code that shows how to display a Balloon ToolTip from a TextBox
05 February 2004
Sample code that shows how to detect and override the default Windows Forms Maximize and Minimize behaviour before it occurs
01 February 2004
Sample code that shows how to encrypt and decrypt a File on disk using the Triple DES cyptography provider
01 February 2004
Sample code that shows how to encrypt and decrypt a string using the Triple DES cyptography provider
01 February 2004

PDF generation is provided by Websupergoo's ABC PDF software
<
<