Posts Tagged ".NET"

A Glance Into Visual Basic 10 – A Discussion

Well we have been playing around with VB.NET 2005/2008 for awhile and even a few additions created with some service packs and it is time for something new to talk about. What is in store for the future and is Microsoft really listening to the developers in the industry? Throughout this entry of the Programming Underground we will talk about some of the features proposed for VB.NET 10 and what ...

Scrolling an Image in C#

On occasion I have seen people asking about making scrolling images. Often times they are asking this question in response to creating their own games to get something like a scrolling background without needing to use a picturebox... which can be pretty bulky. One way to do this is by taking the reigns and controlling the paint event of a control or form. By determining what is drawn and when, ...

Leave My Property VB.NET

A shiny silver gun is drawn and stuck in the back of the perpetrator. "I thought I told you to leave my property. What are you still doing here?" A brief pause and the criminal responds "Leave? I thought you meant implement some properties, so I implemented three of them... a name, an age, and a phone number where you can reach me." Martyr2 becomes puzzled. To get a better ...

Down the Rabbit Hole with C# Serialization

"Whooooo areeeee youuuuu?" No really, who are you and what are you doing on my blog? Oh you are here to read my blog entry on C# serialization to file writing? Fabulous! There may be times where you want to store an object's data from C# to a file for reading later. You can essentially "freeze" the object in time and leave it in a file which later your program ...

Selection Sort (Definitive Series)

In a long standing tradition here on the Programming Underground we are going to add another entry to the definitive series. For those of you who are still relatively new to my blog, the definitive series is a series of blog entries where we take an algorithm and run it through the paces of five different languages: C++/C#/Java/VB.NET/PHP. With the code side by side we can see the similarities as ...

Enumerating Through Dream.In.Code in C#

The year is 2056 and governments have fallen. Anarchy reigns across the land and humanity has plunged into eternal darkness. People have turned on one another to survive and the streets are owned by the ruthless warlords with their armies of n00bs. No one is safe from the plaguing questions of "How do I read a textfile in VB.NET?", "Why won't clrscr work?", or even the dreaded "Anyone know why ...