Click here to Skip to main content

Articles by Pascal Ganaye (Articles: 15, Tip/Tricks: 10)

Articles: 15, Tip/Tricks: 10

RSS Feed

Average article rating: 4.45

Files and Folders

Utility to backup your folders fast
Posted: 31 Jul 2005   Updated: 31 Jul 2005   Views: 107,596   Rating: 4.58/5    Votes: 23   Popularity: 6.23
Licence: Not specified      Bookmarked: 67   Downloaded: 872
I use a procedure based on batch files to copy various versions of my project. I was a bit fed up to wait for the batch file to copy hundreads of files and wrote this small utility to speed up the process. I hope some of you will find it useful.
Delete Undeletable Folders under Vista or Windows 7
Posted: 28 Jun 2011   Updated: 28 Jun 2011   Views: 6,817   Rating: 4.63/5    Votes: 14   Popularity: 5.32
Licence: The Code Project Open License (CPOL)      Bookmarked: 27   Downloaded: 915
A small utility that will help you get rid of the hard to remove protected or system folders

Menus

Display any usercontrol as a popup menu
Posted: 6 Feb 2005   Updated: 1 May 2005   Views: 153,194   Rating: 4.56/5    Votes: 46   Popularity: 7.58
Licence: Not specified      Bookmarked: 110   Downloaded: 1,876
This article introduces a little class which lets you show any usercontrol in XP style popup menu.

ASP.NET

Fixing "Microsoft JScript runtime error: '__pendingCallbacks[...].async' is null or not an object"
Posted: 2 Jul 2008   Updated: 1 Jun 2009   Views: 35,800   Rating: 4.24/5    Votes: 15   Popularity: 4.98
Licence: The Code Project Open License (CPOL)      Bookmarked: 13   Downloaded: 0
This article explains how to fix a bug in the ASP.NET Framework when using callback panels.

Database

Building an embedded database engine in C#
Posted: 1 Jun 2009   Updated: 10 Jun 2009   Views: 86,427   Rating: 4.92/5    Votes: 86   Popularity: 9.52
Licence: The Code Project Open License (CPOL)      Bookmarked: 299   Downloaded: 2,210
DbfDotNet is a very fast and compact fully managed standalone database/entity framework, for the .Net Framework.

C#

Solving Paint-by-numbers puzzles in C#
Posted: 11 Aug 2005   Updated: 11 Aug 2005   Views: 79,151   Rating: 4.40/5    Votes: 11   Popularity: 4.58
Licence: Not specified      Bookmarked: 24   Downloaded: 1,374
A small program which solves the paint-by-numbers puzzles in virtually time. It is a spoiler if you're a player. If you're a programmer however I think it shows how this problem can be solved.
Coco Custom Tool for Visual Studio.NET
Posted: 29 Oct 2005   Updated: 29 Oct 2005   Views: 73,747   Rating: 4.64/5    Votes: 34   Popularity: 7.11
Licence: The Code Project Open License (CPOL)      Bookmarked: 51   Downloaded: 466
Use the award winning Coco compiler's compiler directly from within Visual Studio
Quick and Dirty HexDump of a Byte Array
Posted: 26 May 2009   Updated: 25 Jan 2012   Views: 19,158   Rating: 3.47/5    Votes: 8   Popularity: 3.61
Licence: The Code Project Open License (CPOL)      Bookmarked: 26   Downloaded: 0
A simple function to transform a Byte[] into an Hex Dump formatted string

VB.NET

An expression evaluator written in VB.NET
Posted: 7 Feb 2005   Updated: 7 Feb 2005   Views: 112,365   Rating: 4.78/5    Votes: 45   Popularity: 7.90
Licence: The Code Project Open License (CPOL)      Bookmarked: 54   Downloaded: 1,308
An expression evaluator written in VB.NET.

.NET Framework

ArrayLists, Generic Lists, Is There A Way To Insert Items Faster?
Posted: 11 Dec 2007   Updated: 12 Dec 2007   Views: 37,906   Rating: 4.65/5    Votes: 27   Popularity: 6.65
Licence: The Code Project Open License (CPOL)      Bookmarked: 79   Downloaded: 114
In this article, I try to highlight some issues in the .NET Framework generic list and how to circumvent them
C# vs. VB contest - Resolving Mac Mahon problem using .NET
Posted: 14 Mar 2005   Updated: 14 Mar 2005   Views: 73,748   Rating: 3.38/5    Votes: 15   Popularity: 3.98
Licence: Not specified      Bookmarked: 11   Downloaded: 252
Rather than discussing for ever wether C# is better than VB or vice-versa, let's see which programmers are best.

Game Development

Another Sudoku Solver and Generator
Posted: 9 Dec 2005   Updated: 9 Dec 2005   Views: 80,171   Rating: 4.43/5    Votes: 35   Popularity: 6.84
Licence: The Code Project Open License (CPOL)      Bookmarked: 48   Downloaded: 667
A program to help you to solve Sudoku problems or check if a Sudoku problem has only one solution.

Algorithms & Recipes

