Upgrading from VB5 to VB6 - MS Common Controls Problem


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2

Thread: Upgrading from VB5 to VB6 - MS Common Controls Problem

  1. #1
    Sam Guest

    Upgrading from VB5 to VB6 - MS Common Controls Problem


    Hi,

    I'm upgraing the source code of a project from VB5 to VB6. Most controls
    in my project upgraded automatically to the new version of the dll without
    a problem, except for the MS Common Controls and MS Chart.

    It seems that MS changed the name of the actual DLL file used for these controls,
    for example in VB5 the dll was comctl.dll while in VB6 the ddl is mscomctl.dll.

    Does anyone know of an quick solution to this problem. The alternative (v.
    slow) option is to manually replace each VB5 common control on every form
    with the VB6 common control and set the properties and then copy all the
    code from the VB5 version to the VB6 version.

    Help please!!!

    Thanks,

    Sam



  2. #2
    Mark Alexander Bertenshaw Guest

    Re: Upgrading from VB5 to VB6 - MS Common Controls Problem


    "Sam" <sam.brown@bnpparibas.com> wrote:
    >
    >Hi,
    >
    >I'm upgraing the source code of a project from VB5 to VB6. Most controls
    >in my project upgraded automatically to the new version of the dll without
    >a problem, except for the MS Common Controls and MS Chart.
    >
    >It seems that MS changed the name of the actual DLL file used for these

    controls,
    >for example in VB5 the dll was comctl.dll while in VB6 the ddl is mscomctl.dll.
    >
    >Does anyone know of an quick solution to this problem. The alternative

    (v.
    >slow) option is to manually replace each VB5 common control on every form
    >with the VB6 common control and set the properties and then copy all the
    >code from the VB5 version to the VB6 version.
    >
    >Help please!!!
    >
    >Thanks,
    >
    >Sam


    Sam -

    This is a "known" problem. There is wizard for this:

    http://www.vbtt.com/vbttdl.html

    Go down to the bottom, and look for "Visual Basic, Version 6.0, ActiveX Control
    Upgrade Utility".

    --
    Mark Alexander Bertenshaw
    Programmer/Analyst
    Chordiant Software, Inc.
    Brentford
    UK

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center