Results 1 to 10 of 10

Thread: Help reqd to update project from VB6 to VB8

  1. #1

    Thread Starter
    New Member
    Join Date
    Apr 2007
    Posts
    8

    Help reqd to update project from VB6 to VB8

    Hi

    I am using an application built in VB6 in VB 8 express edition. When I try to open it, it asks me to update the project and then throws the following error :

    Upgrade failed: Exception occured: Could not load referenced component:
    EParser.tlb (Asian CERC - Expression Parser 1.0.0)
    You need to install this component before you upgrade the project.
    It is recommended you install VB6.0, with all referenced components, and ensure the application compiles and runs before upgrading.


    Can anyone help me here. I am kinda stuck here.

    Thanks in Anticipation.

    Adios...

  2. #2
    Frenzied Member Jim Davis's Avatar
    Join Date
    Mar 2001
    Location
    Mars base one Username: Jim Davis Password: yCrm33
    Posts
    1,284

    Re: Help reqd to update project from VB6 to VB8

    Ummm...

    You need to install this component before you upgrade the project.
    Strong, but good point. You may missing the EParser.tlb library, you have register, then reference it.

    It is recommended you install VB6.0, with all referenced components, and ensure the application compiles and runs before upgrading.
    Just like the doctor ordered. But, tt also could happen, that the library not compatible, for some reason.

    Test in VB6 on your PC, and lets see it works or just not.

  3. #3

    Thread Starter
    New Member
    Join Date
    Apr 2007
    Posts
    8

    Re: Help reqd to update project from VB6 to VB8

    Thanks Jim for the active response. I am a newbie here, so perhaps looking for a detailed insight into this.
    Where can I get the EParser.tlb library.
    Also, is it possible to get a VB6 express edition.

    Thanks.
    TT

  4. #4
    PowerPoster CDRIVE's Avatar
    Join Date
    Jul 2007
    Posts
    2,620

    Re: Help reqd to update project from VB6 to VB8

    Unless I'm misunderstanding you, you're trying to run a VB6 app in a VBNET IDE? Why shouldn't it throw an error? NET is not a VB6 upgrade, it's a different language. VB6 code must be re-written to be used in NET.
    <--- Did someone help you? Please rate their post. The little green squares make us feel really smart!
    If topic has been resolved, please pull down the Thread Tools & mark it Resolved.


    Is VB consuming your life, and is that a bad thing??

  5. #5

    Thread Starter
    New Member
    Join Date
    Apr 2007
    Posts
    8

    Re: Help reqd to update project from VB6 to VB8

    I am using MS Visual Basic 2008 Express Edition to run the application.

  6. #6
    PowerPoster CDRIVE's Avatar
    Join Date
    Jul 2007
    Posts
    2,620

    Re: Help reqd to update project from VB6 to VB8

    Quote Originally Posted by taruntokas
    I am using MS Visual Basic 2008 Express Edition to run the application.
    So you are attempting to run a VB6.vbp in NET. Everything after VB6 is part of the NET framework including 2008 Express.
    <--- Did someone help you? Please rate their post. The little green squares make us feel really smart!
    If topic has been resolved, please pull down the Thread Tools & mark it Resolved.


    Is VB consuming your life, and is that a bad thing??

  7. #7

    Thread Starter
    New Member
    Join Date
    Apr 2007
    Posts
    8

    Re: Help reqd to update project from VB6 to VB8

    Yes CDRIVE. So either I get a copy of VB6.0 installed or EParser.tlb.
    what do you suggest?

  8. #8
    Hyperactive Member
    Join Date
    Oct 2007
    Location
    Indiana
    Posts
    295

    Re: Help reqd to update project from VB6 to VB8

    Quote Originally Posted by taruntokas
    Yes CDRIVE. So either I get a copy of VB6.0 installed or EParser.tlb.
    what do you suggest?
    You're missing the point. Even though both have "VB" and a number, VB6 and VB8 are two totally different programs.

    You can't just 'upgrade'. There aren't really any good ways to convert a VB6 project into a VB8 (NET) project.

    As mentioned, you basically need to rewrite the entire program in VB8, even after trying to do the built in 'converter' that's in VB8.
    Last edited by Caskbill; Nov 27th, 2008 at 12:39 AM.

  9. #9
    PowerPoster CDRIVE's Avatar
    Join Date
    Jul 2007
    Posts
    2,620

    Re: Help reqd to update project from VB6 to VB8

    Quote Originally Posted by taruntokas
    Yes CDRIVE. So either I get a copy of VB6.0 installed or EParser.tlb.
    what do you suggest?
    I'm biased. My life is committed to VB6 and I'm too damned old to start all over again. I resent the whole concept of NET because considering the investment a VB6 programmer made in time and money the advantages of NET isn't worth the effort to learn it. You're probably young and just starting out, so learning NET would probably be the way for you to go. Besides Express is free!
    <--- Did someone help you? Please rate their post. The little green squares make us feel really smart!
    If topic has been resolved, please pull down the Thread Tools & mark it Resolved.


    Is VB consuming your life, and is that a bad thing??

  10. #10
    PowerPoster CDRIVE's Avatar
    Join Date
    Jul 2007
    Posts
    2,620

    Re: Help reqd to update project from VB6 to VB8

    Quote Originally Posted by Caskbill
    You're missing the point. Even though both have "VB" and a number, VB6 and VB8 are two totally different programs.

    You can't just 'upgrade'. There aren't really any good ways to convert a VB6 project into a VB8 (NET) project.

    As mentioned, you basically need to rewrite the entire program in VB8, even after trying to do the built in 'converter' that's in VB8.
    Oh, I see! He has one of those VB6 to NET Auto-Formatters that don't work!
    <--- Did someone help you? Please rate their post. The little green squares make us feel really smart!
    If topic has been resolved, please pull down the Thread Tools & mark it Resolved.


    Is VB consuming your life, and is that a bad thing??

Posting Permissions

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



Click Here to Expand Forum to Full Width