Click here to Skip to main content
15,886,137 members

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

Articles: 78, Tip/Tricks: 86

RSS Feed

Average article rating: 4.50

All Topics
14 Sep 2011   Updated: 14 Sep 2011   Rating: 4.98/5    Votes: 52   Popularity: 8.54
Licence: CPOL    Views: 64,854     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
30 Sep 2017   Updated: 30 Sep 2017   Rating: 5.00/5    Votes: 3   Popularity: 2.39
Licence: CPOL    Views: 8,861     Bookmarked: 1   Downloaded: 46
Please Sign up or sign in to vote.
Create and run jobs kinda like SQL Server Enterprise - Architecture and design decisions
30 Sep 2017   Updated: 30 Sep 2017   Rating: 5.00/5    Votes: 2   Popularity: 1.51
Licence: CPOL    Views: 8,371     Bookmarked: 3   Downloaded: 29
Please Sign up or sign in to vote.
Create and run jobs kinda like SQL Server Enterprise - The CSV and Excel Importer Code
30 Sep 2017   Updated: 30 Sep 2017   Rating: 5.00/5    Votes: 3   Popularity: 2.39
Licence: CPOL    Views: 7,541     Bookmarked: 1   Downloaded: 33
Please Sign up or sign in to vote.
Create and run jobs kinda like SQL Server Enterprise - Job Scheduling Code
30 Sep 2017   Updated: 30 Sep 2017   Rating: 5.00/5    Votes: 2   Popularity: 1.51
Licence: CPOL    Views: 6,651     Bookmarked: 2   Downloaded: 18
Please Sign up or sign in to vote.
Create and run jobs kinda like SQL Server Enterprise - How Packages Are Run
30 Sep 2017   Updated: 30 Sep 2017   Rating: 5.00/5    Votes: 4   Popularity: 3.01
Licence: CPOL    Views: 7,552     Bookmarked: 3   Downloaded: 65
Please Sign up or sign in to vote.
Create and run jobs kinda like SQL Server Enterprise - Interesting Coding
30 Sep 2017   Updated: 27 Feb 2018   Rating: 5.00/5    Votes: 11   Popularity: 5.21
Licence: CPOL    Views: 27,697     Bookmarked: 32   Downloaded: 592
Please Sign up or sign in to vote.
Create and run jobs kinda like SQL Server Enterprise - Users Guide
4 Mar 2021   Updated: 9 Mar 2021   Rating: 5.00/5    Votes: 4   Popularity: 3.01
Licence: CPOL    Views: 22,860     Bookmarked: 13   Downloaded: 287
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
26 Nov 2000   Updated: 16 Apr 2001   Rating: 3.07/5    Votes: 18   Popularity: 3.85
Licence: CPOL    Views: 103,024     Bookmarked: 27   Downloaded: 2,115
Please Sign up or sign in to vote.
Technique for utilizing a CResizablePage in a CFormView-derived class
28 Nov 2000   Updated: 6 Jun 2001   Rating: 3.50/5    Votes: 27   Popularity: 5.01
Licence: Not specified    Views: 188,172     Bookmarked: 45   Downloaded: 2,545
Please Sign up or sign in to vote.
Extension of Paolo Messina's CResizableDialog concept
9 Aug 2005   Updated: 9 Aug 2005   Rating: 3.55/5    Votes: 26   Popularity: 5.02
Licence: Not specified    Views: 79,851     Bookmarked: 23   Downloaded: 1,113
Please Sign up or sign in to vote.
Enumerate all controls in a dialog box or form view.
21 Jan 2001   Updated: 7 May 2001   Rating: 3.30/5    Votes: 22   Popularity: 4.43
Licence: CPOL    Views: 105,162     Bookmarked: 37   Downloaded: 2,061
Please Sign up or sign in to vote.
Track a mouse click, even in a scrolled view
27 Jan 2007   Updated: 27 Jan 2007   Rating: 4.60/5    Votes: 23   Popularity: 5.89
Licence: CPOL    Views: 71,866     Bookmarked: 45   Downloaded: 755
Please Sign up or sign in to vote.
Implement XML application profiles that are similar (but not too similar) to using INI files
8 Dec 2002   Updated: 8 Dec 2002   Rating: 3.50/5    Votes: 45   Popularity: 5.79
Licence: Not specified    Views: 220,567     Bookmarked: 33   Downloaded: 0
Please Sign up or sign in to vote.
Some dialogbox code to give the Blonde a clue
26 Jan 2007   Updated: 26 Jan 2007   Rating: 3.19/5    Votes: 64   Popularity: 5.76
Licence: CPOL    Views: 113,882     Bookmarked: 38   Downloaded: 1,410
Please Sign up or sign in to vote.
Add menu items to, and learn how to handle the system menu
12 May 2005   Updated: 12 May 2005   Rating: 3.18/5    Votes: 40   Popularity: 5.09
Licence: Not specified    Views: 139,845     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).
13 May 2005   Updated: 13 May 2005   Rating: 3.22/5    Votes: 25   Popularity: 4.50
Licence: CPOL    Views: 74,450     Bookmarked: 11   Downloaded: 1,024
Please Sign up or sign in to vote.
Create blinking cells for Chris Maunder's grid control.
28 Jul 2006   Updated: 28 Jul 2006   Rating: 3.77/5    Votes: 32   Popularity: 5.67
Licence: CPOL    Views: 55,873     Bookmarked: 29   Downloaded: 540
Please Sign up or sign in to vote.
Copy a bitmap over a portion of another bitmap
3 Aug 2006   Updated: 3 Aug 2006   Rating: 3.67/5    Votes: 10   Popularity: 3.67
Licence: Not specified    Views: 31,851     Bookmarked: 12   Downloaded: 152
Please Sign up or sign in to vote.
A passable workaround for the COleDateTime formatting behavior in MFC8.
11 Dec 2001   Updated: 12 Dec 2001   Rating: 3.65/5    Votes: 17   Popularity: 4.49
Licence: CPOL    Views: 212,573     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
19 Jan 2001   Updated: 14 Mar 2002   Rating: 3.89/5    Votes: 24   Popularity: 5.37
Licence: Not specified    Views: 199,234     Bookmarked: 44   Downloaded: 1,330
Please Sign up or sign in to vote.
Parse strings with specified delimiter and specified quote character
Windows Forms
14 Dec 2008   Updated: 24 Jun 2010   Rating: 4.85/5    Votes: 54   Popularity: 8.20
Licence: CPOL    Views: 170,473     Bookmarked: 174   Downloaded: 3,972
Please Sign up or sign in to vote.
Create a dynamically resizable wizard form
11 Dec 2010   Updated: 13 Nov 2011   Rating: 4.95/5    Votes: 52   Popularity: 8.45
Licence: CPOL    Views: 120,520     Bookmarked: 71   Downloaded: 1,497
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.
14 Aug 2011   Updated: 20 Aug 2011   Rating: 4.85/5    Votes: 23   Popularity: 6.61
Licence: CPOL    Views: 43,402     Bookmarked: 24   Downloaded: 1,373
Please Sign up or sign in to vote.
Keep more detailed track of your Codeproject reputation points.
14 Aug 2011   Updated: 30 Aug 2011   Rating: 4.93/5    Votes: 35   Popularity: 7.61
Licence: CPOL    Views: 58,691     Bookmarked: 41   Downloaded: 882
Please Sign up or sign in to vote.
Keep more detailed track of your Codeproject reputation points.
14 Aug 2011   Updated: 20 Sep 2012   Rating: 4.85/5    Votes: 20   Popularity: 6.30
Licence: CPOL    Views: 44,641     Bookmarked: 14   Downloaded: 496
Please Sign up or sign in to vote.
Keep more detailed track of your Codeproject reputation points.
7 Apr 2008   Updated: 4 Nov 2012   Rating: 4.71/5    Votes: 27   Popularity: 6.50
Licence: CPOL    Views: 146,916     Bookmarked: 71   Downloaded: 3,855
Please Sign up or sign in to vote.
The classic word game using words and letter scores allowed in Scrabble
WPF
25 Dec 2020   Updated: 21 Jan 2021   Rating: 4.95/5    Votes: 57   Popularity: 8.57
Licence: CPOL    Views: 78,806     Bookmarked: 58   Downloaded: 2,639
Please Sign up or sign in to vote.
Finally, a customizable MessageBox for WPF applications
1 Mar 2021   Updated: 1 Mar 2021   Rating: 5.00/5    Votes: 4   Popularity: 3.01
Licence: CPOL    Views: 6,631     Bookmarked: 11   Downloaded: 179
Please Sign up or sign in to vote.
For those times when you need more control over when a modeless window is created/displayed
21 Feb 2021   Updated: 21 Feb 2021   Rating: 5.00/5    Votes: 1   Popularity: 0.00
Licence: CPOL    Views: 8,341     Bookmarked: 8   Downloaded: 192
Please Sign up or sign in to vote.
Not about just writing code, but adapting someone else's code to your own needs
23 Feb 2021   Updated: 23 Feb 2021   Rating: 4.75/5    Votes: 5   Popularity: 3.32
Licence: CPOL    Views: 5,551     Bookmarked: 10   Downloaded: 203
Please Sign up or sign in to vote.
Implement enumerator selection in your WPF apps
18 Feb 2021   Updated: 18 Feb 2021   Rating: 5.00/5    Votes: 8   Popularity: 4.52
Licence: CPOL    Views: 10,771     Bookmarked: 13   Downloaded: 266
Please Sign up or sign in to vote.
A WPF ListView that automatically generates columns (that are also sortable) based on decorated entity properties
20 Aug 2011   Updated: 30 Aug 2011   Rating: 4.85/5    Votes: 9   Popularity: 4.62
Licence: CPOL    Views: 40,364     Bookmarked: 14   Downloaded: 997
Please Sign up or sign in to vote.
Keep more detailed track of your Codeproject reputation points.
14 Oct 2012   Updated: 4 Nov 2012   Rating: 4.97/5    Votes: 16   Popularity: 5.99
Licence: CPOL    Views: 71,183     Bookmarked: 40   Downloaded: 1,422
Please Sign up or sign in to vote.
My Anagrams game ported to WPF.
13 Apr 2016   Updated: 11 Apr 2020   Rating: 4.77/5    Votes: 20   Popularity: 5.99
Licence: CPOL    Views: 43,947     Bookmarked: 29   Downloaded: 1,269
Please Sign up or sign in to vote.
Any technology suitably advanced will generally be viewed as "magic".
16 Dec 2014   Updated: 16 Dec 2014   Rating: 4.77/5    Votes: 30   Popularity: 6.83
Licence: CPOL    Views: 60,076     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.
22 Feb 2021   Updated: 22 Feb 2021   Rating: 4.20/5    Votes: 7   Popularity: 3.55
Licence: CPOL    Views: 7,832     Bookmarked: 7   Downloaded: 0
Please Sign up or sign in to vote.
Present enumerators in your WPF UI
9 Dec 2020   Updated: 4 Nov 2021   Rating: 5.00/5    Votes: 8   Popularity: 4.52
Licence: CPL    Views: 20,859     Bookmarked: 29   Downloaded: 418
Please Sign up or sign in to vote.
A tool to generate model and viewmodel classes directly from your selected database
General Programming
String
12 Feb 2015   Updated: 27 Feb 2018   Rating: 4.96/5    Votes: 31   Popularity: 7.40
Licence: CPOL    Views: 60,138     Bookmarked: 45   Downloaded: 691
Please Sign up or sign in to vote.
Spell it out! No! Wait!
Mobile Apps
22 Dec 2003   Updated: 22 Dec 2003   Rating: 3.51/5    Votes: 17   Popularity: 4.32
Licence: CPOL    Views: 85,901     Bookmarked: 24   Downloaded: 0
Please Sign up or sign in to vote.
Add a scrollbar to a property page when the SIP is displayed.
9 Dec 2002   Updated: 9 Dec 2002   Rating: 3.18/5    Votes: 22   Popularity: 4.27
Licence: CPOL    Views: 111,093     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
14 Apr 2008   Updated: 10 Jan 2011   Rating: 4.93/5    Votes: 72   Popularity: 8.94
Licence: CPOL    Views: 364,216     Bookmarked: 135   Downloaded: 0
Please Sign up or sign in to vote.
How to go about buildingyour own NAS device
Programming Languages
C#
14 Feb 2010   Updated: 17 Dec 2010   Rating: 4.92/5    Votes: 107   Popularity: 9.94
Licence: CPOL    Views: 312,173     Bookmarked: 296   Downloaded: 15,014
Please Sign up or sign in to vote.
How to get all the events you want - whether you need them or not.
14 Feb 2010   Updated: 17 Dec 2010   Rating: 4.91/5    Votes: 77   Popularity: 9.23
Licence: CPOL    Views: 155,774     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
7 Apr 2018   Updated: 7 Apr 2018   Rating: 5.00/5    Votes: 7   Popularity: 4.23
Licence: CPOL    Views: 29,469     Bookmarked: 19   Downloaded: 871
Please Sign up or sign in to vote.
An example of evolving code to fit new demands
13 Oct 2008   Updated: 11 Dec 2010   Rating: 4.72/5    Votes: 49   Popularity: 7.70
Licence: CPOL    Views: 131,619     Bookmarked: 95   Downloaded: 783
Please Sign up or sign in to vote.
Scrape the My Articles page here on CodeProject to keep an eye on your articles.
2 Oct 2008   Updated: 2 Oct 2008   Rating: 4.44/5    Votes: 61   Popularity: 7.76
Licence: CPOL    Views: 184,086     Bookmarked: 142   Downloaded: 5,285
Please Sign up or sign in to vote.
Discusses windows authentication and application-specific authentication for WinForm applications
4 Jan 2009   Updated: 4 Jan 2009   Rating: 4.91/5    Votes: 28   Popularity: 7.03
Licence: CPOL    Views: 92,286     Bookmarked: 53   Downloaded: 2,107
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
26 May 2010   Updated: 27 May 2010   Rating: 4.95/5    Votes: 16   Popularity: 5.82
Licence: CPOL    Views: 43,002     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.
9 Apr 2020   Updated: 9 Apr 2020   Rating: 0.00/5    Votes: 0   Popularity: 0.00
Licence: CPOL    Views: 4,452     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.
5 Apr 2020   Updated: 10 Apr 2020   Rating: 4.88/5    Votes: 9   Popularity: 4.66
Licence: CPOL    Views: 24,667     Bookmarked: 23   Downloaded: 772
Please Sign up or sign in to vote.
A rewrite of a previous article with more liquid nitrogen and bacon
28 Nov 2006   Updated: 8 May 2007   Rating: 4.44/5    Votes: 96   Popularity: 8.76
Licence: Not specified    Views: 176,936     Bookmarked: 99   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
28 Sep 2008   Updated: 28 Sep 2008   Rating: 4.45/5    Votes: 28   Popularity: 6.23
Licence: CPOL    Views: 75,941     Bookmarked: 43   Downloaded: 1,424
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.
17 May 2008   Updated: 17 May 2008   Rating: 4.38/5    Votes: 19   Popularity: 5.38
Licence: CPOL    Views: 56,569     Bookmarked: 29   Downloaded: 232
Please Sign up or sign in to vote.
One method for loading common and object-specific data from your app.config file.
17 Dec 2008   Updated: 17 Dec 2008   Rating: 5.00/5    Votes: 11   Popularity: 4.77
Licence: CPOL    Views: 68,889     Bookmarked: 46   Downloaded: 634
Please Sign up or sign in to vote.
A not-so-dotNet way to allow multiple programs to share a single settings file
1 Oct 2017   Updated: 1 Oct 2017   Rating: 5.00/5    Votes: 4   Popularity: 3.01
Licence: CPOL    Views: 6,830     Bookmarked: 2   Downloaded: 0
Please Sign up or sign in to vote.
This is an alternative for "Custom exceptions without constructor tedium"
21 Jul 2019   Updated: 22 Jul 2019   Rating: 4.64/5    Votes: 20   Popularity: 5.70
Licence: CPOL    Views: 32,644     Bookmarked: 25   Downloaded: 892
Please Sign up or sign in to vote.
Avoid ORMs with this reasonably generic approach to ADO
30 Jul 2007   Updated: 21 Dec 2008   Rating: 4.33/5    Votes: 18   Popularity: 4.96
Licence: Public Domain    Views: 77,144     Bookmarked: 38   Downloaded: 384
Please Sign up or sign in to vote.
Parse a string with quoted elements, insert/add/delete elements, and is CLS compliant
1 Oct 2008   Updated: 1 Oct 2008   Rating: 4.69/5    Votes: 55   Popularity: 7.88
Licence: CPOL    Views: 70,145     Bookmarked: 84   Downloaded: 719
Please Sign up or sign in to vote.
Implement repetitive tasks at consistent intervals
7 Feb 2010   Updated: 17 Mar 2010   Rating: 4.95/5    Votes: 74   Popularity: 9.13
Licence: CPOL    Views: 189,949     Bookmarked: 310   Downloaded: 3,282
Please Sign up or sign in to vote.
Tie it all together and not lose your mind in the process
24 Oct 2008   Updated: 12 Oct 2016   Rating: 4.83/5    Votes: 260   Popularity: 11.53
Licence: CPOL    Views: 307,696     Bookmarked: 208   Downloaded: 0
Please Sign up or sign in to vote.
My views on how to be a proper programmer
C++
16 Oct 2001   Updated: 15 Apr 2008   Rating: 3.78/5    Votes: 33   Popularity: 5.73
Licence: CPOL    Views: 171,271     Bookmarked: 55   Downloaded: 1,607
Please Sign up or sign in to vote.
Helps with copying a device independant bitmap to the clipboard.
27 Jan 2007   Updated: 27 Jan 2007   Rating: 4.63/5    Votes: 20   Popularity: 5.44
Licence: CPOL    Views: 43,255     Bookmarked: 17   Downloaded: 436
Please Sign up or sign in to vote.
The right way to code using CodeProject for occasional support
27 Jan 2007   Updated: 15 Apr 2008   Rating: 4.77/5    Votes: 42   Popularity: 7.43
Licence: CPOL    Views: 68,455     Bookmarked: 94   Downloaded: 650
Please Sign up or sign in to vote.
The right way to code using CodeProject for occasional support
27 Jan 2007   Updated: 15 Apr 2008   Rating: 4.81/5    Votes: 24   Popularity: 6.15
Licence: CPOL    Views: 47,712     Bookmarked: 24   Downloaded: 681
Please Sign up or sign in to vote.
The right way to code using CodeProject for occasional support
27 Jan 2007   Updated: 15 Apr 2008   Rating: 4.58/5    Votes: 19   Popularity: 5.39
Licence: CPOL    Views: 39,803     Bookmarked: 18   Downloaded: 437
Please Sign up or sign in to vote.
The right way to code using CodeProject for occasional support
27 Jan 2007   Updated: 12 Jan 2010   Rating: 4.65/5    Votes: 21   Popularity: 5.72
Licence: CPOL    Views: 63,413     Bookmarked: 27   Downloaded: 502
Please Sign up or sign in to vote.
The right way to code using CodeProject for occasional support
30 Nov 2006   Updated: 30 Nov 2006   Rating: 4.05/5    Votes: 51   Popularity: 6.92
Licence: CPOL    Views: 165,234     Bookmarked: 49   Downloaded: 1,447
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.
4 Dec 2006   Updated: 4 Dec 2006   Rating: 3.33/5    Votes: 41   Popularity: 5.37
Licence: CPOL    Views: 140,702     Bookmarked: 19   Downloaded: 0
Please Sign up or sign in to vote.
Compare floating point numbers for equality at programmer-specified precision.
17 Nov 2006   Updated: 17 Nov 2006   Rating: 4.28/5    Votes: 23   Popularity: 5.37
Licence: Not specified    Views: 94,641     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
29 Nov 2006   Updated: 29 Nov 2006   Rating: 4.54/5    Votes: 20   Popularity: 5.59
Licence: Not specified    Views: 58,101     Bookmarked: 29   Downloaded: 731
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
7 May 2007   Updated: 7 May 2007   Rating: 3.59/5    Votes: 9   Popularity: 3.43
Licence: CPOL    Views: 28,533     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
4 Oct 2010   Updated: 5 Oct 2010   Rating: 4.92/5    Votes: 20   Popularity: 6.06
Licence: CPOL    Views: 83,812     Bookmarked: 43   Downloaded: 428
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
5 Nov 2021   Updated: 5 Nov 2021   Rating: 0.00/5    Votes: 0   Popularity: 0.00
Licence: CPOL    Views: 11,552     Bookmarked: 7   Downloaded: 99
Please Sign up or sign in to vote.
One way to allow access to multiple model entities within a ASP.NET MVC view.
HTML
5 Feb 2011   Updated: 7 Feb 2011   Rating: 4.90/5    Votes: 29   Popularity: 7.16
Licence: CPOL    Views: 76,495     Bookmarked: 106   Downloaded: 3,536
Please Sign up or sign in to vote.
Windows service for synchronizing folders
12 Sep 2016   Updated: 7 Apr 2018   Rating: 4.83/5    Votes: 39   Popularity: 7.52
Licence: CPOL    Views: 104,349     Bookmarked: 79   Downloaded: 3,313
Please Sign up or sign in to vote.
Parse CSV files.
27 Sep 2016   Updated: 25 Feb 2018   Rating: 4.97/5    Votes: 25   Popularity: 6.95
Licence: CPOL    Views: 39,373     Bookmarked: 45   Downloaded: 301
Please Sign up or sign in to vote.
Abusing attributes, and loving it.
6 Oct 2016   Updated: 11 Oct 2016   Rating: 4.91/5    Votes: 32   Popularity: 7.38
Licence: CPOL    Views: 33,340     Bookmarked: 55   Downloaded: 895
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.83

