geri's blog

Just a short one about Copyright

About 8 years ago I torrented my first version of visual studio 6.0 - simply had no money to buy one; barely had money to buy my own beer. Copyright law would say I'm practically a thief. Since then I became a Microsoft Certified Professional Developer and spent the last 6 years with planning, leading and developing great software projects using legal Microsoft technologies.

10 things you should know about .Net - Part 1: Threading

Actually it’s ten things you must know about .Net, but that sounds a bit pushy. This is not a "12 steps to better code" collection, we’ll be clearing up a lot common misconceptions about the .Net programming in general.

The Synchronized Dictionary<TKey, TValue>

It’s been a while since my last post. I’ve got ported to web development, language changed to C#, and although switching from thick client to web apps is like learning to walk again I think I’m starting to like it. But let’s get started.

Sortable Binding List for custom data objects

I was writing a thin client application where I had to implement some efficiency-oriented business logic, and encountered the problem, that the generic collection of custom data objects can’t be sorted in the DataGridView by simply clicking on the column headers. I started to google up solutions, but either they were for ASP, or they were incomplete, some of them were not usable at all.

The illegal cross-thread call

Occurrence

This error is indicated by the following exception message: "Cross-thread operation not valid: Control 'AnyControl' accessed from a thread other than the thread it was created on."

Singleton Object Pattern with generic sauce, mutex protection and chips

Ever got tired of rewriting the same 10-15 lines of Singleton Object implementation code for each class U use it? Met the flexibility of the inherited static member variables, sparks of the overridable static methods?

Syndicate content