The first line of code is the hardest. Where to start?
Our mission here is RAD. Rapid Development. To that end, without much discussion, you'll find below the first code that you'll need to write a VSTools modification. The sample code is on the PM Vendor Maintenance window, but any window will do.