.NET
28 Feb 2010   Updated: 21 May 2010   Rating: 4.95/5    Votes: 7   Popularity: 4.19
Licence: CPOL    Views: 78,664     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.
5 Apr 2011   Updated: 6 Apr 2011   Rating: 5.00/5    Votes: 11   Popularity: 5.00
Licence: CPOL    Views: 19,410     Bookmarked: 5   Downloaded: 0
Please Sign up or sign in to vote.
Never assume you know what the framework is going to do
20 Dec 2011   Updated: 20 Dec 2011   Rating: 5.00/5    Votes: 1   Popularity: 0.00
Licence: CPOL    Views: 18,411     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.
13 Jan 2010   Updated: 22 May 2010   Rating: 4.79/5    Votes: 12   Popularity: 5.17
Licence: CPOL    Views: 19,671     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
23 Jan 2015   Updated: 23 Jan 2015   Rating: 4.82/5    Votes: 5   Popularity: 3.37
Licence: CPOL    Views: 13,790     Bookmarked: 5   Downloaded: 0
Please Sign up or sign in to vote.
Some things to be aware of.
Database Development
31 Jan 2017   Updated: 31 Jan 2017   Rating: 4.52/5    Votes: 6   Popularity: 3.52
Licence: CPOL    Views: 23,799     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.
31 Jan 2017   Updated: 31 Jan 2017   Rating: 5.00/5    Votes: 5   Popularity: 3.49
Licence: CPOL    Views: 9,650     Bookmarked: 4   Downloaded: 0
Please Sign up or sign in to vote.
Using common table expressions to build data from thin air.
22 Sep 2017   Updated: 22 Sep 2017   Rating: 5.00/5    Votes: 3   Popularity: 2.39
Licence: CPOL    Views: 5,790     Bookmarked: 0   Downloaded: 0
Please Sign up or sign in to vote.
It doesn't always happen the way you expect.
SQL Server
5 Jan 2011   Updated: 5 Jan 2011   Rating: 4.89/5    Votes: 2   Popularity: 1.47
Licence: CPOL    Views: 14,490     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]
26 May 2011   Updated: 26 May 2011   Rating: 5.00/5    Votes: 2   Popularity: 1.51
Licence: CPOL    Views: 12,680     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
22 Nov 2011   Updated: 22 Nov 2011   Rating: 5.00/5    Votes: 1   Popularity: 0.00
Licence: CPOL    Views: 15,361     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
21 Jan 2010   Updated: 22 Nov 2011   Rating: 4.88/5    Votes: 41   Popularity: 7.82
Licence: CPOL    Views: 81,537     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
14 Sep 2011   Updated: 14 Sep 2011   Rating: 4.89/5    Votes: 10   Popularity: 4.89
Licence: CPOL    Views: 57,921     Bookmarked: 4   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
18 Feb 2011   Updated: 19 Feb 2011   Rating: 5.00/5    Votes: 8   Popularity: 4.52
Licence: CPOL    Views: 51,137     Bookmarked: 2   Downloaded: 0
Please Sign up or sign in to vote.
Determine the number of unique colors in an image
26 Jan 2011   Updated: 26 Jan 2011   Rating: 5.00/5    Votes: 6   Popularity: 3.89
Licence: CPOL    Views: 37,253     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
1 Feb 2011   Updated: 2 Feb 2011   Rating: 4.97/5    Votes: 18   Popularity: 6.24
Licence: CPOL    Views: 34,080     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
27 Feb 2021   Updated: 27 Feb 2021   Rating: 4.54/5    Votes: 5   Popularity: 3.17
Licence: CPOL    Views: 6,010     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
9 Nov 2012   Updated: 9 Nov 2012   Rating: 4.89/5    Votes: 2   Popularity: 1.47
Licence: CPOL    Views: 10,471     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).
15 Jun 2012   Updated: 15 Jun 2012   Rating: 5.00/5    Votes: 2   Popularity: 1.51
Licence: CPOL    Views: 38,370     Bookmarked: 2   Downloaded: 0
Please Sign up or sign in to vote.
One way to get around the "invalid character" error
29 May 2010   Updated: 29 May 2010   Rating: 4.83/5    Votes: 9   Popularity: 4.61
Licence: CPOL    Views: 48,615     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
17 Nov 2014   Updated: 17 Nov 2014   Rating: 4.00/5    Votes: 3   Popularity: 1.91
Licence: CPOL    Views: 9,101     Bookmarked: 0   Downloaded: 0
Please Sign up or sign in to vote.
How to fix this ANNOYING problem
31 Jul 2019   Updated: 31 Jul 2019   Rating: 5.00/5    Votes: 4   Popularity: 3.01
Licence: CPOL    Views: 16,439     Bookmarked: 11   Downloaded: 0
Please Sign up or sign in to vote.
Make data exchange in MVVM easy on yourself
11 Apr 2010   Updated: 22 May 2010   Rating: 5.00/5    Votes: 4   Popularity: 3.01
Licence: CPOL    Views: 19,240     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).
22 May 2010   Updated: 22 May 2010   Rating: 4.95/5    Votes: 7   Popularity: 4.19
Licence: CPOL    Views: 45,797     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
22 Jan 2010   Updated: 22 May 2010   Rating: 4.73/5    Votes: 9   Popularity: 4.51
Licence: CPOL    Views: 10,740     Bookmarked: 2   Downloaded: 0
Please Sign up or sign in to vote.
No change is too small for a complete regression test.
General
26 Jan 2010   Updated: 22 May 2010   Rating: 4.95/5    Votes: 21   Popularity: 6.45
Licence: CPOL    Views: 22,610     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
24 Jan 2010   Updated: 22 May 2010   Rating: 4.60/5    Votes: 3   Popularity: 2.19
Licence: CPOL    Views: 10,340     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
7 Mar 2011   Updated: 7 Mar 2011   Rating: 5.00/5    Votes: 1   Popularity: 0.00
Licence: CPOL    Views: 15,600     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
18 Jan 2010   Updated: 22 May 2010   Rating: 5.00/5    Votes: 17   Popularity: 6.02
Licence: CPOL    Views: 28,751     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
17 May 2011   Updated: 17 May 2011   Rating: 5.00/5    Votes: 1   Popularity: 0.00
Licence: CPOL    Views: 11,140     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#
9 Jun 2010   Updated: 9 Jun 2010   Rating: 4.86/5    Votes: 6   Popularity: 3.78
Licence: CPOL    Views: 16,750     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.
19 Jun 2010   Updated: 19 Jun 2010   Rating: 4.88/5    Votes: 6   Popularity: 3.79
Licence: CPOL    Views: 17,090     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
11 Aug 2010   Updated: 12 Aug 2010   Rating: 5.00/5    Votes: 4   Popularity: 3.01
Licence: CPOL    Views: 21,821     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
9 May 2011   Updated: 9 May 2011   Rating: 4.95/5    Votes: 10   Popularity: 4.73
Licence: CPOL    Views: 21,940     Bookmarked: 3   Downloaded: 0
Please Sign up or sign in to vote.
Get access to your Silverlight MainPage object
12 Nov 2017   Updated: 5 Jan 2018   Rating: 5.00/5    Votes: 3   Popularity: 2.39
Licence: CPOL    Views: 9,250     Bookmarked: 5   Downloaded: 0
Please Sign up or sign in to vote.
When you have a customized DbContext constructor.
31 Jan 2017   Updated: 31 Jan 2017   Rating: 4.82/5    Votes: 13   Popularity: 5.36
Licence: CPOL    Views: 27,379     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#.
1 Feb 2017   Updated: 1 Feb 2017   Rating: 4.94/5    Votes: 9   Popularity: 4.72
Licence: CPOL    Views: 12,010     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.
1 Feb 2017   Updated: 1 Feb 2017   Rating: 5.00/5    Votes: 5   Popularity: 3.49
Licence: CPOL    Views: 10,681     Bookmarked: 7   Downloaded: 0
Please Sign up or sign in to vote.
Find the date of a specified federal holiday for a given year.
13 Sep 2016   Updated: 13 Sep 2016   Rating: 4.71/5    Votes: 12   Popularity: 4.71
Licence: CPOL    Views: 13,360     Bookmarked: 2   Downloaded: 0
Please Sign up or sign in to vote.
This came as a mild surprise
11 Sep 2013   Updated: 12 Sep 2013   Rating: 4.83/5    Votes: 6   Popularity: 3.76
Licence: CPOL    Views: 43,941     Bookmarked: 9   Downloaded: 0
Please Sign up or sign in to vote.
One approach to find a specific exception type inside the containing exception
2 Oct 2017   Updated: 2 Oct 2017   Rating: 4.73/5    Votes: 5   Popularity: 3.30
Licence: CPOL    Views: 8,172     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?"
10 May 2011   Updated: 10 May 2011   Rating: 5.00/5    Votes: 2   Popularity: 1.51
Licence: CPOL    Views: 28,061     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
7 Jul 2011   Updated: 7 Jul 2011   Rating: 5.00/5    Votes: 2   Popularity: 1.51
Licence: CPOL    Views: 5,800     Bookmarked: 0   Downloaded: 0
Please Sign up or sign in to vote.
.Net 4 has the enum.HasFlag() method, which kinda obsoletes this tip. :)
9 Aug 2012   Updated: 12 Nov 2012   Rating: 4.90/5    Votes: 3   Popularity: 2.34
Licence: CPOL    Views: 31,614     Bookmarked: 7   Downloaded: 312
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.
18 Nov 2017   Updated: 18 Nov 2017   Rating: 5.00/5    Votes: 1   Popularity: 0.00
Licence: CPOL    Views: 8,560     Bookmarked: 3   Downloaded: 0
Please Sign up or sign in to vote.
One less pesky nuance to worry about
28 Nov 2017   Updated: 28 Nov 2017   Rating: 4.54/5    Votes: 10   Popularity: 4.33
Licence: CPOL    Views: 5,781     Bookmarked: 2   Downloaded: 0
Please Sign up or sign in to vote.
ViewBag, ViewBag, three times full...
19 Jan 2011   Updated: 19 Jan 2011   Rating: 4.85/5    Votes: 14   Popularity: 5.40
Licence: CPOL    Views: 31,042     Bookmarked: 10   Downloaded: 0
Please Sign up or sign in to vote.
Determine if specified date/time properrties are equal
6 Feb 2015   Updated: 6 Feb 2015   Rating: 4.80/5    Votes: 2   Popularity: 1.44
Licence: CPOL    Views: 6,701     Bookmarked: 2   Downloaded: 0
Please Sign up or sign in to vote.
This is an alternative for "Partial DateTime Object Equality"
10 May 2013   Updated: 10 May 2013   Rating: 5.00/5    Votes: 1   Popularity: 0.00
Licence: CPOL    Views: 6,550     Bookmarked: 0   Downloaded: 0
Please Sign up or sign in to vote.
Determine the nature of the entry assembly
7 May 2010   Updated: 21 May 2010   Rating: 4.81/5    Votes: 9   Popularity: 4.59
Licence: CPOL    Views: 34,641     Bookmarked: 10   Downloaded: 0
Please Sign up or sign in to vote.
Make interfacing with your web service simpler and more maintainable
6 Jun 2010   Updated: 6 Jun 2010   Rating: 4.77/5    Votes: 6   Popularity: 3.71
Licence: CPOL    Views: 17,911     Bookmarked: 8   Downloaded: 0
Please Sign up or sign in to vote.
It's not as simple as just calling DirectoryInfo.GetFiles()
4 Mar 2010   Updated: 26 Aug 2010   Rating: 4.83/5    Votes: 11   Popularity: 5.03
Licence: CPOL    Views: 21,281     Bookmarked: 12   Downloaded: 0
Please Sign up or sign in to vote.
You probably have better things to do than writing tedious comparison methods.
19 Jan 2011   Updated: 24 Jan 2011   Rating: 4.81/5    Votes: 32   Popularity: 7.24
Licence: CPOL    Views: 63,830     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.
9 Feb 2011   Updated: 9 Feb 2011   Rating: 5.00/5    Votes: 7   Popularity: 4.23
Licence: CPOL    Views: 9,511     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);}
4 Apr 2011   Updated: 4 Apr 2011   Rating: 4.89/5    Votes: 18   Popularity: 6.14
Licence: CPOL    Views: 21,351     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.
24 May 2010   Updated: 29 Aug 2011   Rating: 4.88/5    Votes: 21   Popularity: 6.34
Licence: CPOL    Views: 35,441     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.
1 Jan 2011   Updated: 1 Jan 2011   Rating: 4.82/5    Votes: 4   Popularity: 2.90
Licence: CPOL    Views: 32,621     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.
18 Apr 2013   Updated: 18 Apr 2013   Rating: 4.89/5    Votes: 2   Popularity: 1.47
Licence: CPOL    Views: 40,703     Bookmarked: 5   Downloaded: 0
Please Sign up or sign in to vote.
Go here for an update that utilizes the Twitter API v1.1
11 Aug 2017   Updated: 11 Aug 2017   Rating: 5.00/5    Votes: 6   Popularity: 3.89
Licence: CPOL    Views: 6,772     Bookmarked: 6   Downloaded: 0
Please Sign up or sign in to vote.
Handy class to reduce clutter in your code
C# 3.5
3 Nov 2015   Updated: 3 Nov 2015   Rating: 4.43/5    Votes: 4   Popularity: 2.67
Licence: CPOL    Views: 36,401     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
25 Jul 2012   Updated: 25 Jul 2012   Rating: 5.00/5    Votes: 2   Popularity: 1.51
Licence: CPOL    Views: 17,631     Bookmarked: 1   Downloaded: 24
Please Sign up or sign in to vote.
Evaluating epressions in an ad-hoc condition.
23 Jul 2011   Updated: 23 Jul 2011   Rating: 5.00/5    Votes: 3   Popularity: 2.39
Licence: CPOL    Views: 10,100     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...
2 Mar 2012   Updated: 2 Mar 2012   Rating: 3.89/5    Votes: 4   Popularity: 2.34
Licence: CPOL    Views: 26,876     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
15 Oct 2014   Updated: 15 Oct 2014   Rating: 4.72/5    Votes: 8   Popularity: 4.26
Licence: CPOL    Views: 32,734     Bookmarked: 11   Downloaded: 0
Please Sign up or sign in to vote.
Retrieve certificates from the system certificate store
27 Oct 2014   Updated: 27 Oct 2014   Rating: 4.82/5    Votes: 5   Popularity: 3.37
Licence: CPOL    Views: 14,701     Bookmarked: 4   Downloaded: 0
Please Sign up or sign in to vote.
Extension method to determine fiscal date
Razor
25 Jan 2019   Updated: 25 Jan 2019   Rating: 3.90/5    Votes: 6   Popularity: 3.03
Licence: CPOL    Views: 5,042     Bookmarked: 5   Downloaded: 0
Please Sign up or sign in to vote.
Sharing files between multiple web apps in a single solution.
SQL
26 Jul 2011   Updated: 26 Jul 2011   Rating: 5.00/5    Votes: 1   Popularity: 0.00
Licence: CPOL    Views: 34,404     Bookmarked: 1   Downloaded: 0
Please Sign up or sign in to vote.
One way to effectively zero the columns any DataRow object.
25 Jul 2011   Updated: 10 Aug 2011   Rating: 4.90/5    Votes: 36   Popularity: 7.50
Licence: CPOL    Views: 92,643     Bookmarked: 9   Downloaded: 0
Please Sign up or sign in to vote.
Just say no to SELECT * in your SQL
5 Oct 2015   Updated: 5 Oct 2015   Rating: 4.40/5    Votes: 16   Popularity: 4.90
Licence: CPOL    Views: 16,860     Bookmarked: 12   Downloaded: 0
Please Sign up or sign in to vote.
Yes, you CAN document your stored procs in C# code.
Visual Basic
10 Nov 2011   Updated: 10 Nov 2011   Rating: 5.00/5    Votes: 1   Popularity: 0.00
Licence: CPOL    Views: 10,760     Bookmarked: 0   Downloaded: 0
Please Sign up or sign in to vote.
This is an alternative to "DataSet to String to DataSet".
20 Feb 2010   Updated: 9 Jul 2011   Rating: 5.00/5    Votes: 6   Popularity: 3.89
Licence: CPOL    Views: 17,160     Bookmarked: 6   Downloaded: 0
Please Sign up or sign in to vote.
Avoid exceptions when setting enumerators from unknown/untrusted sources.
XML
13 Jan 2010   Updated: 22 May 2010   Rating: 4.82/5    Votes: 22   Popularity: 6.17
Licence: CPOL    Views: 38,620     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.
23 Apr 2010   Updated: 10 Jul 2014   Rating: 4.80/5    Votes: 18   Popularity: 5.91
Licence: CPOL    Views: 49,025     Bookmarked: 15   Downloaded: 0
Please Sign up or sign in to vote.
Extension methods can help you avoid sticky situations.
Silverlight
20 Apr 2010   Updated: 21 May 2010   Rating: 5.00/5    Votes: 3   Popularity: 2.39
Licence: CPOL    Views: 26,720     Bookmarked: 4   Downloaded: 0
Please Sign up or sign in to vote.
Dorothy was right - there's no place like home.
17 May 2010   Updated: 21 May 2010   Rating: 4.75/5    Votes: 5   Popularity: 3.32
Licence: CPOL    Views: 16,540     Bookmarked: 5   Downloaded: 0
Please Sign up or sign in to vote.
Follow these guidelines for trouble-free dictionary merging in Silverlight
5 Aug 2010   Updated: 12 Aug 2010   Rating: 5.00/5    Votes: 10   Popularity: 5.00
Licence: CPOL    Views: 26,202     Bookmarked: 4   Downloaded: 0
Please Sign up or sign in to vote.
Get around another irrational and arbitrary omission in Silverlight
Versioning
3 Jun 2022   Updated: 3 Jun 2022   Rating: 4.33/5    Votes: 3   Popularity: 2.07
Licence: CPOL    Views: 9,342     Bookmarked: 3   Downloaded: 0
Please Sign up or sign in to vote.
A half-hearted approach to automatically versioning your projects
Web Development
ASP.NET
3 Mar 2010   Updated: 23 Jun 2010   Rating: 4.89/5    Votes: 10   Popularity: 4.89
Licence: CPOL    Views: 35,703     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.
17 Jun 2011   Updated: 17 Jun 2011   Rating: 5.00/5    Votes: 1   Popularity: 0.00
Licence: CPOL    Views: 10,831     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
21 Jun 2011   Updated: 21 Jun 2011   Rating: 4.55/5    Votes: 4   Popularity: 2.74
Licence: CPOL    Views: 20,572     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.
22 Jun 2011   Updated: 23 Jun 2011   Rating: 4.82/5    Votes: 7   Popularity: 4.08
Licence: CPOL    Views: 35,511     Bookmarked: 2   Downloaded: 0
Please Sign up or sign in to vote.
One way to guarantee uniqueness and avoid misspelling your session variable names
6 May 2019   Updated: 6 May 2019   Rating: 3.94/5    Votes: 7   Popularity: 3.33
Licence: CPOL    Views: 7,820     Bookmarked: 3   Downloaded: 0
Please Sign up or sign in to vote.
This is an alternative for "No More Session Variable Misspellings"
5 Jul 2011   Updated: 5 Jul 2011   Rating: 5.00/5    Votes: 2   Popularity: 1.51
Licence: CPOL    Views: 6,041     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...
10 Nov 2011   Updated: 10 Nov 2011   Rating: 5.00/5    Votes: 3   Popularity: 2.39
Licence: CPOL    Views: 15,150     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...
26 Dec 2010   Updated: 26 Dec 2010   Rating: 5.00/5    Votes: 5   Popularity: 3.49
Licence: CPOL    Views: 12,080     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
22 Feb 2019   Updated: 22 Feb 2019   Rating: 4.94/5    Votes: 6   Popularity: 3.84
Licence: CPOL    Views: 3,841     Bookmarked: 1   Downloaded: 0
Please Sign up or sign in to vote.
Mitigate the browser flash between page navigation on your site
Windows service
11 Jul 2011   Updated: 11 Jul 2011   Rating: 5.00/5    Votes: 3   Popularity: 2.39
Licence: CPOL    Views: 16,651     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.
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.