The expression evaluator revisited (Eval function in 100% managed .NET)
Posted: 13 Apr 2006   Updated: 18 May 2007   Views: 173,767   Rating: 4.98/5    Votes: 143   Popularity: 10.73
Licence: The Code Project Open License (CPOL)      Bookmarked: 165   Downloaded: 1,330
This second article about evaluation in .NET introduces a parser which pre-compiles the expressions
Implementing the .NET IComparer interface to get a more natural sort order
Posted: 17 Jan 2008   Updated: 4 Jul 2008   Views: 27,512   Rating: 4.47/5    Votes: 18   Popularity: 5.61
Licence: The Code Project Open License (CPOL)      Bookmarked: 50   Downloaded: 201
The IComparer available in .NET lets you sort numbers or strings. This little class available in both C# and VB shows how to implement an IComparer which will work with mixed characters and numbers.

Internet / Network

Writing a Parental Control Software for Windows
Posted: 7 Jul 2010   Updated: 8 Jul 2010   Views: 13,529   Rating: 4.67/5    Votes: 6   Popularity: 3.63
Licence: The GNU General Public License (GPLv3)      Bookmarked: 19   Downloaded: 681
Writing a parental control software: The beginning of the adventure
No blogs have been submitted.
No video articles have been posted.

Average tips rating: 4.87

C#

Simple variable dump [Tip/Trick]
Posted: 18 May 2012   Updated: 21 May 2012   Rating: 4.00/5    Votes: 2   Popularity: 1.20
Licence: The Code Project Open License (CPOL)      Bookmarked: 6   Downloaded: 0
This class dump any .Net object properties to your output window.

Vista Security

Deleting protected folders in Windows 7 [Tip/Trick]
Posted: 22 Mar 2011   Updated: 25 Mar 2011   Rating: 4.93/5    Votes: 12   Popularity: 5.32
Licence: The Code Project Open License (CPOL)      Bookmarked: 12   Downloaded: 0
Deleting protected folders in Windows 7

Algorithms & Recipes

Quicker Prime Number Test [Tip/Trick]
Posted: 4 Nov 2011   Updated: 6 Nov 2011   Rating: 4.88/5    Votes: 5   Popularity: 3.49
Licence: The Code Project Open License (CPOL)      Bookmarked: 0   Downloaded: 33
When you search manually, you can search for every odd number that is a step of 2. If you're a bit more clever (as you are), you can use steps of 6 (2 * 3). Testing (testno+1)%6==0 is very similar to (testno % 6) = 5.You can speed up big time by having a loop that increments per steps of...
The SQL Server Rand Function [Tip/Trick]
Posted: 1 Feb 2012   Updated: 8 Feb 2012   Rating: 5.00/5    Votes: 2   Popularity: 1.51
Licence: The Code Project Open License (CPOL)      Bookmarked: 1   Downloaded: 0
Reproducing the SQL RAND() function in C#
ShortGUID [Tip/Trick]
Posted: 26 Apr 2012   Updated: 30 Apr 2012   Rating: 5.00/5    Votes: 1   Popularity: 0.00
Licence: The Code Project Open License (CPOL)      Bookmarked: 7   Downloaded: 0
A set of functions to get Slightly shorter unique Guids

Programming Tips

Increment the string value letter by letter for every row using SQL server [Tip/Trick]
Posted: 4 Oct 2011   Updated: 4 Oct 2011   Rating: 5.00/5    Votes: 2   Popularity: 1.51
Licence: The Code Project Open License (CPOL)      Bookmarked: 0   Downloaded: 0
WITH tempTable(Column1)AS( SELECT 'chaitanya' [Column1] UNION ALL SELEC`T SUBSTRING(Column1,1,LEN(Column1)-1) FROM tempTable WHERE LEN(Column1)>0)SELECT * FROM tempTable ORDER BY LEN(Column1)Result:cchchachaichaitchaitachaitanchaitanychaitanya
Iranian system encoding standard [Tip/Trick]
Posted: 23 Oct 2011   Updated: 24 Oct 2011   Rating: 5.00/5    Votes: 1   Popularity: 0.00
Licence: The Code Project Open License (CPOL)      Bookmarked: 3   Downloaded: 0
There doesn't seem to be any encoding for the 'Iranian system encoding standard' in .NET
Consistent Hash function for SQL Server and .NET [Tip/Trick]
Posted: 26 Oct 2011   Updated: 26 Oct 2011   Rating: 0.0 / 5    Votes: 0   Popularity: 0.0
Licence: The Code Project Open License (CPOL)      Bookmarked: 0   Downloaded: 0
Provides a couple of hash functions (string to int) that will return the same value in C# and T-SQL
A custom string to handle UTF8 natively in C# [Tip/Trick]
Posted: 15 Dec 2011   Updated: 16 Dec 2011   Rating: 5.00/5    Votes: 1   Popularity: 0.00
Licence: The Code Project Open License (CPOL)      Bookmarked: 2   Downloaded: 0
A custom C# string implementation that stores its data in a UTF8 byte array.
Create a sample SQL database in less than 2 minutes [Tip/Trick]
Posted: 7 Feb 2012   Updated: 8 Feb 2012   Rating: 5.00/5    Votes: 3   Popularity: 2.39
Licence: The Code Project Open License (CPOL)      Bookmarked: 4   Downloaded: 0
This SQL stored procedure creates a database from scratch with some meaningful content.

Pascal Ganaye

Web Developer

United Kingdom United Kingdom

Member

I am a French programmer.
These days I spend most of my time within the .NET framework.


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