ArtinSoft's Blogs

Software Migration Experts
Welcome to ArtinSoft's Blogs Sign in | Join | Help
in Search

The Myth of Visual Basic Migration / Upgrade

The myths about Visual Basic migration make it easy to play the “blame” game instead of trying to understand the issue. Often, in making the wrong assumptions, we “write off” some alternatives without even considering them. However, with training, support from automatic migration products and the use of a comprehensive migration methodology, the migration is not only possible using a fraction of the resources required for a rewrite, but it is also the right choice to reduce the Total Cost of Operation and prepare applications to maximize their future business value.

Microsoft improves compatibility libraries for VB 6.0: Visual Basic 2005 Power Packs 2.0

Microsoft recently started to distribute a new version of the Visual Basic 2005 Power Packs. 

Link to Download details: Microsoft Visual Basic 2005 Power Packs 2.0

Notably, the routines that are included help with the automatic Upgrade/Migration of VB6 to .NET.  From the MSDN web site:

 

" Overview

The new Line and Shape controls included in this version of the Visual Basic 2005 Power Packs are a set of three graphical controls that enable you to draw lines, ovals, and rectangles on forms and containers at design time making it much easier to enhance the look of your user interface. These new shape controls also provide events such as click and double-click allowing developers to respond and interact with end users.
The Printer Compatibility Library allows projects that used the Printer and Printers Collection in Visual Basic 6.0 to be upgraded without having to re-write your printing logic. By simply adding a reference to the library, declaring a Printer and making a few minor syntax changes, your project will be able to print using the Printers collection and Printer object as it did in Visual Basic 6.0. This version adds a new Write method to the Printer object which allows you to print text without a forced carriage return similar to the semicolon syntax used by Print method in Visual Basic 6.0.
The PrintForm component is designed to bring back the ability to easily print a Windows Form. With this the new PrintForm component you can once again layout the Windows Form exactly as you want it and allow your users to print the form as a quick report."

 

I'd like to relate this post with the one I did a few days ago related to performance (http://blogs.artinsoft.net/fzoufaly/archive/2007/0... ).  In the previous post I was arguing about the use of the VB6 Compat library from .NET applications.  Basically, I was arguing that the VB Compatibility library is written and distributed by Microsoft and therefore users should not be afraid to use it in their programs.  TThe same goes with the power pack Microsoft is now releasing.  The power pack contains a number of functions that are not directly addressed by the basic .NET framework but that are widely used and requested by VB programmers.  So what is the right solution?  Well, program them in .NET!!!  I mean, is there another way to provide functionality that is not by programming it?  Again, don't be afraid of using these routines more than you would be of any control you use in your app.  And also, do not worry about the performance hit!!

Comments

No Comments

Leave a Comment

(required) 
(optional)
(required) 
Submit

About Fzoufaly

Federico—ArtinSoft co-founder—holds a PhDC in Computer Science from the University of Florida, and a Master's degree in Computer Science and an honors Licentiate degree in Electronics Engineering from the Costa Rican Institute of Technology (ITCR). Federico has been a faculty member of both the ITCR Computer Science Department and the University of Florida. He is currently the Executive Vice President in charge of operations at ArtinSoft. Previously, he was vice president of ZIPTEK Inc., a technology-based company that offers consultancy services in automation networks. In 1993, the year he co-founded ArtinSoft, he won the National Electronics Award in the Research Category, awarded by the Costa Rican Federated College of Engineers and Architects. Federico has had an active participation in several local electronic and computer research projects. He is a founding member of the Costa Rican Association of Electronics Engineers and has served as a member of its Board of Directors since 1992, holding its Presidency on two occasions. He is also member of the Association for Computing Machines, the IEEE, as well as an active member of the College of Technological Engineers. Currently Federico is doing Product Management for ArtinSoft's newest line of business: Aggiorno: www.aggiorno.com

This Blog

Syndication

News

Myth: "Visual Basic Migrations are not worth it." Current Status: BUSTED! Summary: Visual Basic Upgrade/Migrations are the most cost effective and less risky approach to evolve your code and take full advantage of .NET. The process to upgrade is not trivial, but THERE IS a process that can be followed and guarantees success.
Powered by Community Server (Non-Commercial Edition), by Telligent Systems