Click here to Skip to main content
15,122,379 members

Articles by #realJSOP (Articles: 78, Tip/Tricks: 85)

Articles: 78, Tip/Tricks: 85

RSS Feed

Average article rating: 4.50

All Topics
Posted: 14 Sep 2011   Updated: 14 Sep 2011   Views: 55,384   Rating: 4.98/5    Votes: 52   Popularity: 8.54
Licence: The Code Project Open License (CPOL)      Bookmarked: 9   Downloaded: 0
Please Sign up or sign in to vote.
Welcome to our continuing series of Code Project interviews in which we talk to developers about their backgrounds, projects, interests and pet peeves. In this installment we track down Code Project member John Simmons.
Database Development
SQL Server
Posted: 30 Sep 2017   Updated: 30 Sep 2017   Views: 6,741   Rating: 5.00/5    Votes: 3   Popularity: 2.39
Licence: The Code Project Open License (CPOL)      Bookmarked: 1   Downloaded: 39
Please Sign up or sign in to vote.
Create and run jobs kinda like SQL Server Enterprise - Architecture and design decisions
Posted: 30 Sep 2017   Updated: 30 Sep 2017   Views: 6,641   Rating: 5.00/5    Votes: 2   Popularity: 1.51
Licence: The Code Project Open License (CPOL)      Bookmarked: 2   Downloaded: 21
Please Sign up or sign in to vote.
Create and run jobs kinda like SQL Server Enterprise - The CSV and Excel Importer Code
Posted: 30 Sep 2017   Updated: 30 Sep 2017   Views: 5,851   Rating: 5.00/5    Votes: 3   Popularity: 2.39
Licence: The Code Project Open License (CPOL)      Bookmarked: 1   Downloaded: 23
Please Sign up or sign in to vote.
Create and run jobs kinda like SQL Server Enterprise - Job Scheduling Code
Posted: 30 Sep 2017   Updated: 30 Sep 2017   Views: 5,071   Rating: 5.00/5    Votes: 2   Popularity: 1.51
Licence: The Code Project Open License (CPOL)      Bookmarked: 2   Downloaded: 13
Please Sign up or sign in to vote.
Create and run jobs kinda like SQL Server Enterprise - How Packages Are Run
Posted: 30 Sep 2017   Updated: 30 Sep 2017   Views: 5,662   Rating: 5.00/5    Votes: 4   Popularity: 3.01
Licence: The Code Project Open License (CPOL)      Bookmarked: 3   Downloaded: 50
Please Sign up or sign in to vote.
Create and run jobs kinda like SQL Server Enterprise - Interesting Coding
Posted: 30 Sep 2017   Updated: 27 Feb 2018   Views: 19,075   Rating: 5.00/5    Votes: 11   Popularity: 5.21
Licence: The Code Project Open License (CPOL)      Bookmarked: 32   Downloaded: 501
Please Sign up or sign in to vote.
Create and run jobs kinda like SQL Server Enterprise - Users Guide
Posted: 4 Mar 2021   Updated: 9 Mar 2021   Views: 10,560   Rating: 5.00/5    Votes: 4   Popularity: 3.01
Licence: The Code Project Open License (CPOL)      Bookmarked: 11   Downloaded: 209
Please Sign up or sign in to vote.
This library is intended for use in a multi-environment system, but it certainly be used under less stringent environmental confines, even down to a single desktop machine taht needs to connect to a single database server.
Desktop Programming
MFC
Posted: 26 Nov 2000   Updated: 16 Apr 2001   Views: 100,042   Rating: 3.07/5    Votes: 18   Popularity: 3.85
Licence: The Code Project Open License (CPOL)      Bookmarked: 27   Downloaded: 2,067
Please Sign up or sign in to vote.
Technique for utilizing a CResizablePage in a CFormView-derived class
Posted: 28 Nov 2000   Updated: 6 Jun 2001   Views: 179,401   Rating: 3.50/5    Votes: 27   Popularity: 5.01
Licence: Not specified      Bookmarked: 45   Downloaded: 2,503
Please Sign up or sign in to vote.
Extension of Paolo Messina's CResizableDialog concept
Posted: 9 Aug 2005   Updated: 9 Aug 2005   Views: 75,090   Rating: 3.55/5    Votes: 26   Popularity: 5.02
Licence: Not specified      Bookmarked: 23   Downloaded: 1,070
Please Sign up or sign in to vote.
Enumerate all controls in a dialog box or form view.
Posted: 21 Jan 2001   Updated: 7 May 2001   Views: 101,512   Rating: 3.30/5    Votes: 22   Popularity: 4.43
Licence: The Code Project Open License (CPOL)      Bookmarked: 37   Downloaded: 2,001
Please Sign up or sign in to vote.
Track a mouse click, even in a scrolled view
Posted: 27 Jan 2007   Updated: 27 Jan 2007   Views: 66,576   Rating: 4.60/5    Votes: 23   Popularity: 5.89
Licence: The Code Project Open License (CPOL)      Bookmarked: 44   Downloaded: 735
Please Sign up or sign in to vote.
Implement XML application profiles that are similar (but not too similar) to using INI files
Posted: 8 Dec 2002   Updated: 8 Dec 2002   Views: 210,657   Rating: 3.50/5    Votes: 45   Popularity: 5.79
Licence: Not specified      Bookmarked: 33   Downloaded: 0
Please Sign up or sign in to vote.
Some dialogbox code to give the Blonde a clue
Posted: 26 Jan 2007   Updated: 26 Jan 2007   Views: 104,388   Rating: 3.19/5    Votes: 64   Popularity: 5.76
Licence: The Code Project Open License (CPOL)      Bookmarked: 38   Downloaded: 1,345
Please Sign up or sign in to vote.
Add menu items to, and learn how to handle the system menu
Posted: 12 May 2005   Updated: 12 May 2005   Views: 131,834   Rating: 3.11/5    Votes: 39   Popularity: 4.95
Licence: Not specified      Bookmarked: 39   Downloaded: 0
Please Sign up or sign in to vote.
Build a menu and/or a toolbar dynamically without using resource files (well, almost).
Posted: 13 May 2005   Updated: 13 May 2005   Views: 69,380   Rating: 3.22/5    Votes: 25   Popularity: 4.50
Licence: The Code Project Open License (CPOL)      Bookmarked: 11   Downloaded: 981
Please Sign up or sign in to vote.
Create blinking cells for Chris Maunder's grid control.
Posted: 28 Jul 2006   Updated: 28 Jul 2006   Views: 51,883   Rating: 3.74/5    Votes: 31   Popularity: 5.58
Licence: The Code Project Open License (CPOL)      Bookmarked: 29   Downloaded: 522
Please Sign up or sign in to vote.
Copy a bitmap over a portion of another bitmap
Posted: 3 Aug 2006   Updated: 3 Aug 2006   Views: 30,221   Rating: 3.67/5    Votes: 10   Popularity: 3.67
Licence: Not specified      Bookmarked: 12   Downloaded: 144
Please Sign up or sign in to vote.
A passable workaround for the COleDateTime formatting behavior in MFC8.
Posted: 11 Dec 2001   Updated: 12 Dec 2001   Views: 202,203   Rating: 3.65/5    Votes: 17   Popularity: 4.49
Licence: The Code Project Open License (CPOL)      Bookmarked: 20   Downloaded: 0
Please Sign up or sign in to vote.
A small function to either accept or create a UUID* and return a CString
Posted: 19 Jan 2001   Updated: 14 Mar 2002   Views: 188,482   Rating: 3.89/5    Votes: 24   Popularity: 5.37
Licence: Not specified      Bookmarked: 44   Downloaded: 1,313
Please Sign up or sign in to vote.
Parse strings with specified delimiter and specified quote character
Windows Forms
Posted: 14 Dec 2008   Updated: 24 Jun 2010   Views: 151,998   Rating: 4.85/5    Votes: 54   Popularity: 8.20
Licence: The Code Project Open License (CPOL)      Bookmarked: 174   Downloaded: 3,861
Please Sign up or sign in to vote.
Create a dynamically resizable wizard form
Posted: 11 Dec 2010   Updated: 13 Nov 2011   Views: 105,382   Rating: 4.95/5    Votes: 52   Popularity: 8.45
Licence: The Code Project Open License (CPOL)      Bookmarked: 71   Downloaded: 1,461
Please Sign up or sign in to vote.
New and improved! Keep an eye on your CodeProject articles and reputation without having to log onto CP.
Posted: 14 Aug 2011   Updated: 20 Aug 2011   Views: 38,082   Rating: 4.85/5    Votes: 23   Popularity: 6.61
Licence: The Code Project Open License (CPOL)      Bookmarked: 24   Downloaded: 1,358
Please Sign up or sign in to vote.
Keep more detailed track of your Codeproject reputation points.
Posted: 14 Aug 2011   Updated: 30 Aug 2011   Views: 50,880   Rating: 4.93/5    Votes: 35   Popularity: 7.61
Licence: The Code Project Open License (CPOL)      Bookmarked: 41   Downloaded: 870
Please Sign up or sign in to vote.
Keep more detailed track of your Codeproject reputation points.
Posted: 14 Aug 2011   Updated: 20 Sep 2012   Views: 39,271   Rating: 4.85/5    Votes: 20   Popularity: 6.30
Licence: The Code Project Open License (CPOL)      Bookmarked: 14   Downloaded: 488
Please Sign up or sign in to vote.
Keep more detailed track of your Codeproject reputation points.
Posted: 7 Apr 2008   Updated: 4 Nov 2012   Views: 133,966   Rating: 4.71/5    Votes: 27   Popularity: 6.50
Licence: The Code Project Open License (CPOL)      Bookmarked: 70   Downloaded: 3,757
Please Sign up or sign in to vote.
The classic word game using words and letter scores allowed in Scrabble
WPF
Posted: 25 Dec 2020   Updated: 21 Jan 2021   Views: 34,067   Rating: 4.94/5    Votes: 53   Popularity: 8.40
Licence: The Code Project Open License (CPOL)      Bookmarked: 52   Downloaded: 1,577
Please Sign up or sign in to vote.
Finally, a customizable MessageBox for WPF applications
Posted: 1 Mar 2021   Updated: 1 Mar 2021   Views: 3,170   Rating: 5.00/5    Votes: 4   Popularity: 3.01
Licence: The Code Project Open License (CPOL)      Bookmarked: 9   Downloaded: 102
Please Sign up or sign in to vote.
For those times when you need more control over when a modeless window is created/displayed
Posted: 21 Feb 2021   Updated: 21 Feb 2021   Views: 3,580   Rating: 5.00/5    Votes: 1   Popularity: 0.00
Licence: The Code Project Open License (CPOL)      Bookmarked: 8   Downloaded: 105
Please Sign up or sign in to vote.
Not about just writing code, but adapting someone else's code to your own needs
Posted: 23 Feb 2021   Updated: 23 Feb 2021   Views: 3,280   Rating: 4.75/5    Votes: 5   Popularity: 3.32
Licence: The Code Project Open License (CPOL)      Bookmarked: 10   Downloaded: 147
Please Sign up or sign in to vote.
Implement enumerator selection in your WPF apps
Posted: 18 Feb 2021   Updated: 18 Feb 2021   Views: 3,610   Rating: 5.00/5    Votes: 5   Popularity: 3.49
Licence: The Code Project Open License (CPOL)      Bookmarked: 11   Downloaded: 157
Please Sign up or sign in to vote.
A WPF ListView that automatically generates columns (that are also sortable) based on decorated entity properties
Posted: 20 Aug 2011   Updated: 30 Aug 2011   Views: 36,053   Rating: 4.85/5    Votes: 9   Popularity: 4.62
Licence: The Code Project Open License (CPOL)      Bookmarked: 14   Downloaded: 984
Please Sign up or sign in to vote.
Keep more detailed track of your Codeproject reputation points.
Posted: 14 Oct 2012   Updated: 4 Nov 2012   Views: 56,812   Rating: 4.97/5    Votes: 16   Popularity: 5.99
Licence: The Code Project Open License (CPOL)      Bookmarked: 40   Downloaded: 1,383
Please Sign up or sign in to vote.
My Anagrams game ported to WPF.
Posted: 13 Apr 2016   Updated: 11 Apr 2020   Views: 33,917   Rating: 4.77/5    Votes: 20   Popularity: 5.99
Licence: The Code Project Open License (CPOL)      Bookmarked: 29   Downloaded: 1,195
Please Sign up or sign in to vote.
Any technology suitably advanced will generally be viewed as "magic".
Posted: 16 Dec 2014   Updated: 16 Dec 2014   Views: 46,183   Rating: 4.77/5    Votes: 30   Popularity: 6.83
Licence: The Code Project Open License (CPOL)      Bookmarked: 21   Downloaded: 1
Please Sign up or sign in to vote.
Eliminate the tedium of generating model and viewmodel classes for your WPF projects, and save a butt-load of time in the process.
Posted: 22 Feb 2021   Updated: 22 Feb 2021   Views: 3,580   Rating: 4.20/5    Votes: 7   Popularity: 3.55
Licence: The Code Project Open License (CPOL)      Bookmarked: 5   Downloaded: 0
Please Sign up or sign in to vote.
Present enumerators in your WPF UI
Posted: 9 Dec 2020   Updated: 4 Nov 2021   Views: 10,707   Rating: 5.00/5    Votes: 8   Popularity: 4.52
Licence: The Common Public License Version 1.0 (CPL)      Bookmarked: 27   Downloaded: 366
Please Sign up or sign in to vote.
A tool to generate model and viewmodel classes directly from your selected database
General Programming
String
Posted: 12 Feb 2015   Updated: 27 Feb 2018   Views: 44,855   Rating: 4.96/5    Votes: 31   Popularity: 7.40
Licence: The Code Project Open License (CPOL)      Bookmarked: 45   Downloaded: 624
Please Sign up or sign in to vote.
Spell it out! No! Wait!
Mobile Apps
Posted: 22 Dec 2003   Updated: 22 Dec 2003   Views: 82,321   Rating: 3.51/5    Votes: 17   Popularity: 4.32
Licence: The Code Project Open License (CPOL)      Bookmarked: 24   Downloaded: 0
Please Sign up or sign in to vote.
Add a scrollbar to a property page when the SIP is displayed.
Posted: 9 Dec 2002   Updated: 9 Dec 2002   Views: 106,583   Rating: 3.18/5    Votes: 22   Popularity: 4.27
Licence: The Code Project Open License (CPOL)      Bookmarked: 14   Downloaded: 0
Please Sign up or sign in to vote.
One technique for performing a binary insertion sort on a std::list
Nvidia
Posted: 14 Apr 2008   Updated: 10 Jan 2011   Views: 325,850   Rating: 4.93/5    Votes: 72   Popularity: 8.94
Licence: The Code Project Open License (CPOL)      Bookmarked: 135   Downloaded: 0
Please Sign up or sign in to vote.
How to go about buildingyour own NAS device
Programming Languages
C#
Posted: 14 Feb 2010   Updated: 18 Dec 2010   Views: 289,550   Rating: 4.92/5    Votes: 107   Popularity: 9.94
Licence: The Code Project Open License (CPOL)      Bookmarked: 295   Downloaded: 14,601
Please Sign up or sign in to vote.
How to get all the events you want - whether you need them or not.
Posted: 14 Feb 2010   Updated: 18 Dec 2010   Views: 139,043   Rating: 4.91/5    Votes: 77   Popularity: 9.23
Licence: The Code Project Open License (CPOL)      Bookmarked: 161   Downloaded: 1
Please Sign up or sign in to vote.
Use the demo application (from Part 1) to observe events posted when creating files in the watched folder
Posted: 7 Apr 2018   Updated: 7 Apr 2018   Views: 21,428   Rating: 5.00/5    Votes: 7   Popularity: 4.23
Licence: The Code Project Open License (CPOL)      Bookmarked: 19   Downloaded: 756
Please Sign up or sign in to vote.
An example of evolving code to fit new demands
Posted: 13 Oct 2008   Updated: 11 Dec 2010   Views: 118,734   Rating: 4.72/5    Votes: 49   Popularity: 7.70
Licence: The Code Project Open License (CPOL)      Bookmarked: 95   Downloaded: 748
Please Sign up or sign in to vote.
Scrape the My Articles page here on CodeProject to keep an eye on your articles.
Posted: 2 Oct 2008   Updated: 2 Oct 2008   Views: 169,394   Rating: 4.44/5    Votes: 61   Popularity: 7.76
Licence: The Code Project Open License (CPOL)      Bookmarked: 142   Downloaded: 5,140
Please Sign up or sign in to vote.
Discusses windows authentication and application-specific authentication for WinForm applications
Posted: 4 Jan 2009   Updated: 4 Jan 2009   Views: 81,176   Rating: 4.91/5    Votes: 28   Popularity: 7.03
Licence: The Code Project Open License (CPOL)      Bookmarked: 52   Downloaded: 1,951
Please Sign up or sign in to vote.
A utility that you can use to "exercise" your inkjet printer without wasting a lot of ink or paper
Posted: 26 May 2010   Updated: 27 May 2010   Views: 38,061   Rating: 4.95/5    Votes: 16   Popularity: 5.82
Licence: The Code Project Open License (CPOL)      Bookmarked: 19   Downloaded: 0
Please Sign up or sign in to vote.
With some earlier design forethought, I was able to inject some significant code optimization into a current project.
Posted: 9 Apr 2020   Updated: 9 Apr 2020   Views: 3,101   Rating: 0.00/5    Votes: 0   Popularity: 0.00
Licence: The Code Project Open License (CPOL)      Bookmarked: 3   Downloaded: 0
Please Sign up or sign in to vote.
When you're using other people's code, especially code that might get updated from time to time, it's important to remember that you can probably extend it and make it in your own image, without necessarily changing the original code, and by using the power of object-oriented programming.
Posted: 5 Apr 2020   Updated: 10 Apr 2020   Views: 13,146   Rating: 4.88/5    Votes: 9   Popularity: 4.66
Licence: The Code Project Open License (CPOL)      Bookmarked: 23   Downloaded: 502
Please Sign up or sign in to vote.
A rewrite of a previous article with more liquid nitrogen and bacon
Posted: 28 Nov 2006   Updated: 8 May 2007   Views: 147,456   Rating: 4.44/5    Votes: 95   Popularity: 8.74
Licence: Not specified      Bookmarked: 98   Downloaded: 0
Please Sign up or sign in to vote.
A method for programatically determining the appropriate foreground color based on the specified background color
Posted: 28 Sep 2008   Updated: 28 Sep 2008   Views: 69,020   Rating: 4.45/5    Votes: 28   Popularity: 6.23
Licence: The Code Project Open License (CPOL)      Bookmarked: 43   Downloaded: 1,328
Please Sign up or sign in to vote.
Put text on a bitmap, make your winform app go full-screen, and say hello to some simple LINQ code.
Posted: 17 May 2008   Updated: 17 May 2008   Views: 52,567   Rating: 4.38/5    Votes: 19   Popularity: 5.38
Licence: The Code Project Open License (CPOL)      Bookmarked: 29   Downloaded: 226
Please Sign up or sign in to vote.
One method for loading common and object-specific data from your app.config file.
Posted: 17 Dec 2008   Updated: 17 Dec 2008   Views: 61,619   Rating: 5.00/5    Votes: 11   Popularity: 4.77
Licence: The Code Project Open License (CPOL)      Bookmarked: 47   Downloaded: 605
Please Sign up or sign in to vote.
A not-so-dotNet way to allow multiple programs to share a single settings file
Posted: 1 Oct 2017   Updated: 1 Oct 2017   Views: 5,420   Rating: 5.00/5    Votes: 4   Popularity: 3.01
Licence: The Code Project Open License (CPOL)      Bookmarked: 2   Downloaded: 0
Please Sign up or sign in to vote.
This is an alternative for "Custom exceptions without constructor tedium"
Posted: 21 Jul 2019   Updated: 22 Jul 2019   Views: 21,512   Rating: 4.64/5    Votes: 20   Popularity: 5.70
Licence: The Code Project Open License (CPOL)      Bookmarked: 23   Downloaded: 712
Please Sign up or sign in to vote.
Avoid ORMs with this reasonably generic approach to ADO
Posted: 30 Jul 2007   Updated: 21 Dec 2008   Views: 70,303   Rating: 4.33/5    Votes: 18   Popularity: 4.96
Licence: A Public Domain dedication      Bookmarked: 38   Downloaded: 365
Please Sign up or sign in to vote.
Parse a string with quoted elements, insert/add/delete elements, and is CLS compliant
Posted: 1 Oct 2008   Updated: 1 Oct 2008   Views: 63,113   Rating: 4.69/5    Votes: 55   Popularity: 7.88
Licence: The Code Project Open License (CPOL)      Bookmarked: 84   Downloaded: 661
Please Sign up or sign in to vote.
Implement repetitive tasks at consistent intervals
Posted: 7 Feb 2010   Updated: 17 Mar 2010   Views: 156,666   Rating: 4.95/5    Votes: 74   Popularity: 9.13
Licence: The Code Project Open License (CPOL)      Bookmarked: 310   Downloaded: 3,199
Please Sign up or sign in to vote.
Tie it all together and not lose your mind in the process
Posted: 24 Oct 2008   Updated: 12 Oct 2016   Views: 253,291   Rating: 4.83/5    Votes: 260   Popularity: 11.53
Licence: The Code Project Open License (CPOL)      Bookmarked: 207   Downloaded: 0
Please Sign up or sign in to vote.
My views on how to be a proper programmer
C++
Posted: 16 Oct 2001   Updated: 15 Apr 2008   Views: 164,691   Rating: 3.78/5    Votes: 33   Popularity: 5.73
Licence: The Code Project Open License (CPOL)      Bookmarked: 54   Downloaded: 1,560
Please Sign up or sign in to vote.
Helps with copying a device independant bitmap to the clipboard.
Posted: 27 Jan 2007   Updated: 27 Jan 2007   Views: 41,595   Rating: 4.63/5    Votes: 20   Popularity: 5.44
Licence: The Code Project Open License (CPOL)      Bookmarked: 17   Downloaded: 418
Please Sign up or sign in to vote.
The right way to code using CodeProject for occasional support
Posted: 27 Jan 2007   Updated: 15 Apr 2008   Views: 64,345   Rating: 4.77/5    Votes: 42   Popularity: 7.43
Licence: The Code Project Open License (CPOL)      Bookmarked: 94   Downloaded: 613
Please Sign up or sign in to vote.
The right way to code using CodeProject for occasional support
Posted: 27 Jan 2007   Updated: 15 Apr 2008   Views: 45,432   Rating: 4.81/5    Votes: 24   Popularity: 6.15
Licence: The Code Project Open License (CPOL)      Bookmarked: 24   Downloaded: 661
Please Sign up or sign in to vote.
The right way to code using CodeProject for occasional support
Posted: 27 Jan 2007   Updated: 15 Apr 2008   Views: 37,663   Rating: 4.58/5    Votes: 19   Popularity: 5.39
Licence: The Code Project Open License (CPOL)      Bookmarked: 18   Downloaded: 415
Please Sign up or sign in to vote.
The right way to code using CodeProject for occasional support
Posted: 27 Jan 2007   Updated: 13 Jan 2010   Views: 60,593   Rating: 4.65/5    Votes: 21   Popularity: 5.72
Licence: The Code Project Open License (CPOL)      Bookmarked: 27   Downloaded: 485
Please Sign up or sign in to vote.
The right way to code using CodeProject for occasional support
Posted: 30 Nov 2006   Updated: 30 Nov 2006   Views: 152,852   Rating: 4.05/5    Votes: 51   Popularity: 6.92
Licence: The Code Project Open License (CPOL)      Bookmarked: 49   Downloaded: 1,366
Please Sign up or sign in to vote.
Two methods to retrieve the path/name of a VS2002 or higher DLL from within that DLL.
Posted: 5 Dec 2006   Updated: 5 Dec 2006   Views: 129,789   Rating: 3.33/5    Votes: 41   Popularity: 5.37
Licence: The Code Project Open License (CPOL)      Bookmarked: 19   Downloaded: 0
Please Sign up or sign in to vote.
Compare floating point numbers for equality at programmer-specified precision.
Posted: 17 Nov 2006   Updated: 17 Nov 2006   Views: 87,761   Rating: 4.28/5    Votes: 23   Popularity: 5.37
Licence: Not specified      Bookmarked: 11   Downloaded: 0
Please Sign up or sign in to vote.
A technique for making stdio functions compile clean regardless of the Microsoft compiler used
Posted: 29 Nov 2006   Updated: 29 Nov 2006   Views: 52,761   Rating: 4.54/5    Votes: 20   Popularity: 5.59
Licence: Not specified      Bookmarked: 29   Downloaded: 718
Please Sign up or sign in to vote.
Here's some code that will automatically start your app on a secondary monitor if it's compiled with debug info.
VBScript
Posted: 7 May 2007   Updated: 7 May 2007   Views: 26,852   Rating: 3.59/5    Votes: 9   Popularity: 3.43
Licence: The Code Project Open License (CPOL)      Bookmarked: 18   Downloaded: 0
Please Sign up or sign in to vote.
The VBScript version of my C# article about the very same thing
Security
Encryption
Posted: 4 Oct 2010   Updated: 5 Oct 2010   Views: 70,182   Rating: 4.92/5    Votes: 20   Popularity: 6.06
Licence: The Code Project Open License (CPOL)      Bookmarked: 43   Downloaded: 389
Please Sign up or sign in to vote.
One way to create a completely random encryption key, and sharing it with a client application
Web Development
ASP.NET
Posted: 5 Nov 2021   Updated: 5 Nov 2021   Views: 5,170   Rating: 0.00/5    Votes: 0   Popularity: 0.00
Licence: The Code Project Open License (CPOL)      Bookmarked: 8   Downloaded: 54
Please Sign up or sign in to vote.
One way to allow access to multiple model entities within a ASP.NET MVC view.
HTML
Posted: 5 Feb 2011   Updated: 7 Feb 2011   Views: 66,814   Rating: 4.90/5    Votes: 29   Popularity: 7.16
Licence: The Code Project Open License (CPOL)      Bookmarked: 105   Downloaded: 3,411
Please Sign up or sign in to vote.
Windows service for synchronizing folders
Posted: 12 Sep 2016   Updated: 7 Apr 2018   Views: 86,346   Rating: 4.83/5    Votes: 39   Popularity: 7.52
Licence: The Code Project Open License (CPOL)      Bookmarked: 78   Downloaded: 3,237
Please Sign up or sign in to vote.
Parse CSV files.
Posted: 27 Sep 2016   Updated: 25 Feb 2018   Views: 31,653   Rating: 4.97/5    Votes: 25   Popularity: 6.95
Licence: The Code Project Open License (CPOL)      Bookmarked: 45   Downloaded: 293
Please Sign up or sign in to vote.
Abusing attributes, and loving it.
Posted: 6 Oct 2016   Updated: 11 Oct 2016   Views: 26,725   Rating: 4.91/5    Votes: 32   Popularity: 7.38
Licence: The Code Project Open License (CPOL)      Bookmarked: 55   Downloaded: 811
Please Sign up or sign in to vote.
A GPS class with a coordinate parser, distance calculation, and bearing calculation.

