.NET Programming

Articles related to .NET programming topics

Creating Graphical Clocks in VB.NET

Someone on the board the other day had me thinking about graphical clock displays. Displaying something like the current time or maybe the time remaining of a song or even a general counter. Sure we can create these things using standard text, but what about nifty pictures? With this example we are going to show below, we could theoretically make counters that show wingdings, clocks displaying the time in binary ...

Threads, ProgressBar, and File Processing in C#

We have had a few questions on the board in recent times asking about the best way to show the progress of a long running process; such as file reading of a HUGE file. If you have a file with tens or hundreds of thousands of lines, or datasets which may have millions of records, it is going to take some time to process. It is fine that it takes ...

Dialogs and Copying Files in VB.NET

Commercial: Are those old Dialogs and Files in your cupboard collecting dust? Are you tired of having to take them out, trying to use them, only to spill code all over your beautiful new sweater? Are your kids crying and telling you that you need to move those files to another part of the house so that they can play with their toys in a safe and healthy environment? Well ...

Find High / Low Value in Array (Definitive Series)

Welcome to another kick ass entry of the Programming Underground. On today's entry we explore a basic way to find the high and low values in an array as part of our Definitive Series. For those of you who are not familiar with my Definitive Series, it is the exploration of a concept and examples provided for 5 major languages (C++/C#/VB.NET/Java/PHP). Doing a search on my blog will also uncover ...

Playing with a ToolStrip Control in C#

Ready for another action packed, fun thrilled entry? In this episode we talk about the Toolstrip control and creating one dynamically through code. Sure we can add one through the toolbox and configure it at design time, but knowing how to create controls and manipulate them at runtime is also great practice. You might be asked many times to create a control and then have it update its appearance as ...

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