Click here to Skip to main content

Articles by newkie (Technical Blogs: 23)

Technical Blogs: 23

RSS Feed
No articles have been posted.

Average blogs rating: 4.66

Dialogs and Windows
Dialogs
Posted: 31 Mar 2011   Updated: 2 Apr 2011   Views: 6,999   Rating: 0.0 / 5    Votes: 0   Popularity: 0.0
Licence: The Code Project Open License (CPOL)      Bookmarked: 4   Downloaded: 0
This is a short one, there may be better ways but this was fast and simple.  Works for me! The case here is I have a WinForm application and want the Main window to start hidden.  From the designer, you can’t set Visisble = false.  Also, setting this.Visible=false in the constructor or Load ev
General
Posted: 31 Mar 2011   Updated: 2 Apr 2011   Views: 6,408   Rating: 5.00/5    Votes: 2   Popularity: 1.51
Licence: The Code Project Open License (CPOL)      Bookmarked: 5   Downloaded: 0
Back in the heady days of MFC men were men; toiling away in C++ and writing hundreds of lines to do things which are now ludicrously simple.  However, we had a trick up our sleeves which doesn’t exist in today’s plastic fantastic .NET: AfxGetMainWnd() and AfxGetApp() were two fantastic macros we cou
Grid & Data Controls
General
Posted: 23 Dec 2013   Updated: 24 Dec 2013   Views: 2,958   Rating: 4.86/5    Votes: 3   Popularity: 2.39
Licence: The Code Project Open License (CPOL)      Bookmarked: 3   Downloaded: 0
Anyone who has written enterprise software often knows an ideal design and a linear code path are not too common. Even if you are the architect of your application that doesn’t save you from the hoops you must jump through to connect and interact with other systems in your enterprise’s e
ASP.NET
General
Posted: 24 Oct 2011   Updated: 24 Oct 2011   Views: 12,747   Rating: 5.00/5    Votes: 1   Popularity: 0.00
Licence: The Code Project Open License (CPOL)      Bookmarked: 7   Downloaded: 0
Recursive DFS, BFS, and Leaf to Root search with pruning.
ASP.NET Controls
General
Posted: 31 Mar 2011   Updated: 2 Apr 2011   Views: 9,039   Rating: 4.00/5    Votes: 1   Popularity: 0.00
Licence: The Code Project Open License (CPOL)      Bookmarked: 6   Downloaded: 0
  Recently I was tasked with merging 3 similar screens in to one.  I took stock of the commonalities and decided a Category and Subcategory dropdown list would suffice.   As you’d expect the contents of the Subcategory dropdown depend on the selected Category.  Obviously I wanted to avoid postbacks
