Click here to Skip to main content
16,017,788 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: 68,534     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: 9,441     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,771     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,891     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: 7,001     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: 8,022     Bookmarked: 3   Downloaded: 67
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: 29,537     Bookmarked: 32   Downloaded: 603
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: 27,443     Bookmarked: 13   Downloaded: 299
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: 104,175     Bookmarked: 27   Downloaded: 2,118
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: 191,492     Bookmarked: 45   Downloaded: 2,548
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: 81,021     Bookmarked: 23   Downloaded: 1,124
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.32/5    Votes: 23   Popularity: 4.53
Licence: CPOL    Views: 106,215     Bookmarked: 37   Downloaded: 2,067
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: 73,547     Bookmarked: 45   Downloaded: 762
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: 223,997     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: 116,372     Bookmarked: 38   Downloaded: 1,421
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: 141,835     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: 75,872     Bookmarked: 11   Downloaded: 1,028
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: 56,833     Bookmarked: 29   Downloaded: 541
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: 32,341     Bookmarked: 12   Downloaded: 153
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: 216,114     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: 204,495     Bookmarked: 44   Downloaded: 1,334
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: 177,289     Bookmarked: 174   Downloaded: 3,998
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: 128,607     Bookmarked: 71   Downloaded: 1,498
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: 45,182     Bookmarked: 24   Downloaded: 1,375
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: 62,132     Bookmarked: 41   Downloaded: 883
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: 46,371     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: 150,419     Bookmarked: 71   Downloaded: 3,866
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.94/5    Votes: 58   Popularity: 8.60
Licence: CPOL    Views: 96,961     Bookmarked: 58   Downloaded: 2,800
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: 7,441     Bookmarked: 11   Downloaded: 185
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: 2   Popularity: 1.51
Licence: CPOL    Views: 9,541     Bookmarked: 9   Downloaded: 205
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: 6,021     Bookmarked: 10   Downloaded: 205
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: 12,171     Bookmarked: 13   Downloaded: 277
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: 41,706     Bookmarked: 14   Downloaded: 998
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: 75,705     Bookmarked: 40   Downloaded: 1,430
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: 46,009     Bookmarked: 29   Downloaded: 1,289
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: 65,458     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: 8,912     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: 23,170     Bookmarked: 29   Downloaded: 421
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: 64,371     Bookmarked: 45   Downloaded: 695
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: 87,153     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: 112,433     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: 379,319     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: 320,404     Bookmarked: 296   Downloaded: 15,070
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: 161,572     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: 31,304     Bookmarked: 19   Downloaded: 886
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: 137,539     Bookmarked: 95   Downloaded: 784
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: 188,979     Bookmarked: 142   Downloaded: 5,296
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: 95,956     Bookmarked: 53   Downloaded: 2,140
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: 44,304     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,793     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: 28,041     Bookmarked: 24   Downloaded: 815
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: 181,317     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: 77,172     Bookmarked: 43   Downloaded: 1,437
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: 57,790     Bookmarked: 29   Downloaded: 235
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: 71,260     Bookmarked: 46   Downloaded: 638
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: 7,181     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: 36,894     Bookmarked: 25   Downloaded: 912
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: 80,347     Bookmarked: 38   Downloaded: 389
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: 72,677     Bookmarked: 84   Downloaded: 722
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: 209,422     Bookmarked: 310   Downloaded: 3,290
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: 329,628     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: 172,862     Bookmarked: 55   Downloaded: 1,611
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,875     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: 69,475     Bookmarked: 94   Downloaded: 652
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: 48,234     Bookmarked: 24   Downloaded: 684
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: 40,343     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: 64,154     Bookmarked: 27   Downloaded: 503
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: 167,984     Bookmarked: 49   Downloaded: 1,461
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: 145,304     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: 97,518     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: 59,842     Bookmarked: 29   Downloaded: 734
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,813     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: 87,062     Bookmarked: 43   Downloaded: 429
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: 12,614     Bookmarked: 7   Downloaded: 102
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: 79,266     Bookmarked: 106   Downloaded: 3,551
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: 110,282     Bookmarked: 79   Downloaded: 3,327
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: 41,453     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: 34,920     Bookmarked: 55   Downloaded: 910
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: 80,295     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: 20,950     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,951     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: 20,093     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: 14,141     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: 25,320     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: 10,070     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: 6,030     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,940     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,930     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,531     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: 86,620     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: 58,971     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: 53,197     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,973     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: 36,321     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,500     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,771     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,990     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: 49,379     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,392     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: 18,060     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,541     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: 47,257     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: 11,030     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: 23,480     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,801     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: 16,651     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: 30,233     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,590     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,990     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,710     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: 22,351     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: 22,970     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,470     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: 29,242     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,710     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: 11,152     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: 14,290     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: 45,351     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,532     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,552     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,923     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: 32,864     Bookmarked: 7   Downloaded: 314
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: 9,180     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,991     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: 32,754     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,841     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,771     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: 35,441     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: 18,301     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: 22,392     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: 65,883     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,941     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: 22,402     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: 37,861     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: 33,201     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: 41,543     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,922     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: 38,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: 18,431     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,453     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: 27,557     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: 34,404     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: 15,324     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,192     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: 35,210     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: 96,178     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: 17,540     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: 11,100     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,820     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: 40,573     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: 51,667     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,990     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,820     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: 27,625     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: 11,442     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: 36,893     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,991     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: 21,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: 36,201     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: 8,300     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,231     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: 16,120     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,540     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,991     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: 17,021     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.