Category: Programming

Custom Windows Forms localization

Recently while working on a customer project I had a request to provide ability to enable the end user to customize the labels and captions on Form(s) and UserControl(s). In general this is not a hard thing to achieve but

Posted in .NET, Programming Tagged with: , , , ,

Using full observer pattern instead of events

Note: I have transferred this blog from my old blog site: http://dcarapic.blogspot.com/ so I am reposting most of the stuff from there Wikipedia (at the time of this writing) defines Observer pattern as following: The Observer pattern (a subset of

Posted in Programming Tagged with: ,

Generic PL/SQL procedure to update target table data with source table data

Note: I have transferred this blog from my old blog site: http://dcarapic.blogspot.com/ so I am reposting most of the stuff from there Sometimes you might need to update data inside a table with fresh data from another table which has

Posted in Database, Programming Tagged with:

Using regular expression search/replace in Visual Studio

Note: I have transferred this blog from my old blog site: http://dcarapic.blogspot.com/ so I am reposting most of the stuff from there In the previous post I have shown you how to do search/replace using .NET Regex. Visual Studio ‘Find

Posted in Programming Tagged with:

Using System.Text.RegularExpressions.Regex to do search/replace

Note: I have transferred this blog from my old blog site: http://dcarapic.blogspot.com/ so I am reposting most of the stuff from there Google returns ~21.000.000 results (at the time of this writing) if you do a search for ‘regular expressions’

Posted in .NET, Programming Tagged with: ,

Creating semi-automated database update scripts for Oracle

Note: I have transferred this blog from my old blog site: http://dcarapic.blogspot.com/ so I am reposting most of the stuff from there If you have ever created applications that use a database to store data you must have run into

Posted in Database, Programming Tagged with:

Using “hole in the middle” pattern with methods to insure pre and post processing

Note: I have transferred this blog from my old blog site: http://dcarapic.blogspot.com/ so I am reposting most of the stuff from there Sometimes it is important to do processing before and after executing a piece of code (or a function).

Posted in Programming Tagged with: , , ,