+ Reply to Thread
Results 1 to 12 of 12

Converting from VB5 to VB6

Hybrid View

AnthonyWB Converting from VB5 to VB6 09-20-2010, 09:12 AM
romperstomper Re: Converting from VB5 Excel... 09-20-2010, 09:15 AM
AnthonyWB Re: Converting from VB5 Excel... 09-20-2010, 09:27 AM
snb Re: Converting from VB5 to VB6 09-20-2010, 09:35 AM
AnthonyWB Re: Converting from VB5 to VB6 09-20-2010, 09:58 AM
romperstomper Re: Converting from VB5 to VB6 09-20-2010, 10:43 AM
royUK Re: Converting from VB5 to VB6 09-20-2010, 10:45 AM
AnthonyWB Re: Converting from VB5 to VB6 09-20-2010, 10:47 AM
romperstomper Re: Converting from VB5 to VB6 09-20-2010, 10:55 AM
AnthonyWB Re: Converting from VB5 to VB6 09-20-2010, 11:14 AM
romperstomper Re: Converting from VB5 to VB6 09-20-2010, 11:24 AM
AnthonyWB Re: Converting from VB5 to VB6 09-20-2010, 11:35 AM
  1. #1
    Forum Contributor
    Join Date
    03-30-2010
    Location
    Washington DC
    MS-Off Ver
    Excel 2007
    Posts
    458

    Converting from VB5 to VB6

    Hello everyone. I have a quick question. Hopefully it's quick. I am currently working with a developement team that has been tasked to "convert" a 1997 MS Office based application that uses Excel 2003 (VB5 Macros) and Access 97 to a 2010 MS Office application that will use Excel 2010 (VB6) and Access 2010. Some quick questions:
    1. Are there major programming differences between VB5 and VB6 ? I am talking specifically about Excel here. I am working with approximately 5,000 lines of code. The project involves susbtantial use of userforms. How much/and what kind of items will have to be reworked?
    2. What are the differences in Access 1997 and Access 2010 ?

    I am also curious, from the point of visual basic programming, if there are major differences in Excel 2007 and Excel 2010 ?

    Thanks?
    Last edited by AnthonyWB; 09-20-2010 at 10:48 AM. Reason: incorrect title

  2. #2
    Forum Expert romperstomper's Avatar
    Join Date
    08-13-2008
    Location
    England
    MS-Off Ver
    365, varying versions/builds
    Posts
    22,009

    Re: Converting from VB5 Excel 2003 to VB6 Excel 2010.

    1. Excel 2003 is VBA6, not VBA5.
    2. This isn't an Access forum.
    Everyone who confuses correlation and causation ends up dead.

  3. #3
    Forum Contributor
    Join Date
    03-30-2010
    Location
    Washington DC
    MS-Off Ver
    Excel 2007
    Posts
    458

    Re: Converting from VB5 Excel 2003 to VB6 Excel 2010.

    My bad, w.r.t to Access.

    You are right....of course ! Excel 2003 and VB6.

    But what has happened is that during the projects intitial development they hired an "old-timer" who coded everything in VB5. So maybe a better question would be how to go about "converting" from VB5 to VB6 ? Is there a general approach to doing that ?

  4. #4
    Forum Expert snb's Avatar
    Join Date
    05-09-2010
    Location
    VBA
    MS-Off Ver
    Redhat
    Posts
    5,649

    Re: Converting from VB5 to VB6

    Some examples:

    what doesn't work anymore in Excel 2010:
    creating commandbars & adding controls to commandbars in VBA
    application.filesearch
    distributionlists (hasroutingslip)

    What didn't exist in VBA (97)
    split, filter, join
    Wtih .... End With
    Last edited by snb; 09-20-2010 at 10:01 AM.



  5. #5
    Forum Contributor
    Join Date
    03-30-2010
    Location
    Washington DC
    MS-Off Ver
    Excel 2007
    Posts
    458

    Re: Converting from VB5 to VB6

    I am not using command bars. I am just concerned about userforms that have text boxes,combo boxes list boxes and list views. I will be needing objects such as calanders. I need lanaguage support particularly for Asian languages such as Standard Chineese and Standard Thai. Currently in 2003 Excel with the code we are using we have Asain charcters that are not coming up correctly in list-views, after the user selects items from a drop down menu or enteres values into a text box.

  6. #6
    Forum Expert romperstomper's Avatar
    Join Date
    08-13-2008
    Location
    England
    MS-Off Ver
    365, varying versions/builds
    Posts
    22,009

    Re: Converting from VB5 to VB6

    None of those are really related to VBA, in fact. The ListView control is entirely separate and, to the best of my knowledge, is dependent on the version of Windows you have, not Office.

  7. #7
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200

    Re: Converting from VB5 to VB6

    Some calendar controls, etc are not available in Excel 2010
    Hope that helps.

    RoyUK
    --------
    For Excel Tips & Solutions, free examples and tutorials why not check out my web site

    Free DataBaseForm example

  8. #8
    Forum Contributor
    Join Date
    03-30-2010
    Location
    Washington DC
    MS-Off Ver
    Excel 2007
    Posts
    458

    Re: Converting from VB5 to VB6

    Thanks romperstomper ! We will be using the Windows 7 operating system.

  9. #9
    Forum Expert romperstomper's Avatar
    Join Date
    08-13-2008
    Location
    England
    MS-Off Ver
    365, varying versions/builds
    Posts
    22,009

    Re: Converting from VB5 to VB6

    I trust you are not planning to use 64 bit Office?

  10. #10
    Forum Contributor
    Join Date
    03-30-2010
    Location
    Washington DC
    MS-Off Ver
    Excel 2007
    Posts
    458

    Re: Converting from VB5 to VB6

    Why not 64-bit office ? I do not believe there are plans to use 64-bit within my team.

    Which calander controls are specifically not supoorted?

  11. #11
    Forum Expert romperstomper's Avatar
    Join Date
    08-13-2008
    Location
    England
    MS-Off Ver
    365, varying versions/builds
    Posts
    22,009

    Re: Converting from VB5 to VB6

    None of your activex controls will work (and many of your add-ins will probably break). Even MS does not recommend using it unless you need to work with really big files.
    Last edited by romperstomper; 09-20-2010 at 12:18 PM. Reason: typo

  12. #12
    Forum Contributor
    Join Date
    03-30-2010
    Location
    Washington DC
    MS-Off Ver
    Excel 2007
    Posts
    458

    Re: Converting from VB5 to VB6

    This is a small data set (customer related data) maybe a few thousand customers (less than 15,000). The set of data is actually going to shrink over the years. We are using a very "intense" userform that makes substantial use of Active-X controls. There is no real need for super-fast memory.

    The most intense thing we got going on here is that all of the customer records are stored in an access database and we use an Excel userforum to get that data.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1