June 1, 2005

VB Paradigm Shift

ver the last few months, the blogosphere has been waging a battle for continued development and support for VB6. This battle reached its crescendo a few weeks before Microsoft’s schedule to end mainstream VB6 support, currently March 31, 2005. Microsoft re-affirmed that mainstream support would conclude in March, but because

Heard on .NET Rocks!: Managing Geographical Data with World Wind

am the host of “.NET Rocks”, an Internet audio talk show for .NET developers online at www.dotnetrocks.com and msdn.microsoft.com/dotnetrocks. My co-host Richard Campbell and I interview the movers and shakers in the .NET community. We now have over 100 shows archived online, and we broadcast a new show live toward

Hide System Tables and Objects in MS SQL Enterprise Manager

Default system tables and stored procedures are visible along with user-defined ones in MS SQL Enterprise Manager. This is fairly inconvenient when you’re trying to walk thorugh your own tables and stored procedures. To hide these system objects, try the following: Right click on the “(Local)(WindowsNT)” in the Enterprise Manager.

Use JavaScript to Scale an Image According to Window Size

Sometimes you need to resize an image according to the window’s size. You can do this by setting the image width and height as 100 percent inside the tag. IE then resizes the image according to the window’s size. You can also do this with JavaScript, using document.body.clientWidth and document.body.clientHeight.

Are We There Yet?

dmit it. You’re dying to know. How did the cross-country move, with four cats on a packed American Airlines Luxury Liner (if ever there was a misnomer, that’s it) go, you’re wondering? The short version of the story is that we all survived. The longer version of the story is,

Capturing the ESCAPE Key Event

Consider a scenario where a dialog is launched from a panel which itself was launched by another panel. It’s very tedious to get the dialog disposed when the ESCAPE key is pressed. The code segment below makes it easy to capture the ESCAPE key event, irrespective of the hierarchy, and

Am I a Mad Scientist?

o you want to save keystrokes? Do you want to ease maintenance? Do you want inline information about the code structures that you’re working with? How about statement completion? Are you interested in increasing the potential for code reuse? Do you want your applications to run faster and require less

Problem Instantiating a Class Instance in Its Own Constructor

Assigning a data member with another member of the same class in the member intialization list results in this: class test{ public: test (int y) : j (y), i(j) { } private: int i; int j;}; The compiler generates an internal code for your written code: test (int y){ i