Microsoft Visual Basic Corner

How I Learned to Stop Worrying and Love Visual Studio Team Services

Tue, 16 Jan 2018 14:29:00 GMT

After suffering the consequences of accidentally turning off his firewall for a month and then experiencing a catastrophic workstation failure that took out both of his mirrored hard disks, Tim Patrick gained a new appreciation for online code repositories. He adopted VSTS and won't be looking back.

Replace a Running Application with a New Version

Fri, 15 Dec 2017 12:06:00 GMT

One situation that can prevent a successful file transfer is when the destination file is, in fact, the program that's doing the copying. Here's how to work around such problems.

OOP Code Focus: Clone a Derived Instance from a Base Object

Tue, 28 Nov 2017 17:51:00 GMT

OOP is a special kind of animal, says Tim Patrick, who shows how to put one of its core principles, encapsulation, to work while coding constructors for base and derived classes.

Storing Configuration Data in the Windows Registry Playground

Thu, 16 Nov 2017 12:15:00 GMT

Today, application settings are more likely to appear in local XML files, but the Windows Registry and its hives of key/value pairs can also be used. The good news is that interacting with the Registry is straightforward, as Tim shows you here.

Hide Compiler Warnings in Your Spare Time

Mon, 09 Oct 2017 15:51:00 GMT

Learn how to keep new code-style warnings from filling up your formerly pristine Visual Studio Error List panel.

Extracting Data with Regular Expressions

Tue, 26 Sep 2017 19:00:00 GMT

Regular expressions give Tim Patrick the creeps, but he overcame his fears by discovering specially crafted regex patterns can access data in a way that’s actually kind of cool.

Windows Forms: Don't Skimp on the Caps Lock Warning

Tue, 22 Aug 2017 17:45:00 GMT

If you've ever worked in an enterprise environment and fielded calls from employees unable to get into their accounts due to a depressed Caps Lock key, you know how essential the following tweak to your code can be.