background preloader

VB

Facebook Twitter

BookmarkSave Addin for VB6 — Visual Basic Feng Shui. EDIT: I’ve finally gotten around to publishing the source for this addin on CodePlex. EDIT 7/25/2012: I’ve just updated the addin (see the ZIP download below) to correct a problem that can occur if you have several projects loaded in a group, and have files of the same name loaded in each project, AND you set bookmarks or breakpoints in those files. In that case, the breakpoints/bookmarks can end up being restored to the wrong file when you load the group of projects.

This won’t cause any problems in your code, but your bookmarks and breakpoints won’t be restored properly, and you might receive messages saying that “a breakpoint can’t be set on that line”, or something similar. Just download the latest version, unzip it and copy the dll over your existing dll. If first blogged about this addin back here. Ugh! But no more! After quite a bit of teeth-gnashing, along with some very helpful testing comments from Sam (Thank You!) Download the Addin here: Visual basic, vb, vbscript,Free source code for the taking. Over five million lines of programs. Visual Basic 6 - Home. Use interface inheritance by using the Implements keyword. It is in implementing an interface that the real art occurs. In this example, the Car and Truck classes implement IVehicle.

The VehicleBase class provides a default implementation of IVehicle. Car and Truck both use it to handle their shared features. This is sort of like the code that would be in the parent class if this were true inheritance. The VehicleBase class uses the Implements keyword to show that is it implementing the IVehicle interface. After you type the Implements statement, the IDE adds the interface to the left dropdown at the top of the code editor. VehicleBase provides simple default versions of the Drive, Speed, and VehicleType methods defined by the IVehicle interface.

Interes

VSI. Visual Basic 6.0 Downloads.