Grid Controls
Posted: 30 Mar 2011   Updated: 30 Mar 2011   Views: 9,795   Rating: 5.00/5    Votes: 1   Popularity: 0.00
Licence: The Code Project Open License (CPOL)      Bookmarked: 3   Downloaded: 0
How to solve the issue of lost data in Repeaters on postback.
Client side scripting
General
Posted: 8 Aug 2011   Updated: 8 Aug 2011   Views: 11,404   Rating: 4.00/5    Votes: 1   Popularity: 0.00
Licence: The Code Project Open License (CPOL)      Bookmarked: 6   Downloaded: 0
Clean up the script hell in your projects.
Posted: 14 Jan 2012   Updated: 16 Jan 2012   Views: 17,319   Rating: 4.00/5    Votes: 1   Popularity: 0.00
Licence: The Code Project Open License (CPOL)      Bookmarked: 4   Downloaded: 0
Pass javascript arguments from codebehind to script the easy way!
Custom Controls
General
Posted: 31 Mar 2011   Updated: 31 Mar 2011   Views: 6,248   Rating: 0.0 / 5    Votes: 0   Popularity: 0.0
Licence: The Code Project Open License (CPOL)      Bookmarked: 3   Downloaded: 0
Composite controls can be tricky. If they aren’t set up just right, even the most basic example won’t work properly.
Site & Server Management
General
Posted: 21 Nov 2012   Updated: 21 Nov 2012   Views: 4,927   Rating: 5.00/5    Votes: 3   Popularity: 2.39
Licence: The Code Project Open License (CPOL)      Bookmarked: 7   Downloaded: 0
I was fortunate enough to have the opportunity to attend the Software Architect Conference this year in London.  This is the same group which puts on DevWeek.  It was short and sweet, just 2 days without the additional sessions before and after.  Often with the daily grind you simply don’t hav
Validation
Validation Controls
Posted: 31 Mar 2011   Updated: 31 Mar 2011   Views: 7,843   Rating: 0.0 / 5    Votes: 0   Popularity: 0.0
Licence: The Code Project Open License (CPOL)      Bookmarked: 2   Downloaded: 0
How to change background color of invalid controls using ASP.NET Validator.
Web Security
General
Posted: 30 Mar 2011   Updated: 30 Mar 2011   Views: 15,501   Rating: 4.00/5    Votes: 2   Popularity: 1.20
Licence: The Code Project Open License (CPOL)      Bookmarked: 6   Downloaded: 0
Programmatically unlock a user.
Posted: 30 Mar 2011   Updated: 30 Mar 2011   Views: 19,335   Rating: 4.63/5    Votes: 5   Popularity: 2.97
Licence: The Code Project Open License (CPOL)      Bookmarked: 3   Downloaded: 0
Windows authentication in ASP.NET by group.
Web Services
General
Posted: 6 Dec 2012   Updated: 6 Dec 2012   Views: 3,656   Rating: 0.0 / 5    Votes: 0   Popularity: 0.0
Licence: The Code Project Open License (CPOL)      Bookmarked: 1   Downloaded: 0
You may have found this post if you were searching for: HTTP 400 Bad Request web service Response is not well-formed XML web service System.Xml.XmlException: Root element is missing web service SoapExtension impacting all web services
Audio and Video
Audio
Posted: 30 Mar 2011   Updated: 30 Mar 2011   Views: 10,214   Rating: 0.0 / 5    Votes: 0   Popularity: 0.0
Licence: The Code Project Open License (CPOL)      Bookmarked: 1   Downloaded: 0
Using PlaySound with PInvoke.
C#
Delegates and Events
Posted: 30 Mar 2011   Updated: 2 Apr 2011   Views: 4,435   Rating: 0.0 / 5    Votes: 0   Popularity: 0.0
Licence: The Code Project Open License (CPOL)      Bookmarked: 6   Downloaded: 0
Delegates are deceptively great.  Without them something as simple as the OnClick event of a button would cease to work.  In a nutshell, they offer a simple way to pass a function as a parameter which in turn can be invoked anywhere, anytime.  Pointers for functions, very useful! In .NET v2.0 the an
General
Posted: 31 Mar 2011   Updated: 31 Mar 2011   Views: 7,955   Rating: 5.00/5    Votes: 2   Popularity: 1.51
Licence: The Code Project Open License (CPOL)      Bookmarked: 6   Downloaded: 0
A list of C# snippets in VS2008.
Posted: 12 Jul 2011   Updated: 12 Jul 2011   Views: 10,694   Rating: 4.00/5    Votes: 3   Popularity: 1.91
Licence: The Code Project Open License (CPOL)      Bookmarked: 5   Downloaded: 0
Using a custom attribute to contain a resource key.
Posted: 19 Jan 2012   Updated: 25 Jan 2012   Views: 15,359   Rating: 5.00/5    Votes: 1   Popularity: 0.00
Licence: The Code Project Open License (CPOL)      Bookmarked: 1   Downloaded: 0
Useful extensions to play safe.
Posted: 1 Oct 2013   Updated: 1 Oct 2013   Views: 5,496   Rating: 5.00/5    Votes: 2   Popularity: 1.51
Licence: The Code Project Open License (CPOL)      Bookmarked: 5   Downloaded: 0
With the dynamic keyword C# is one step ahead of me allowing a future of amazing code determined by an unlimited number of factors at runtime.
Macros and Add-ins
VS.NET Macros
Posted: 31 Mar 2011   Updated: 2 Apr 2011   Views: 5,528   Rating: 5.00/5    Votes: 1   Popularity: 0.00
Licence: The Code Project Open License (CPOL)      Bookmarked: 2   Downloaded: 0
I never knew I needed this until I saw it was a feature in a ReSharper demo.  After a quick search and I found a macro that has been around for years.  Slap to the head!  The amount of time I spend collapsing all my solution folders and this existed the whole time! I never [...]
Threads, Processes & IPC
Threads
Posted: 29 Mar 2011   Updated: 30 Mar 2011   Views: 4,536   Rating: 0.0 / 5    Votes: 0   Popularity: 0.0
Licence: The Code Project Open License (CPOL)      Bookmarked: 2   Downloaded: 0
Understanding BackgroundWorker threads and how to encapsulate your own thread class.
Uncategorised Technical Blogs
General
Posted: 17 May 2013   Updated: 17 May 2013   Views: 3,781   Rating: 5.00/5    Votes: 2   Popularity: 1.51
Licence: The Code Project Open License (CPOL)      Bookmarked: 1   Downloaded: 0
Copy and paste formatting with Visual Studio's dark theme
No tips have been posted.
No reference articles have been posted.

newkie
Software Developer (Senior) Storm Technology Ltd.
Ireland Ireland
Formerly a C++ client developer, nowadays I’m all about C# and ASP.NET. I work for a consulting firm which specializes in .NET technologies. Over the years I have mastered some and played with many aspects of .NET.
 
Follow my blog as I catalogue the more arcane problems I encounter and their solutions at CodingLifestyle.com


Advertise | Privacy | Mobile
Web03 | 2.8.140421.2 | Last Updated 24 Apr 2014
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Use
Layout: fixed | fluid