Click here to Skip to main content

Articles by Paw Jershauge (Articles: 12, Tip/Tricks: 6)

Articles: 12, Tip/Tricks: 6

RSS Feed

Average article rating: 4.08

Dialogs and Windows

MDI child as dialog form (MDI modal workaround)
Posted: 21 Dec 2009   Updated: 21 Dec 2009   Views: 14,908   Rating: 3.40/5    Votes: 9   Popularity: 3.14
Licence: The Code Project Open License (CPOL)      Bookmarked: 19   Downloaded: 630
Ever had the need to block all other forms and controls when a specific form is shown as a dialog? This is a very simple workaround, for an MDI modal form.

Edit Controls

Linked TextBox
Posted: 7 Sep 2009   Updated: 7 Sep 2009   Views: 9,225   Rating: 4.69/5    Votes: 6   Popularity: 3.65
Licence: The Code Project Open License (CPOL)      Bookmarked: 18   Downloaded: 120
How to make the textbox act as a hyperlink when the Control key is pressed.

List Controls

Collapsible ListViewGroup
Posted: 27 May 2009   Updated: 27 May 2009   Views: 49,383   Rating: 4.89/5    Votes: 19   Popularity: 6.25
Licence: The Code Project Open License (CPOL)      Bookmarked: 72   Downloaded: 1,278
Make ListView Groups Collapsible
ListView Group Sorter
Posted: 17 Aug 2009   Updated: 17 Aug 2009   Views: 24,775   Rating: 5.00/5    Votes: 6   Popularity: 3.89
Licence: The Code Project Open License (CPOL)      Bookmarked: 43   Downloaded: 1,036
An easy to use ListView group sorter (very simple).

C#

DNSBL Lookup Class
Posted: 25 Oct 2007   Updated: 19 Nov 2007   Views: 18,747   Rating: 4.40/5    Votes: 7   Popularity: 3.69
Licence: The Code Project Open License (CPOL)      Bookmarked: 17   Downloaded: 258
A class for looking up IP addresses against DNS black list server (Anti Spam List Servers)
Lightweight Directory Access Protocol Uniform Resource Identifier (LDAPUri)
Posted: 21 Feb 2008   Updated: 28 Feb 2008   Views: 15,206   Rating: 4.67/5    Votes: 3   Popularity: 2.29
Licence: The Code Project Open License (CPOL)      Bookmarked: 11   Downloaded: 137
An Attempt to make Uniform resource identifier for the Lightweight Directory Access Protocol

Algorithms & Recipes

Base N converter (N = 10-62)
Posted: 23 Nov 2007   Updated: 16 Jul 2008   Views: 34,172   Rating: 3.32/5    Votes: 13   Popularity: 3.70
Licence: The Code Project Open License (CPOL)      Bookmarked: 22   Downloaded: 125
Can convert from Base 10 to Base 62.

Date and Time

Seagate Date Code Calculator
Posted: 6 Aug 2007   Updated: 6 Aug 2007   Views: 45,246   Rating: 4.22/5    Votes: 9   Popularity: 4.03
Licence: The Code Project Open License (CPOL)      Bookmarked: 15   Downloaded: 181
How to get the date 20 November 2005 from the number 06212.

Internet / Network

A class for getting the RSS feed list of a website
Posted: 14 Aug 2007   Updated: 14 Aug 2007   Views: 15,219   Rating: 3.33/5    Votes: 6   Popularity: 2.59
Licence: The Code Project Open License (CPOL)      Bookmarked: 20   Downloaded: 111
A very simple class for listing the RSS feed from a website.

Threads, Processes & IPC

Create a Synchronizing Object
Posted: 25 Aug 2009   Updated: 25 Aug 2009   Views: 10,462   Rating: 4.71/5    Votes: 3   Popularity: 2.25
Licence: The Code Project Open License (CPOL)      Bookmarked: 20   Downloaded: 149
How to create a synchronizing object using the ISynchronizeInvoke interface like in the FileSystemWatcher.

Code Generation

SQL Class Shell Generator
Posted: 16 Jul 2008   Updated: 8 Jan 2009   Views: 83,404   Rating: 4.86/5    Votes: 56   Popularity: 8.50
Licence: The Code Project Open License (CPOL)      Bookmarked: 217   Downloaded: 1,053
Generate class shells from SQL Server database tables, (SQL 2005 & 2008 only). Output languages supported: C# and VB.NET.

