Anand Vishwanathan

Back
Refresh
Home
Search

HomeAbout MeMusicPhotosProjects
VB Control Conversion Tool
DigiSim v3.0
ArticlesDownloadsGalleryFeedback

Planet Source Code.com

 VB Control Conversion Tool

 

VB Control Conversion Tool (VB CCT) is an application that is designed to identify and replace GUI controls with others. It is developed in Visual Basic 6.0 and can be used on any Visual Basic project. For more information on what are Visual Basic Control Conversion Projects, click here.

View Online Help

VIEW SCREENSHOTS

Introduction:

VB CCT can do the following:

  • Analyze an existing Visual Basic project and identify all the controls used in the forms of the project along with their properties.
  • Replace all controls of a particular type in the forms with another control as specified by the user. This involves the following:
    • Changing the Control Definition of the Form so as to modify the appearance and layout as per the new control
    • Highlight all existing events of the replaced control in the modified code
    • If required, highlight and replace all the properties of the replaced controls in the code files (in the same form as well as in other files)

Features:

VB CCT, to a very large extent, automates the task of identifying and replacing old controls with newer ones. It will prove useful in Visual Basic Conversion Projects where:

  • Existing controls have to be replaced with other (say TextBoxes with Labels, ListBoxes with ComboBoxes, etc.).
  • Older version of an ActiveX control has to be replaced with its newer version. Here the new control may have some new properties, methods or events. Even existing properties, methods or events may be replaced with newer ones.
  • It may be required to replace the ActiveX controls of one vendor with similar controls of another vendor.

In all this, VB CCT can also help with the initial analysis of the existing project. It can list out all the existing controls in the project along with their properties. Using this, the user can the decide what controls have to be used and how the properties, methods and events of the new control map into the existing ones.

Another important feature of VB CCT is that it can, at every stage, generate reports. All reports are saved to HTML files. VB CCT can generate two types of reports:

  • A report listing all the controls in the existing project along with their properties.
  • A report listing in detail, module-wise, all changes made during the course of conversion.

VB CCT provides a user-friendly GUI. It also allows you to do a step-by-step conversion. The user is provided an option of converting the entire project at once or can select individual modules for conversion. All converted files are stored separately. The existing code is never overwritten by VB CCT.

View Online Help

VB CCT has been reviewed in an article titled "Operational Excellence" in Research Update a newsletter of the Product & Technology Initiative division of Patni Computer Systems Ltd.

READ THE ARTICLE

 



Back to Top

Copyright © 2002 - 2009 and onwards, Anand Vishwanathan