Visual Basic.NET
  Home arrow Visual Basic.NET arrow Page 4 - Upgrading Visual Basic 6.0 Applications wi...
ASP Free Forums 
.NET  
ASP  
ASP Code  
ASP.NET  
ASP.NET Code  
BrainDump  
C#  
Code Examples  
Database  
Database Code  
IIS  
Microsoft Access  
MS SQL Server  
Visual Basic.NET  
Windows Scripting  
Windows Security  
XML  
ASP Web Hosting  
ASP.NET Web Hosting 
Dedicated Servers 
Actuate Whitepapers 
VeriSign Whitepapers 
Windows Web Hosting
 
IBM® developerWorks 
Sun Developer Network 
Weekly Newsletter
 
Developer Updates  
Free Website Content 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us Get Paid 
Request Media Kit
Contact Us 
Site Map 
Privacy Policy 
Support 
 USERNAME
 
 PASSWORD
 
 
  >>> SIGN UP!  
  Lost Password? 
VISUAL BASIC.NET

Upgrading Visual Basic 6.0 Applications with Visual Basic .NET 2003
By: Anand Narayanaswamy
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 5 stars5 stars5 stars5 stars5 stars / 20
    2005-12-19

    Table of Contents:
  • Upgrading Visual Basic 6.0 Applications with Visual Basic .NET 2003
  • Getting started
  • Understanding the comments
  • Guidelines for Upgrade

  • Rate this Article: Poor Best 
      ADD THIS ARTICLE TO:
      Del.ici.ous Digg
      Blink Simpy
      Google Spurl
      Y! MyWeb Furl
    Email Me Similar Content When Posted
    Add Developer Shed Article Feed To Your Site
    Email Article To Friend
    Print Version Of Article
    PDF Version Of Article
     
     
    ADVERTISEMENT

    Stay one step ahead of the competition. Evaluate and give feedback on some of the hottest web development tools on the market today. Make your opinion heard! Click Here

    Upgrading Visual Basic 6.0 Applications with Visual Basic .NET 2003 - Guidelines for Upgrade


    (Page 4 of 4 )

    The Visual Basic .NET upgrade wizard does not upgrade all parts of a Visual Basic 6.0 application. You will have to manually update the application if certain features of Visual Basic 6.0 have no equivalent to Visual Basic .NET. Visual Basic .NET does not support the following listed features of Visual Basic 6.0:

    OLE Control:

    This control is popularly called as OLE container control. VB.NET does not contain this control. However, you can make use of WebBrowser control as an alternative.

    Dynamic Data Exchange (DDE):

    You can use the SendMessage API instead of DDE methods.

    DAO and RDO data binding:

    DAO stands for Data Access Object and RDO stands for Remote Data Object. They are accessed through code with the help of Data control in Visual Basic 6.0. Visual Basic .NET does not support these two data binding concepts. You should either use Active Data Objects (ADO) before upgrading, or convert the entire code to ADO.NET after completing the upgrade.

    Visual Basic 5.0 Controls:

    Visual Basic 6 ships with lot of VB 5 controls such as Microsoft Windows Common Controls and the data bound grid control. VB.NET doesn’t support these controls. It is better to leave them without upgrading or use the equivalent .NET controls such as DataGrid.

    DHTML Applications:

    You can develop DHTML applications using Visual Basic 6.0. These applications cannot be upgraded by Visual Basic .NET. It is better to leave these applications in their VB 6.0 versions.

    ActiveX Documents:

    The VB.NET upgrade wizard cannot upgrade ActiveX documents developed using Visual Basic 6.0.

    Property pages:

    VB.NET does not support property pages, because you can easily make use of the Windows Forms property browser.

    User controls:

    You can use User controls developed using Visual Basic 6.0 in your Visual Basic .NET applications, but .NET does not provide design-time support. Hence, you can make modifications to User controls only by using Visual Basic 6.0

    WebClass Applications:

    These applications will be upgraded to ASP.NET with an upgrade warning. You should review those warnings before deploying your project. You should further note that WebClasses interoperate with VB.NET Web Forms in a flexible manner.

    Summary

    You have now attained the knowledge to upgrade a Visual Basic 6.0 application to .NET. This article also examined some of the core issues associated with the upgrade. I hope this article helped you to decide whether to upgrade your existing Visual Basic 6 applications into Visual Basic .NET 2003.


    DISCLAIMER: The content provided in this article is not warranted or guaranteed by Developer Shed, Inc. The content provided is intended for entertainment and/or educational purposes in order to introduce to the reader key ideas, concepts, and/or product reviews. As such it is incumbent upon the reader to employ real-world tactics for security and implementation of best practices. We are not liable for any negative consequences that may result from implementing any information covered in our articles or tutorials. If this is a hardware review, it is not recommended to open and/or modify your hardware.

       · Guys,I'm Anand and the author of this article. Please feel free to read this...
     

    VISUAL BASIC.NET ARTICLES

    - Working with Classes and Properties for Game...
    - Working with Loops, Arrays, and Collections ...
    - Learning Loops in VB.NET for Game Development
    - Learning VB.NET: Working with Variables, Con...
    - The Basics of VB.NET Through Text Game Devel...
    - Learning VB.NET Through Text Game Development
    - Types of Operators in Visual Basic
    - Operators
    - Understanding Custom Events using Visual Bas...
    - Polymorphism using Abstract Classes in Visua...
    - Shadowing using Shadows in Visual Basic.NET ...
    - Overloading and Overriding in Visual Basic.N...
    - More on Controlling Windows Fax Services Usi...
    - Programmatically Controlling Windows Fax Ser...
    - Focusing on Forms and Menus in Visual Basic





    © 2003-2008 by Developer Shed. All rights reserved. DS Cluster 5 hosted by Hostway