Click here to Skip to main content

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

Articles: 12, Tip/Tricks: 9

RSS Feed

Average article rating: 4.13

Dialogs and Windows
General
Posted: 21 Dec 2009   Updated: 21 Dec 2009   Views: 32,233   Rating: 3.59/5    Votes: 12   Popularity: 3.87
Licence: The Code Project Open License (CPOL)      Bookmarked: 24   Downloaded: 1,788
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
General
Posted: 7 Sep 2009   Updated: 7 Sep 2009   Views: 12,346   Rating: 4.71/5    Votes: 7   Popularity: 3.97
Licence: The Code Project Open License (CPOL)      Bookmarked: 17   Downloaded: 240
How to make the textbox act as a hyperlink when the Control key is pressed.
List Controls
ListView controls
Posted: 27 May 2009   Updated: 27 May 2009   Views: 89,971   Rating: 4.91/5    Votes: 25   Popularity: 6.86
Licence: The Code Project Open License (CPOL)      Bookmarked: 82   Downloaded: 3,301
Make ListView Groups Collapsible
Posted: 17 Aug 2009   Updated: 17 Aug 2009   Views: 43,162   Rating: 5.00/5    Votes: 8   Popularity: 4.52
Licence: The Code Project Open License (CPOL)      Bookmarked: 54   Downloaded: 2,558
An easy to use ListView group sorter (very simple).
C#
General
Posted: 25 Oct 2007   Updated: 19 Nov 2007   Views: 26,967   Rating: 4.40/5    Votes: 7   Popularity: 3.69
Licence: The Code Project Open License (CPOL)      Bookmarked: 17   Downloaded: 624
A class for looking up IP addresses against DNS black list server (Anti Spam List Servers)
Posted: 21 Feb 2008   Updated: 28 Feb 2008   Views: 18,630   Rating: 4.67/5    Votes: 3   Popularity: 2.29
Licence: The Code Project Open License (CPOL)      Bookmarked: 13   Downloaded: 260
An Attempt to make Uniform resource identifier for the Lightweight Directory Access Protocol
Algorithms & Recipes
Math
Posted: 23 Nov 2007   Updated: 16 Jul 2008   Views: 43,531   Rating: 3.32/5    Votes: 14   Popularity: 3.81
Licence: The Code Project Open License (CPOL)      Bookmarked: 23   Downloaded: 194
Can convert from Base 10 to Base 62.
Date and Time
Tools
Posted: 6 Aug 2007   Updated: 6 Aug 2007   Views: 58,344   Rating: 4.22/5    Votes: 9   Popularity: 4.03
Licence: The Code Project Open License (CPOL)      Bookmarked: 15   Downloaded: 370
How to get the date 20 November 2005 from the number 06212.
Internet / Network
General
Posted: 14 Aug 2007   Updated: 14 Aug 2007   Views: 31,496   Rating: 3.33/5    Votes: 6   Popularity: 2.59
Licence: The Code Project Open License (CPOL)      Bookmarked: 22   Downloaded: 219
A very simple class for listing the RSS feed from a website.
Threads, Processes & IPC
General
Posted: 25 Aug 2009   Updated: 25 Aug 2009   Views: 18,013   Rating: 4.75/5    Votes: 4   Popularity: 2.84
Licence: The Code Project Open License (CPOL)      Bookmarked: 21   Downloaded: 349
How to create a synchronizing object using the ISynchronizeInvoke interface like in the FileSystemWatcher.
Code Generation
General
Posted: 16 Jul 2008   Updated: 8 Jan 2009   Views: 109,759   Rating: 4.88/5    Votes: 61   Popularity: 8.70
Licence: The Code Project Open License (CPOL)      Bookmarked: 225   Downloaded: 2,235
Generate class shells from SQL Server database tables, (SQL 2005 & 2008 only). Output languages supported: C# and VB.NET.
Hardware & System
Active Directory
Posted: 13 Feb 2008   Updated: 25 Jun 2008   Views: 12,954   Rating: 1.73/5    Votes: 4   Popularity: 0.87
Licence: The Code Project Open License (CPOL)      Bookmarked: 6   Downloaded: 0
How to convert the LoginHours byte array from DirectoryEntry into a boolean array.
No blogs have been submitted.

Average tips rating: 4.79

Dialogs and Windows
General
Posted: 14 Sep 2011   Updated: 14 Sep 2011   Views: 10,153   Rating: 4.50/5    Votes: 2   Popularity: 1.20
Licence: The Code Project Open License (CPOL)      Bookmarked: 1   Downloaded: 0
Files and Folders
File System
Posted: 18 Apr 2012   Updated: 18 Apr 2012   Views: 7,315   Rating: 5.00/5    Votes: 2   Popularity: 1.51
Licence: The Code Project Open License (CPOL)      Bookmarked: 5   Downloaded: 0
In case where DirectoryInfo.GetFiles returns too many files because of the searchpattern...
General
Posted: 15 Aug 2013   Updated: 15 Aug 2013   Views: 4,036   Rating: 5.00/5    Votes: 2   Popularity: 1.51
Licence: The Code Project Open License (CPOL)      Bookmarked: 4   Downloaded: 0
Extract decompressed file size from a Gzip file !
Database
SQL Server
Posted: 6 Dec 2012   Updated: 13 Dec 2012   Views: 5,805   Rating: 5.00/5    Votes: 3   Popularity: 2.39
Licence: The Code Project Open License (CPOL)      Bookmarked: 4   Downloaded: 0
MS SQL system views, mapped over version.
C#
General
Posted: 17 Nov 2009   Updated: 17 Nov 2009   Views: 8,007   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(
Internet / Network
Internet
Posted: 22 Jul 2013   Updated: 22 Jul 2013   Views: 8,435   Rating: 5.00/5    Votes: 8   Popularity: 4.52
Licence: The Code Project Open License (CPOL)      Bookmarked: 19   Downloaded: 677
Want your own movie database??? Download IMDB in 20 minutes.
Programming Tips
General
Posted: 3 Mar 2010   Updated: 4 Mar 2010   Views: 3,228   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...
Posted: 15 Sep 2010   Updated: 18 Sep 2010   Views: 18,460   Rating: 4.25/5    Votes: 4   Popularity: 2.61
Licence: The Code Project Open License (CPOL)      Bookmarked: 3   Downloaded: 0
Quick and dirty fix for the focus issue on the RDP Client.
Posted: 17 Jan 2012   Updated: 17 Jan 2012   Views: 2,735   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
No reference articles have been posted.


Advertise | Privacy | Mobile
Web04 | 2.8.140814.1 | Last Updated 20 Aug 2014
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid