![]() ![]() |
|
|
|
|
Cut and Paste Code With EaseVisual
Basic Programmers Journal Object Briefcase 2.0b SevenStar Technologies By Rod Stephens SevenStar Technologies Object Briefcase allows you to cut and paste Visual Basic source code from one application into another, and to bundle event handlers, subroutines, functions, and even controls themselves into a single package that you can then paste into a different project. Although cutting and pasting might seem like trivial tasks, Object Briefcase elevates them to the point where you can build a meaningful code repository. With Object Briefcase you can wrap code and controls into a package that you can later paste into other projects. You can use "briefcases"* to group related packages. For instance, the product comes with standard briefcases* containing code for working with buttons, databases, images, strings, and so forth. In packaged** code, you can include standard or customized "IntelliPaste" parameters. Object Briefcase replaces these parameters automatically when the package** is pasted into a program. Standard parameters represent items such as the current date, your name or initials, the name of the procedure, and the name of the related control if the code is an event handler. The program replaces customized IntelliPaste parameters with values specified by you when you paste the code. When Object Briefcase encounters a customized parameter, it prompts you for the value. You can use IntelliPaste parameters to create simple code wizards. Object Briefcase's "VB Code Wizards" briefcase* features several examples, including one that adds a property to a class or form, and another that creates a new collection class. Using similar methods you can provide customizable sort routines, scrolled windows, and standardized access to API functions. You can even create tailor-made access routines for complex data structures such as hash tables and balanced trees. Object Briefcase is not the slick product of a billion dollar company, nor is it priced as one. It definitely has a few rough edges. One serious problem with Object Briefcase is that doesnt run under Windows NT***. SevenStar expects the next release, due sometime before November, will correct this problem. The product's biggest drawback by far is its inability to support Visual Basic 5. If you have worked with add-in code yourself, you know why. Visual Basic 4*** and Visual Basic 5 give add-ins very different forms of access to the integrated development environment (IDE). There lies both SevenStar's promise and problem. Visual Basic 5 allows much greater access to source code. Object Briefcase makes code reuse and sharing easier. The first time it helps standardize your team's coding practices, allows one programmer to reuse another's sorting routines, or stops one developer from reinventing scrolled windows, it will have more than paid for itself. At $54, Object Briefcase is a good value for the money. Rod Stephens is president of Rocky Mountain Computer Consulting, Inc., a custom software firm in Boulder, Colorado. He is the author of "Visual Basic Algorithms", "Visual Basic Graphic Programming", and "Advanced Visual Basic Techniques" from John Wiley & Sons, Inc. Reach him at RodStephens@CompuServe.com, or on the Web at http://ourworld.compuserve.com/homepages/RodStephens.
|
|
Do you have questions about or problems
with our web site? Mail the
WebMaster. |