Click here to Skip to main content
15,395,181 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: 57,414     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: 7,271     Bookmarked: 1   Downloaded: 41
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: 7,071     Bookmarked: 2   Downloaded: 24
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: 6,361     Bookmarked: 1   Downloaded: 30
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: 5,451     Bookmarked: 2   Downloaded: 15
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: 6,052     Bookmarked: 3   Downloaded: 52
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: 20,955     Bookmarked: 32   Downloaded: 530
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: 12,250     Bookmarked: 11   Downloaded: 243
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: 100,722     Bookmarked: 27   Downloaded: 2,079
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: 181,401     Bookmarked: 45   Downloaded: 2,515
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: 76,410     Bookmarked: 23   Downloaded: 1,080
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: 102,432     Bookmarked: 37   Downloaded: 2,013
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: 67,936     Bookmarked: 44   Downloaded: 741
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: 213,587     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: 106,798     Bookmarked: 38   Downloaded: 1,367
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.11/5    Votes: 39   Popularity: 4.95
Licence: Not specified    Views: 133,914     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: 70,790     Bookmarked: 11   Downloaded: 989
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.74/5    Votes: 31   Popularity: 5.58
Licence: CPOL    Views: 52,863     Bookmarked: 29   Downloaded: 528
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: 30,561     Bookmarked: 12   Downloaded: 146
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: 205,183     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: 190,722     Bookmarked: 44   Downloaded: 1,317
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: 156,468     Bookmarked: 174   Downloaded: 3,906
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: 108,502     Bookmarked: 71   Downloaded: 1,471
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: 39,212     Bookmarked: 24   Downloaded: 1,362
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: 52,520     Bookmarked: 41   Downloaded: 879
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: 40,261     Bookmarked: 14   Downloaded: 491
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: 137,956     Bookmarked: 71   Downloaded: 3,795
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: 55   Popularity: 8.49
Licence: CPOL    Views: 43,228     Bookmarked: 54   Downloaded: 1,931
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: 4,180     Bookmarked: 10   Downloaded: 138
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: 4,920     Bookmarked: 8   Downloaded: 139
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: 3,900     Bookmarked: 10   Downloaded: 181
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: 6   Popularity: 3.89
Licence: CPOL    Views: 5,270     Bookmarked: 13   Downloaded: 210
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: 37,073     Bookmarked: 14   Downloaded: 990
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: 59,692     Bookmarked: 40   Downloaded: 1,398
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: 36,887     Bookmarked: 29   Downloaded: 1,217
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: 49,143     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: 4,550     Bookmarked: 6   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: 12,447     Bookmarked: 29   Downloaded: 391
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: 47,735     Bookmarked: 45   Downloaded: 638
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: 83,061     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: 107,733     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: 334,261     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: 295,370     Bookmarked: 296   Downloaded: 14,767
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: 143,543     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: 23,968     Bookmarked: 19   Downloaded: 801
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: 121,484     Bookmarked: 95   Downloaded: 766
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: 173,954     Bookmarked: 142   Downloaded: 5,196
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: 84,146     Bookmarked: 53   Downloaded: 1,998
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: 39,261     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: 3,461     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: 16,246     Bookmarked: 23   Downloaded: 601
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: 95   Popularity: 8.74
Licence: Not specified    Views: 153,806     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
28 Sep 2008   Updated: 28 Sep 2008   Rating: 4.45/5    Votes: 28   Popularity: 6.23
Licence: CPOL    Views: 71,210     Bookmarked: 43   Downloaded: 1,371
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: 53,728     Bookmarked: 29   Downloaded: 230
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: 63,699     Bookmarked: 47   Downloaded: 618
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: 5,800     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: 24,002     Bookmarked: 23   Downloaded: 768
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: 71,823     Bookmarked: 38   Downloaded: 368
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: 64,733     Bookmarked: 84   Downloaded: 675
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: 162,246     Bookmarked: 310   Downloaded: 3,221
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: 264,381     Bookmarked: 207   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: 166,531     Bookmarked: 55   Downloaded: 1,580
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: 41,945     Bookmarked: 17   Downloaded: 419
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: 65,585     Bookmarked: 94   Downloaded: 615
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: 45,972     Bookmarked: 24   Downloaded: 663
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: 38,143     Bookmarked: 18   Downloaded: 417
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: 61,223     Bookmarked: 27   Downloaded: 486
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: 156,702     Bookmarked: 49   Downloaded: 1,385
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: 132,149     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: 89,401     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: 54,001     Bookmarked: 29   Downloaded: 723
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: 27,422     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: 72,712     Bookmarked: 43   Downloaded: 405
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: 6,230     Bookmarked: 8   Downloaded: 71
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: 69,314     Bookmarked: 105   Downloaded: 3,445
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: 91,176     Bookmarked: 78   Downloaded: 3,269
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: 33,503     Bookmarked: 45   Downloaded: 295
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: 28,615     Bookmarked: 55   Downloaded: 850
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: 73,631     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: 17,190     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: 16,981     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: 18,650     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: 12,540     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: 18,598     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: 8,460     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: 4,940     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: 13,260     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,020     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: 14,781     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: 69,332     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: 54,401     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: 45,927     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: 35,002     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: 29,790     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: 3,780     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: 9,710     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: 36,710     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.73/5    Votes: 8   Popularity: 4.27
Licence: CPOL    Views: 46,213     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: 7,960     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: 11,785     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: 18,570     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: 42,785     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,000     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: 20,400     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: 9,610     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: 14,440     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: 26,410     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: 9,900     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: 15,700     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: 16,220     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: 20,291     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: 20,510     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: 8,550     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: 21,992     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: 10,640     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: 9,311     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: 10,680     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: 40,201     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: 6,920     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: 25,901     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,330     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: 28,522     Bookmarked: 7   Downloaded: 308
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: 6,860     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: 4,941     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: 27,892     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,101     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: 5,910     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: 31,751     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: 16,731     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: 19,250     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: 58,499     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: 8,480     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: 18,401     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: 31,770     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: 31,051     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: 37,971     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,091     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: 28,941     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: 15,101     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: 9,030     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: 24,385     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: 27,288     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: 12,260     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: 4,422     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: 31,474     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: 85,522     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: 15,040     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: 9,920     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: 15,360     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: 34,630     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: 43,201     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: 25,880     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: 15,620     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: 23,331     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: 3,790     Bookmarked: 2   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: 31,912     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,381     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: 18,862     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: 33,990     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: 6,420     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: 5,431     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: 13,280     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: 10,790     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,140     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: 15,681     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.