Looks at creating a general use, multipurpose progress indicator that automatically informs visitors that an AJAX request in progress.
See this content on www.pocketnerd.net -->
Showing posts with label Bits of Code. Show all posts
Showing posts with label Bits of Code. Show all posts
Thursday, May 17, 2007
Thursday, October 05, 2006
Xml Color
This is a wrapper class for System.Drawing.Color, that enables a color to be Serialized and Deserialized
See this content on www.pocketnerd.net -->
See this content on www.pocketnerd.net -->
Timed Dictionary
The TimedDictionary provides functionality that is similar to a normal Dictionary except the items within it can expire and be cleaned up
See this content on www.pocketnerd.net -->
See this content on www.pocketnerd.net -->
Friday, March 17, 2006
Generic Name Value Pair
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
See this content on www.pocketnerd.net -->
See this content on www.pocketnerd.net -->
Wednesday, March 08, 2006
Sharing Application Settings
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.
See this content on www.pocketnerd.net -->
See this content on www.pocketnerd.net -->
Monday, February 27, 2006
Feedback Provider
Sample code that shows how to create a Feedback Provider, similar to an ErrorProvider, that can display Info, Warn, Error, Dirty and Mandatory icons
See this content on www.pocketnerd.net -->
See this content on www.pocketnerd.net -->
Saturday, June 25, 2005
Xml Collection
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.
See this content on www.pocketnerd.net -->
See this content on www.pocketnerd.net -->
Grouped Hashtable
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.
See this content on www.pocketnerd.net -->
See this content on www.pocketnerd.net -->
Tuesday, June 07, 2005
Name Value Pair
This is a simple class that is used to associate a Name with a corresponding Value and to add Items to ComboBoxes, ListBoxes etc
See this content on www.pocketnerd.net -->
See this content on www.pocketnerd.net -->
Monday, June 06, 2005
High Performance Timers
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
See this content on www.pocketnerd.net -->
See this content on www.pocketnerd.net -->
Sunday, May 08, 2005
Convert a DataSet into a String
Sample code that shows how to how to convert an in memory DataSet into a String using a MemoryStream
See this content on www.pocketnerd.net -->
See this content on www.pocketnerd.net -->
Wednesday, April 06, 2005
IDTWizard.Execute's ContextParams
Sample code that shows how to make sense of the IDTWizard.Execute's ContextParams argument when creating a Custom Wizard
See this content on www.pocketnerd.net -->
See this content on www.pocketnerd.net -->
Monday, August 30, 2004
Flash Window
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
See this content on www.pocketnerd.net -->
See this content on www.pocketnerd.net -->
Sunday, June 27, 2004
Auto Complete Run-like Combo Box
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
See this content on www.pocketnerd.net -->
This bit of code contains an extended combo box that implements all of the auto complete and memory capabilities of the Run dialog
See this content on www.pocketnerd.net -->
Saturday, June 26, 2004
Excel C# Custom File Properties
Sample code that shows how to get and set Custom File Properties using C# in an Excel Spreadsheet
See this content on www.pocketnerd.net -->
See this content on www.pocketnerd.net -->
Monday, April 19, 2004
Dynamic Code Generation and Execution
Sample code that shows how to dynamically create an assembly in memory, using code from a text box, and execute a method on it
See this content on www.pocketnerd.net -->
See this content on www.pocketnerd.net -->
Sunday, March 28, 2004
Saving User Settings Between Sessions
Sample code that shows how to save user settings, preferences and choices between application sessions
See this content on www.pocketnerd.net -->
See this content on www.pocketnerd.net -->
Sunday, March 21, 2004
Windows Service Interaction
Sample code that shows how to interact with a Windows Service; Stop, Start and Pause a Service
See this content on www.pocketnerd.net -->
See this content on www.pocketnerd.net -->
Tuesday, March 16, 2004
Defult TextBox Context Menu
Sample code that shows how to implement the default functionality of the TextBox ContextMenu
See this content on www.pocketnerd.net -->
See this content on www.pocketnerd.net -->
Saturday, March 13, 2004
Embedding Resources into an Assembly
Sample code that shows how to embed resources such as XML Files and Images into a Resource file
See this content on www.pocketnerd.net -->
See this content on www.pocketnerd.net -->
Subscribe to:
Posts (Atom)