Hardware & System

LoginHours from DirectoryEntry as a boolean array
Posted: 13 Feb 2008   Updated: 25 Jun 2008   Views: 9,959   Rating: 1.44/5    Votes: 3   Popularity: 0.69
Licence: The Code Project Open License (CPOL)      Bookmarked: 5   Downloaded: 0
How to convert the LoginHours byte array from DirectoryEntry into a boolean array.
No blogs have been submitted.
No video articles have been posted.

Average tips rating: 4.58

Dialogs and Windows

MDI Parent Menu Client Maximized Icon Fix (workaround) [Tip/Trick]
Posted: 14 Sep 2011   Updated: 14 Sep 2011   Rating: 4.50/5    Votes: 2   Popularity: 1.20
Licence: The Code Project Open License (CPOL)      Bookmarked: 0   Downloaded: 0

Files and Folders

DirectoryInfo.GetFiles returns too many files [Tip/Trick]
Posted: 18 Apr 2012   Updated: 18 Apr 2012   Rating: 5.00/5    Votes: 1   Popularity: 0.00
Licence: The Code Project Open License (CPOL)      Bookmarked: 3   Downloaded: 0
In the case where DirectoryInfo.GetFiles returns too many files because of the searchpattern...

C#

Get Known Color from int value [Tip/Trick]
Posted: 17 Nov 2009   Updated: 17 Nov 2009   Rating: 0.0 / 5    Votes: 0   Popularity: 0.0
Licence: The Code Project Open License (CPOL)      Bookmarked: 1   Downloaded: 0
if you think Color myColor = Color.FromArgb(0); will give you the known color black, then you are wrong. you need to get it from the colortranlator class. like this:Color c = ColorTranslator.FromWin32(0);So what am i saying ?, is Color.FromArgb(0) not the same as ColorTranslator.FromWin32(

Programming Tips

The missing Generic CancelEventHandler Delegate in the BCL [Tip/Trick]
Posted: 3 Mar 2010   Updated: 4 Mar 2010   Rating: 0.0 / 5    Votes: 0   Popularity: 0.0
Licence: The Code Project Open License (CPOL)      Bookmarked: 2   Downloaded: 0
Provides an easy way to make generic Cancel Event Handles. normaly used for pre changing event.The Delegate:[Serializable][HostProtection(SecurityAction.LinkDemand, SharedState = true)]public delegate void CancelEventHandler(object sender, TCancelEventArgs e) where...
Fix the focus issue on RDP Client from the AxInterop.MSTSCLib.dll [Tip/Trick]
Posted: 15 Sep 2010   Updated: 18 Sep 2010   Rating: 4.25/5    Votes: 4   Popularity: 2.61
Licence: The Code Project Open License (CPOL)      Bookmarked: 2   Downloaded: 0
Quick and dirty fix for the focus issue on the RDP Client.
Convert RGB to Gray Scale without using Pointers [Tip/Trick]
Posted: 17 Jan 2012   Updated: 17 Jan 2012   Rating: 0.0 / 5    Votes: 0   Popularity: 0.0
Licence: The Code Project Open License (CPOL)      Bookmarked: 0   Downloaded: 0
I would use the colormatrix for that... Look here under the grayscale methodhttp://pawjershauge.blogspot.com/2010/09/imagedrawing-extensions.html

Paw Jershauge

Software Developer

Denmark Denmark

Member

blog: C# And I
About.me Paw Jershauge
ListView Group Sorter
An Code Generator, for making SQL table into .Net Classses (2nd place in the Code Generation 2008 Competition)
A Class for getting the Rss feed list of a website
Seagate Date Code Calculator
DNSBL lookup Class
Base N converter (N = 10-62)
Lightweight Directory Access Protocol Uniform resource identifier (LDAPUri)
LoginHours from DirectoryEntry into boolean array


Advertise | Privacy | Mobile
Web02 | 2.5.120517.1 | Last Updated 27 May 2012
Copyright © CodeProject, 1999-2012
All Rights Reserved. Terms of Use
Layout: fixed | fluid