Posts Tagged ".NET Programming"

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 ...

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 ...

Partial Classes and Methods – A Bit Ri dicu lous

The idea of a partial class was an idea brought on by Microsoft in the .NET framework awhile ago and ever since then I have seen very little use of them. However, I am sure they are around alive and well in more complex production code. I for one am not a huge fan of the idea of splitting a class over multiple files just for maintenance reasons, but I ...