Average blogs rating:

No blogs have been submitted.

Average tips rating: 4.84

.NET
Posted: 28 Feb 2010   Updated: 21 May 2010   Views: 71,881   Rating: 4.95/5    Votes: 7   Popularity: 4.19
Licence: The Code Project Open License (CPOL)      Bookmarked: 7   Downloaded: 0
Please Sign up or sign in to vote.
Control resizing is a bit more mysterious than it might appear at first glance.
Posted: 5 Apr 2011   Updated: 6 Apr 2011   Views: 16,480   Rating: 5.00/5    Votes: 11   Popularity: 5.00
Licence: The Code Project Open License (CPOL)      Bookmarked: 5   Downloaded: 0
Please Sign up or sign in to vote.
Never assume you know what the framework is going to do
Posted: 20 Dec 2011   Updated: 20 Dec 2011   Views: 16,651   Rating: 5.00/5    Votes: 1   Popularity: 0.00
Licence: The Code Project Open License (CPOL)      Bookmarked: 1   Downloaded: 0
Please Sign up or sign in to vote.
You have everything you need to do your job as a developer. You just need to use them.
Posted: 13 Jan 2010   Updated: 22 May 2010   Views: 18,360   Rating: 4.79/5    Votes: 12   Popularity: 5.17
Licence: The Code Project Open License (CPOL)      Bookmarked: 4   Downloaded: 0
Please Sign up or sign in to vote.
Bad formatting will delay the approval of your articles. Follow these basic rules to avoid that delay.
Certification
Posted: 23 Jan 2015   Updated: 23 Jan 2015   Views: 12,180   Rating: 4.82/5    Votes: 5   Popularity: 3.37
Licence: The Code Project Open License (CPOL)      Bookmarked: 5   Downloaded: 0
Please Sign up or sign in to vote.
Some things to be aware of.
Database Development
Posted: 31 Jan 2017   Updated: 31 Jan 2017   Views: 16,678   Rating: 4.52/5    Votes: 6   Popularity: 3.52
Licence: The Code Project Open License (CPOL)      Bookmarked: 4   Downloaded: 0
Please Sign up or sign in to vote.
A scalar function to determine if a given DateTime is one of the ten US federal holidays, using SQL Server.
Posted: 31 Jan 2017   Updated: 31 Jan 2017   Views: 8,160   Rating: 5.00/5    Votes: 5   Popularity: 3.49
Licence: The Code Project Open License (CPOL)      Bookmarked: 4   Downloaded: 0
Please Sign up or sign in to vote.
Using common table expressions to build data from thin air.
Posted: 22 Sep 2017   Updated: 22 Sep 2017   Views: 4,770   Rating: 5.00/5    Votes: 3   Popularity: 2.39
Licence: The Code Project Open License (CPOL)      Bookmarked: 0   Downloaded: 0
Please Sign up or sign in to vote.
It doesn't always happen the way you expect.
SQL Server
Posted: 5 Jan 2011   Updated: 5 Jan 2011   Views: 13,050   Rating: 4.89/5    Votes: 2   Popularity: 1.47
Licence: The Code Project Open License (CPOL)      Bookmarked: 2   Downloaded: 0
Please Sign up or sign in to vote.
You can also enclose your column name in brackets, like so: [Create Date]
Posted: 26 May 2011   Updated: 26 May 2011   Views: 11,840   Rating: 5.00/5    Votes: 2   Popularity: 1.51
Licence: The Code Project Open License (CPOL)      Bookmarked: 0   Downloaded: 0
Please Sign up or sign in to vote.
When all else fails, fire off some events and bask in the glow of the IDE's Progress tab.
Desktop Programming
Windows Forms
Posted: 22 Nov 2011   Updated: 22 Nov 2011   Views: 14,651   Rating: 5.00/5    Votes: 1   Popularity: 0.00
Licence: The Code Project Open License (CPOL)      Bookmarked: 3   Downloaded: 0
Please Sign up or sign in to vote.
Allow any number of forms to be used as a main form with easy transitions between forms
Posted: 21 Jan 2010   Updated: 22 Nov 2011   Views: 65,262   Rating: 4.88/5    Votes: 41   Popularity: 7.82
Licence: The Code Project Open License (CPOL)      Bookmarked: 25   Downloaded: 0
Please Sign up or sign in to vote.
A useful technique that could be used for winform apps which require a login dialog
Posted: 14 Sep 2011   Updated: 14 Sep 2011   Views: 53,001   Rating: 4.89/5    Votes: 10   Popularity: 4.89
Licence: The Code Project Open License (CPOL)      Bookmarked: 5   Downloaded: 0
Please Sign up or sign in to vote.
How to automatically display a Winforms menu when the mouse is hovered over an item
Posted: 18 Feb 2011   Updated: 19 Feb 2011   Views: 43,967   Rating: 5.00/5    Votes: 8   Popularity: 4.52
Licence: The Code Project Open License (CPOL)      Bookmarked: 2   Downloaded: 0
Please Sign up or sign in to vote.
Determine the number of unique colors in an image
Posted: 26 Jan 2011   Updated: 26 Jan 2011   Views: 34,192   Rating: 5.00/5    Votes: 6   Popularity: 3.89
Licence: The Code Project Open License (CPOL)      Bookmarked: 9   Downloaded: 0
Please Sign up or sign in to vote.
When you need to communicate with the app that contains your ServiceHost object, use custom events
Posted: 1 Feb 2011   Updated: 2 Feb 2011   Views: 28,790   Rating: 4.97/5    Votes: 18   Popularity: 6.24
Licence: The Code Project Open License (CPOL)      Bookmarked: 10   Downloaded: 0
Please Sign up or sign in to vote.
How to determine if your .Net app is running in the Visual Studio IDE
WPF
Posted: 27 Feb 2021   Updated: 27 Feb 2021   Views: 3,200   Rating: 4.54/5    Votes: 5   Popularity: 3.17
Licence: The Code Project Open License (CPOL)      Bookmarked: 4   Downloaded: 0
Please Sign up or sign in to vote.
How to close modeless windows if you don't close them before the main window closes
Posted: 9 Nov 2012   Updated: 9 Nov 2012   Views: 9,520   Rating: 4.89/5    Votes: 2   Popularity: 1.47
Licence: The Code Project Open License (CPOL)      Bookmarked: 1   Downloaded: 0
Please Sign up or sign in to vote.
Stuck on a really weird problem in WPF? Move your behind and write some code (behind).
Posted: 15 Jun 2012   Updated: 15 Jun 2012   Views: 35,990   Rating: 5.00/5    Votes: 2   Popularity: 1.51
Licence: The Code Project Open License (CPOL)      Bookmarked: 2   Downloaded: 0
Please Sign up or sign in to vote.
One way to get around the "invalid character" error
Posted: 29 May 2010   Updated: 29 May 2010   Views: 45,553   Rating: 4.73/5    Votes: 8   Popularity: 4.27
Licence: The Code Project Open License (CPOL)      Bookmarked: 3   Downloaded: 0
Please Sign up or sign in to vote.
One technique for having a column width that grows/shrinks with ListView width
Posted: 17 Nov 2014   Updated: 17 Nov 2014   Views: 7,620   Rating: 4.00/5    Votes: 3   Popularity: 1.91
Licence: The Code Project Open License (CPOL)      Bookmarked: 0   Downloaded: 0
Please Sign up or sign in to vote.
How to fix this ANNOYING problem
Posted: 31 Jul 2019   Updated: 31 Jul 2019   Views: 9,995   Rating: 5.00/5    Votes: 4   Popularity: 3.01
Licence: The Code Project Open License (CPOL)      Bookmarked: 11   Downloaded: 0
Please Sign up or sign in to vote.
Make data exchange in MVVM easy on yourself
Posted: 11 Apr 2010   Updated: 22 May 2010   Views: 18,300   Rating: 5.00/5    Votes: 4   Popularity: 3.01
Licence: The Code Project Open License (CPOL)      Bookmarked: 2   Downloaded: 0
Please Sign up or sign in to vote.
Programatically set grid row/column sizes (yes, even "Auto", "*", and "X*" - thanks Nish).
Posted: 22 May 2010   Updated: 22 May 2010   Views: 41,725   Rating: 4.95/5    Votes: 7   Popularity: 4.19
Licence: The Code Project Open License (CPOL)      Bookmarked: 4   Downloaded: 0
Please Sign up or sign in to vote.
In WPF/Silverlight, you might want to bind to a dictionary. Here's a couple of websites I found.
DevOps
Testing
Posted: 22 Jan 2010   Updated: 22 May 2010   Views: 9,770   Rating: 4.73/5    Votes: 9   Popularity: 4.51
Licence: The Code Project Open License (CPOL)      Bookmarked: 2   Downloaded: 0
Please Sign up or sign in to vote.
No change is too small for a complete regression test.
General
Posted: 26 Jan 2010   Updated: 22 May 2010   Views: 19,720   Rating: 4.95/5    Votes: 21   Popularity: 6.45
Licence: The Code Project Open License (CPOL)      Bookmarked: 3   Downloaded: 0
Please Sign up or sign in to vote.
Humor - Things to consider when your're out and about when the world starts to come to an end.
General Programming
Posted: 24 Jan 2010   Updated: 22 May 2010   Views: 9,470   Rating: 4.60/5    Votes: 3   Popularity: 2.19
Licence: The Code Project Open License (CPOL)      Bookmarked: 4   Downloaded: 0
Please Sign up or sign in to vote.
Essential programmer skill - the ability to approach a problem from more that one direction.
String
Posted: 7 Mar 2011   Updated: 7 Mar 2011   Views: 14,150   Rating: 5.00/5    Votes: 1   Popularity: 0.00
Licence: The Code Project Open License (CPOL)      Bookmarked: 0   Downloaded: 0
Please Sign up or sign in to vote.
Extension method that checks for a properly Xaml-ized string
Operating Systems
Windows
Posted: 18 Jan 2010   Updated: 22 May 2010   Views: 25,700   Rating: 5.00/5    Votes: 17   Popularity: 6.02
Licence: The Code Project Open License (CPOL)      Bookmarked: 10   Downloaded: 0
Please Sign up or sign in to vote.
Don't drink the kool-aid. You still need to know how to use the Windows API in .Net apps.
Programming Languages
ASM
Posted: 17 May 2011   Updated: 17 May 2011   Views: 9,600   Rating: 5.00/5    Votes: 1   Popularity: 0.00
Licence: The Code Project Open License (CPOL)      Bookmarked: 1   Downloaded: 0
Please Sign up or sign in to vote.
This is how I do it (we determine the host and select the appropriate endpoint).// these are the endpoints define in the webconfig filestring LocalHostEndpointName = "LocalHost_Endpoint";string ProductionEndpointName = "Production_Endpoint";string CurrentEndpoint = "";//...
C#
Posted: 9 Jun 2010   Updated: 9 Jun 2010   Views: 15,510   Rating: 4.86/5    Votes: 6   Popularity: 3.78
Licence: The Code Project Open License (CPOL)      Bookmarked: 4   Downloaded: 0
Please Sign up or sign in to vote.
The Silverlight navigation app ErrorWindow exposes the last exception thrown, but doesn't show the INNER exceptions. Here's how you can do it.
Posted: 19 Jun 2010   Updated: 19 Jun 2010   Views: 16,060   Rating: 4.88/5    Votes: 6   Popularity: 3.79
Licence: The Code Project Open License (CPOL)      Bookmarked: 4   Downloaded: 0
Please Sign up or sign in to vote.
What to do if you want to resue a style for more than one component of a particular type on a given Silverlight Page
Posted: 11 Aug 2010   Updated: 12 Aug 2010   Views: 19,751   Rating: 5.00/5    Votes: 4   Popularity: 3.01
Licence: The Code Project Open License (CPOL)      Bookmarked: 3   Downloaded: 0
Please Sign up or sign in to vote.
If you need to get the position the mouse was clicked, in relation to a specific UI Element, this might help
Posted: 9 May 2011   Updated: 9 May 2011   Views: 20,280   Rating: 4.95/5    Votes: 10   Popularity: 4.73
Licence: The Code Project Open License (CPOL)      Bookmarked: 3   Downloaded: 0
Please Sign up or sign in to vote.
Get access to your Silverlight MainPage object
Posted: 12 Nov 2017   Updated: 5 Jan 2018   Views: 8,330   Rating: 5.00/5    Votes: 3   Popularity: 2.39
Licence: The Code Project Open License (CPOL)      Bookmarked: 5   Downloaded: 0
Please Sign up or sign in to vote.
When you have a customized DbContext constructor.
Posted: 31 Jan 2017   Updated: 31 Jan 2017   Views: 20,372   Rating: 4.82/5    Votes: 13   Popularity: 5.36
Licence: The Code Project Open License (CPOL)      Bookmarked: 8   Downloaded: 0
Please Sign up or sign in to vote.
A DateTime extension method to determine if a given DateTime is one of the ten US federal holidays, using C#.
Posted: 2 Feb 2017   Updated: 2 Feb 2017   Views: 10,180   Rating: 4.94/5    Votes: 9   Popularity: 4.72
Licence: The Code Project Open License (CPOL)      Bookmarked: 10   Downloaded: 0
Please Sign up or sign in to vote.
Figuring out when Easter occurs in a given year is based on the phase of the moon, the vernal equinox, and where in the world you are.
Posted: 2 Feb 2017   Updated: 2 Feb 2017   Views: 8,741   Rating: 5.00/5    Votes: 5   Popularity: 3.49
Licence: The Code Project Open License (CPOL)      Bookmarked: 7   Downloaded: 0
Please Sign up or sign in to vote.
Find the date of a specified federal holiday for a given year.
Posted: 13 Sep 2016   Updated: 13 Sep 2016   Views: 10,000   Rating: 4.71/5    Votes: 12   Popularity: 4.71
Licence: The Code Project Open License (CPOL)      Bookmarked: 2   Downloaded: 0
Please Sign up or sign in to vote.
This came as a mild surprise
Posted: 11 Sep 2013   Updated: 12 Sep 2013   Views: 38,641   Rating: 4.83/5    Votes: 6   Popularity: 3.76
Licence: The Code Project Open License (CPOL)      Bookmarked: 9   Downloaded: 0
Please Sign up or sign in to vote.
One approach to find a specific exception type inside the containing exception
Posted: 2 Oct 2017   Updated: 2 Oct 2017   Views: 6,630   Rating: 4.73/5    Votes: 5   Popularity: 3.30
Licence: The Code Project Open License (CPOL)      Bookmarked: 1   Downloaded: 0
Please Sign up or sign in to vote.
An answer and an example for the question, "What's the best way to learn a language or platform?"
Posted: 10 May 2011   Updated: 10 May 2011   Views: 25,161   Rating: 5.00/5    Votes: 2   Popularity: 1.51
Licence: The Code Project Open License (CPOL)      Bookmarked: 2   Downloaded: 0
Please Sign up or sign in to vote.
See if an integer value is a valid value for the given "flags" enumerator
Posted: 7 Jul 2011   Updated: 7 Jul 2011   Views: 5,200   Rating: 5.00/5    Votes: 2   Popularity: 1.51
Licence: The Code Project Open License (CPOL)      Bookmarked: 0   Downloaded: 0
Please Sign up or sign in to vote.
.Net 4 has the enum.HasFlag() method, which kinda obsoletes this tip. :)
Posted: 9 Aug 2012   Updated: 12 Nov 2012   Views: 27,451   Rating: 4.90/5    Votes: 3   Popularity: 2.34
Licence: The Code Project Open License (CPOL)      Bookmarked: 7   Downloaded: 305
Please Sign up or sign in to vote.
Presenting a DateTime extension class that allows you to determine the actual date of the specified instance of the specified weekday within the specified month/year.
Posted: 18 Nov 2017   Updated: 18 Nov 2017   Views: 6,480   Rating: 5.00/5    Votes: 1   Popularity: 0.00
Licence: The Code Project Open License (CPOL)      Bookmarked: 3   Downloaded: 0
Please Sign up or sign in to vote.
One less pesky nuance to worry about
Posted: 28 Nov 2017   Updated: 28 Nov 2017   Views: 4,831   Rating: 4.54/5    Votes: 10   Popularity: 4.33
Licence: The Code Project Open License (CPOL)      Bookmarked: 2   Downloaded: 0
Please Sign up or sign in to vote.
ViewBag, ViewBag, three times full...
Posted: 19 Jan 2011   Updated: 19 Jan 2011   Views: 26,892   Rating: 4.85/5    Votes: 14   Popularity: 5.40
Licence: The Code Project Open License (CPOL)      Bookmarked: 10   Downloaded: 0
Please Sign up or sign in to vote.
Determine if specified date/time properrties are equal
Posted: 6 Feb 2015   Updated: 6 Feb 2015   Views: 5,991   Rating: 4.80/5    Votes: 2   Popularity: 1.44
Licence: The Code Project Open License (CPOL)      Bookmarked: 2   Downloaded: 0
Please Sign up or sign in to vote.
This is an alternative for "Partial DateTime Object Equality"
Posted: 10 May 2013   Updated: 10 May 2013   Views: 5,800   Rating: 5.00/5    Votes: 1   Popularity: 0.00
Licence: The Code Project Open License (CPOL)      Bookmarked: 0   Downloaded: 0
Please Sign up or sign in to vote.
Determine the nature of the entry assembly
Posted: 7 May 2010   Updated: 21 May 2010   Views: 30,821   Rating: 4.81/5    Votes: 9   Popularity: 4.59
Licence: The Code Project Open License (CPOL)      Bookmarked: 10   Downloaded: 0
Please Sign up or sign in to vote.
Make interfacing with your web service simpler and more maintainable
Posted: 6 Jun 2010   Updated: 6 Jun 2010   Views: 16,351   Rating: 4.77/5    Votes: 6   Popularity: 3.71
Licence: The Code Project Open License (CPOL)      Bookmarked: 8   Downloaded: 0
Please Sign up or sign in to vote.
It's not as simple as just calling DirectoryInfo.GetFiles()
Posted: 4 Mar 2010   Updated: 26 Aug 2010   Views: 18,700   Rating: 4.83/5    Votes: 11   Popularity: 5.03
Licence: The Code Project Open License (CPOL)      Bookmarked: 12   Downloaded: 0
Please Sign up or sign in to vote.
You probably have better things to do than writing tedious comparison methods.
Posted: 19 Jan 2011   Updated: 25 Jan 2011   Views: 56,525   Rating: 4.81/5    Votes: 32   Popularity: 7.24
Licence: The Code Project Open License (CPOL)      Bookmarked: 41   Downloaded: 0
Please Sign up or sign in to vote.
How to make your app detect whether or not it's running in admin mode.
Posted: 9 Feb 2011   Updated: 9 Feb 2011   Views: 8,210   Rating: 5.00/5    Votes: 7   Popularity: 4.23
Licence: The Code Project Open License (CPOL)      Bookmarked: 2   Downloaded: 0
Please Sign up or sign in to vote.
StringBuilder mystring = new StringBuilder("AbCd");for (int i = 0; i < mystring.Length; i++){ char c = mystring[i]; mystring[i] = Char.IsLower(c) ? Char.ToUpper(c) : Char.ToLower(c);}
Posted: 4 Apr 2011   Updated: 5 Apr 2011   Views: 17,551   Rating: 4.89/5    Votes: 18   Popularity: 6.14
Licence: The Code Project Open License (CPOL)      Bookmarked: 3   Downloaded: 0
Please Sign up or sign in to vote.
What to do when the "you're a moron" epiphany smacks you in the head just after you've convinced yourself you're pretty clever.
Posted: 24 May 2010   Updated: 29 Aug 2011   Views: 30,910   Rating: 4.88/5    Votes: 21   Popularity: 6.34
Licence: The Code Project Open License (CPOL)      Bookmarked: 22   Downloaded: 0
Please Sign up or sign in to vote.
Using a delegate could pull your butt out of the fire when you don't want to refactor code to add functionality.
Posted: 1 Jan 2011   Updated: 1 Jan 2011   Views: 30,571   Rating: 4.82/5    Votes: 4   Popularity: 2.90
Licence: The Code Project Open License (CPOL)      Bookmarked: 3   Downloaded: 0
Please Sign up or sign in to vote.
We're up to .NET 4 and MS *still* hasn't given us this simple functionality.
Posted: 18 Apr 2013   Updated: 18 Apr 2013   Views: 36,971   Rating: 4.89/5    Votes: 2   Popularity: 1.47
Licence: The Code Project Open License (CPOL)      Bookmarked: 5   Downloaded: 0
Please Sign up or sign in to vote.
Go here for an update that utilizes the Twitter API v1.1
Posted: 11 Aug 2017   Updated: 11 Aug 2017   Views: 5,851   Rating: 5.00/5    Votes: 6   Popularity: 3.89
Licence: The Code Project Open License (CPOL)      Bookmarked: 6   Downloaded: 0
Please Sign up or sign in to vote.
Handy class to reduce clutter in your code
C# 3.5
Posted: 3 Nov 2015   Updated: 3 Nov 2015   Views: 26,621   Rating: 4.43/5    Votes: 4   Popularity: 2.67
Licence: The Code Project Open License (CPOL)      Bookmarked: 9   Downloaded: 0
Please Sign up or sign in to vote.
This is an alternative for "Compareing Two Complex objects of same class"
C# 4.0
Posted: 25 Jul 2012   Updated: 25 Jul 2012   Views: 14,461   Rating: 5.00/5    Votes: 2   Popularity: 1.51
Licence: The Code Project Open License (CPOL)      Bookmarked: 1   Downloaded: 24
Please Sign up or sign in to vote.
Evaluating epressions in an ad-hoc condition.
Posted: 23 Jul 2011   Updated: 23 Jul 2011   Views: 8,750   Rating: 5.00/5    Votes: 3   Popularity: 2.39
Licence: The Code Project Open License (CPOL)      Bookmarked: 0   Downloaded: 0
Please Sign up or sign in to vote.
I wouldn't create a class for this. I'd make it an extension method, and then do this:public static class String Extensions{ public static string Reverse(this string value) { value = // do your reverse code here; return value; }}// Usage:string x...
Posted: 2 Mar 2012   Updated: 2 Mar 2012   Views: 23,765   Rating: 3.89/5    Votes: 4   Popularity: 2.34
Licence: The Code Project Open License (CPOL)      Bookmarked: 1   Downloaded: 0
Please Sign up or sign in to vote.
If at all possible, never give your code the opportunity to fail. If there's any possibility at all that you can prevent an error condition from being raised, do it. try{ if (!string.IsNullOrEmpty(FileName)) { string newPath = System.IO.Path.Combine(FilePath,...
C# 5.0
Posted: 15 Oct 2014   Updated: 15 Oct 2014   Views: 24,958   Rating: 4.72/5    Votes: 8   Popularity: 4.26
Licence: The Code Project Open License (CPOL)      Bookmarked: 11   Downloaded: 0
Please Sign up or sign in to vote.
Retrieve certificates from the system certificate store
Posted: 27 Oct 2014   Updated: 27 Oct 2014   Views: 11,610   Rating: 4.82/5    Votes: 5   Popularity: 3.37
Licence: The Code Project Open License (CPOL)      Bookmarked: 4   Downloaded: 0
Please Sign up or sign in to vote.
Extension method to determine fiscal date
Razor
Posted: 25 Jan 2019   Updated: 25 Jan 2019   Views: 4,212   Rating: 3.90/5    Votes: 6   Popularity: 3.03
Licence: The Code Project Open License (CPOL)      Bookmarked: 5   Downloaded: 0
Please Sign up or sign in to vote.
Sharing files between multiple web apps in a single solution.
SQL
Posted: 26 Jul 2011   Updated: 26 Jul 2011   Views: 30,203   Rating: 5.00/5    Votes: 1   Popularity: 0.00
Licence: The Code Project Open License (CPOL)      Bookmarked: 1   Downloaded: 0
Please Sign up or sign in to vote.
One way to effectively zero the columns any DataRow object.
Posted: 25 Jul 2011   Updated: 10 Aug 2011   Views: 83,721   Rating: 4.90/5    Votes: 36   Popularity: 7.50
Licence: The Code Project Open License (CPOL)      Bookmarked: 9   Downloaded: 0
Please Sign up or sign in to vote.
Just say no to SELECT * in your SQL
Posted: 5 Oct 2015   Updated: 5 Oct 2015   Views: 14,630   Rating: 4.40/5    Votes: 16   Popularity: 4.90
Licence: The Code Project Open License (CPOL)      Bookmarked: 12   Downloaded: 0
Please Sign up or sign in to vote.
Yes, you CAN document your stored procs in C# code.
Visual Basic
Posted: 10 Nov 2011   Updated: 10 Nov 2011   Views: 9,650   Rating: 5.00/5    Votes: 1   Popularity: 0.00
Licence: The Code Project Open License (CPOL)      Bookmarked: 0   Downloaded: 0
Please Sign up or sign in to vote.
This is an alternative to "DataSet to String to DataSet".
Posted: 20 Feb 2010   Updated: 9 Jul 2011   Views: 14,730   Rating: 5.00/5    Votes: 6   Popularity: 3.89
Licence: The Code Project Open License (CPOL)      Bookmarked: 6   Downloaded: 0
Please Sign up or sign in to vote.
Avoid exceptions when setting enumerators from unknown/untrusted sources.
XML
Posted: 13 Jan 2010   Updated: 22 May 2010   Views: 33,390   Rating: 4.82/5    Votes: 22   Popularity: 6.17
Licence: The Code Project Open License (CPOL)      Bookmarked: 5   Downloaded: 0
Please Sign up or sign in to vote.
Don't reinvent the wheel - use the one that's already on the cart.
Posted: 23 Apr 2010   Updated: 10 Jul 2014   Views: 41,601   Rating: 4.80/5    Votes: 18   Popularity: 5.91
Licence: The Code Project Open License (CPOL)      Bookmarked: 15   Downloaded: 0
Please Sign up or sign in to vote.
Extension methods can help you avoid sticky situations.
Silverlight
Posted: 20 Apr 2010   Updated: 21 May 2010   Views: 25,710   Rating: 5.00/5    Votes: 3   Popularity: 2.39
Licence: The Code Project Open License (CPOL)      Bookmarked: 4   Downloaded: 0
Please Sign up or sign in to vote.
Dorothy was right - there's no place like home.
Posted: 17 May 2010   Updated: 21 May 2010   Views: 15,370   Rating: 4.75/5    Votes: 5   Popularity: 3.32
Licence: The Code Project Open License (CPOL)      Bookmarked: 5   Downloaded: 0
Please Sign up or sign in to vote.
Follow these guidelines for trouble-free dictionary merging in Silverlight
Posted: 5 Aug 2010   Updated: 12 Aug 2010   Views: 22,591   Rating: 5.00/5    Votes: 10   Popularity: 5.00
Licence: The Code Project Open License (CPOL)      Bookmarked: 4   Downloaded: 0
Please Sign up or sign in to vote.
Get around another irrational and arbitrary omission in Silverlight
Web Development
ASP.NET
Posted: 3 Mar 2010   Updated: 24 Jun 2010   Views: 30,682   Rating: 4.89/5    Votes: 10   Popularity: 4.89
Licence: The Code Project Open License (CPOL)      Bookmarked: 14   Downloaded: 0
Please Sign up or sign in to vote.
A low-impact method for getting the appropriate path on a web page.
Posted: 17 Jun 2011   Updated: 17 Jun 2011   Views: 10,251   Rating: 5.00/5    Votes: 1   Popularity: 0.00
Licence: The Code Project Open License (CPOL)      Bookmarked: 2   Downloaded: 0
Please Sign up or sign in to vote.
Back-tracking to make sure code is processed before the current page executes
Posted: 21 Jun 2011   Updated: 21 Jun 2011   Views: 18,552   Rating: 4.55/5    Votes: 4   Popularity: 2.74
Licence: The Code Project Open License (CPOL)      Bookmarked: 2   Downloaded: 0
Please Sign up or sign in to vote.
How to execute code in the current page AFTER navigating to a new page.
Posted: 22 Jun 2011   Updated: 23 Jun 2011   Views: 33,410   Rating: 4.82/5    Votes: 7   Popularity: 4.08
Licence: The Code Project Open License (CPOL)      Bookmarked: 2   Downloaded: 0
Please Sign up or sign in to vote.
One way to guarantee uniqueness and avoid misspelling your session variable names
Posted: 6 May 2019   Updated: 6 May 2019   Views: 6,160   Rating: 3.94/5    Votes: 7   Popularity: 3.33
Licence: The Code Project Open License (CPOL)      Bookmarked: 3   Downloaded: 0
Please Sign up or sign in to vote.
This is an alternative for "No More Session Variable Misspellings"
Posted: 5 Jul 2011   Updated: 5 Jul 2011   Views: 5,311   Rating: 5.00/5    Votes: 2   Popularity: 1.51
Licence: The Code Project Open License (CPOL)      Bookmarked: 0   Downloaded: 0
Please Sign up or sign in to vote.
I do it this way:0) Create a base page class, and store the current page's url (you can do this any number of ways, so I'll leave it to your imagination):public class MyBasepage : System.Web.UI.Page{ public string CurrentUrl { get; set; } }1) Store the page's Url to a...
Posted: 10 Nov 2011   Updated: 10 Nov 2011   Views: 12,920   Rating: 5.00/5    Votes: 3   Popularity: 2.39
Licence: The Code Project Open License (CPOL)      Bookmarked: 0   Downloaded: 0
Please Sign up or sign in to vote.
How about this?public static class ExtendDateTime{ public int CountWeekDays(this DateTime thisdate, DateTime thatDate) { int days = Math.Abs((thisDate - thatDate).Days) + 1; return = ((days/7) * 5) + (days % 7); }}Usage would be like this:DateTime...
Posted: 26 Dec 2010   Updated: 26 Dec 2010   Views: 10,440   Rating: 5.00/5    Votes: 5   Popularity: 3.49
Licence: The Code Project Open License (CPOL)      Bookmarked: 1   Downloaded: 0
Please Sign up or sign in to vote.
Can't you just call Enum.GetNames(), and then bind to the collection returned by that method?
HTML
Posted: 22 Feb 2019   Updated: 22 Feb 2019   Views: 3,000   Rating: 4.94/5    Votes: 6   Popularity: 3.84
Licence: The Code Project Open License (CPOL)      Bookmarked: 1   Downloaded: 0
Please Sign up or sign in to vote.
Mitigate the browser flash between page navigation on your site
Windows service
Posted: 11 Jul 2011   Updated: 11 Jul 2011   Views: 15,421   Rating: 5.00/5    Votes: 3   Popularity: 2.39
Licence: The Code Project Open License (CPOL)      Bookmarked: 4   Downloaded: 0
Please Sign up or sign in to vote.
42!

Average reference rating:

No reference articles have been posted.

Average project rating:

No projects have been posted.

#realJSOP
Software Developer (Senior) Paddedwall Software
United States United States
I've been paid as a programmer since 1982 with experience in Pascal, and C++ (both self-taught), and began writing Windows programs in 1991 using Visual C++ and MFC. In the 2nd half of 2007, I started writing C# Windows Forms and ASP.Net applications, and have since done WPF, Silverlight, WCF, web services, and Windows services.

My weakest point is that my moments of clarity are too brief to hold a meaningful conversation that requires more than 30 seconds to complete. Thankfully, grunts of agreement are all that is required to conduct most discussions without committing to any particular belief system.