General Discussion

Topics that talk about general programming principles

Storing Full Objects In ComboBox/ListBox in .NET

Most beginner and even intermediate level programmers, coming out of languages before .NET, often use comboboxes or listboxes to simply list strings of choices, items etc. Then they go through the headache of detecting a user's choice out of the listbox and fetch information to construct a simple object, possibly displaying that information in other controls related close by. There is an easier way of forming the "master to detail" ...

Intro to A Regular Expression, a CSV Story

Regular expressions... sounds like a complicated term doesn't it? You better believe that when I drop the term at an office dinner party, others either immediately tune out or start saying "Oh hey so and so, good to see you" and then walk off pretending to say hi. Little do they know that the idea behind regular expressions is pretty simple and can actually make their lives easier. But hey, ...

Timezone Arithmetic With Classic ASP

As a casual reader of my blog, you may know I like to do an occasionally weird post that I stick in my "General Discussion" category just for kicks. I figure that programming doesn't always have to be a chore. It can be fun if you want it to, playing around with certain features. In this entry I play around with time zones and how you can find out a ...

DIC Power Inc. – Where We Wire Up Controls in .NET

Every morning at the crack of dawn Skyhawk133 gets up to the sounds of the rooster crowing and puts on a pot of coffee. He has just enough time to take a shower and grab a quick bite before he is off to the Dream.In.Code (DIC) Power company to start the day of powering the worlds programming ideologists. The work day starts as normal where the DIC electricians and programming ...

Simple/Basic Password Generation in PHP

Once in awhile every great programmer just needs a little snippet to get the project moving forward. One great snippet that is really useful is one for generating unique passwords. You could use something like this for assigning a generic password to an account (perhaps for a PHP game) that the user then logins with and changes their password or simply for resetting passwords (like in a forgot password feature). ...

C++ or C#, In the End Does It Even Matter?

This debate rages on and on and really appears to have no end in sight. Everyone tackles this long winded discussion from a different angle and it even gets into verbal attacks between parties. Some quoting one source while another quoting another source when really people have lost the overall picture that programming is meant to solve... providing a solution to a problem. Some languages work better on certain problems ...