Welcome to AddressOf.com Sign in | Join | Help

Downloadable Samples

Windows Forms (VB2005): DiamondDash - Boulderdash Clone

The goal of the game is to collect a given number of diamonds and exit the level without getting hit by stones or ghosts.  The status line tells you the level, number of lives, diamonds you collected and how many you need to collect.  But more importantly, you can use this as a starting point for creating your own tile based level oriented game and learn a few things about VB 2005 in the process.

[announcement] [article] [download]

Visual Studio: Macro - Reload Current Document (Snippet Color Work-around)

This macro will automatically retain your current cursor position (current document), save the file, close the file, open the file and place your cursor back to it's previously stored location.  This is a work around with the Snippet feature in VB 2005 keeping the coloring around seemingly forever (or at least until you close and open the file). 

[announcement] [article] [download]

Visual Studio: Macro - Format Code to HTML

Using this macro, mark the code you want to paste into your blog and press the toolbar button (or associated hotkey) then switch to your blog entry tool and paste.  This Visual Studio .NET macro to automates the process of converting source code to a format that you can post to a blog (or any other webpage) by leveraging Microsoft Word's HTML features.  This process will create the “clean“ version of HTML, not the default HTML that Word produces - a feature that many people might not be aware of.

[announcement] [article] [download]

Windows Forms: CoCo Draw Returns - Travel back in time... 20 years or so.

After reading through some old magazines... I was reminded of a form of drawing used on the Color Computer during the mid-80's.  I figured, as a nice diversion, that it'd be kind of cool to resurrect this using .NET.  Useful?  Not really sure, but it was a fun diversion. ;-)

[announcement] [article] [download]

Windows Forms: Checkers Solitaire

An original game by Cory Smith inspired by a game written circa 1978 by David H. Ahl.

[announcement] [article] [download]

Windows Forms: Solitaire

First it was a C/C++ application that ships with Windows.  Then it was in C#.  Now it's in VB.NET!  Please read the announcement for more information.

[announcement] [article] [download]

Windows Forms: Disable the Close Button

This article (and code) answers how to disable the close button without having to remove the system menu, minimize and maximize buttons.

[announcement] [article] [download]

Windows Forms: Microsoft Research TreeMap Explorer

Looking for an interesting way to view your hard drive usage, then look no further.

[announcement] [article] [download]

Windows Forms: Developing Owner Drawn User Controls - Part 1 (TransPanel)

Part 1 of a collection of walkthroughs that details the creation of several user controls that follow a theme.  The them being semi-transparent controls that allow you to set the opacity level (similar in look to the Windows Media Center Edition application).  However, instead of just showing you how to create the component, I hope to show the actual process of creating user controls from scratch which also includes the trial and errors occuring along the way and possible design changes during their evolution.

[announcement] [article] [download]

Windows Forms: Developing Owner Drawn User Controls - Part 2 (TransLabel and TransPanel's Revenge)

Part 2 in a continuing series on developing custom owner drawn controls.  In this installment, you will be developing a custom label control and improving upon the TransPanel control.

[announcement] [article] [download]

Windows Forms: TreeView, ListView, Drag/Drop and Command Pattern

Demonstrates using the TreeView and ListView utilizing drag and drop behavior.  Mimics the hover behavior found in most Microsoft products using a TreeView.  Efficient loading the the folder heirarchy.  Demonstrates using the Command Pattern for menu and keyboard actions.

[announcement] [article] [download]

Windows Forms: Coding 4 Fun - Building a Drum Machine with DirectSound

A port to VB.NET of the drum machine sample.

[announcement] [article] [download]

Windows Forms: Creating a Reusable Exception Dialog for .NET Applications

Code for Jason Bock's reusable exception dialog article to ported to VB.NET.

[announcement] [article] [download]

P/Invoke: Revenge of DriveInfo

A stronger, faster and more powerful version of DriveInfo using P/Invoke.

[announcement] [article] [download]

WMI: ComputerInfo (Expansion of DriveInfo)

Demonstrates using WMI to determine various computer specific data such as cpu, motherboard, bios and hard drive information.

[announcement] [article] [download]

WMI: DriveInfo

Demonstrates using WMI to determine various hard drive information including drive model, type and manufacturer serial number.

[announcement] [article] [download]

Console: Control Your Console (ConsoleColor Take 2)

In the first round, you learned how to take control of the colors within the console window.  Well, now you can clear the screen, change the title of the window, manipulate the cursor position, determine the size of the console, etc.  The included test application shows how to utilize a few of the extensions that ConsoleEx provide such as determining if the window hasn't been scrolled, updating a time display in the upper right hand corner using a timer while prompting the user for a password, center text on a line and run through all the combinations of the forground and background colors available.

[announcement] [article] [download]

Console: Color Your Console

Have you ever wanted to (or even knew that you could) change the color of the console output?  Well, here's how you can do so!

[announcement] [article] [download]

CodeSmith: ArrayList Template for VB.NET

A template for generating a strongly-typed ArrayList collection for VB.NET.

[announcement] [article] [download]

Published Thursday, March 31, 2005 1:09 AM by CorySmith

Comments

No Comments

Anonymous comments are disabled