Results 1 to 8 of 8

Thread: HELP! I trashed my VB5 project...

  1. #1

    Thread Starter
    Member
    Join Date
    Feb 2000
    Posts
    52
    I decided to install the Introductory Edition of Visual C++ 6.0 that I got out of Andre Lamothe's game programming book. As a result, I get the following messages when I try to load my current VB 5.0 project:

    Line 100: Class ComctlLib.ListView of control lvwToDo was not a loaded control class.
    Line 106: The property name _ExtentX in lvwToDo is invalid.
    Line 107: The property name _ExtentY in lvwToDo is invalid.
    Line 108: The property name View in lvwToDo is invalid.
    Line 109: The property name Arrange in lvwToDo is invalid.
    Line 110: The property name LabelWrap in lvwToDo is invalid.
    Line 111: The property name HideSelection in lvwToDo is invalid.
    Line 112: The property name Checkboxes in lvwToDo is invalid.
    Line 113: The property name FlatScrollBar in lvwToDo is invalid.
    Line 114: The property name GridLines in lvwToDo is invalid.
    Line 115: The property name _Version in lvwToDo is invalid.
    Line 129: The property name NumItems in lvwToDo is invalid.


    I know that what has happened is that VC++ 6.0 has provided updated dll's and controls, somehow causing VB 5.0 not to be able to use the old ones any more. How can I work around this? If I uninstall VC++ 6.0 will I get back to being able to use the old ones again? Can I reinstall VB 5.0 and get back? HELP!!!!

  2. #2
    Lively Member
    Join Date
    Jan 1999
    Posts
    81

    FIX

    What happened is you saved your project under vb6. It is not backwards compatable with vb5 to fix do the following.

    Make a new vb5 project and remove form1.

    Then import your project forms into the new project. save over you project files with the new project.. You will then be able to reopen your project in vb5 with out any lose.

    Make sure you reinclude any project resources you have..

    Hope this helps
    Brooke
    -------------------------
    There is never only one right answer. That is the magic of programming.
    -------------------------

  3. #3

    Thread Starter
    Member
    Join Date
    Feb 2000
    Posts
    52
    I have done no such thing. I don't have VB 6. My problem is I simply cannot load my VB 5 project because the installation of VC++ changed the registered controls (I suspect), so that VB5 can no longer find the listview control that I reference.

  4. #4
    Lively Member
    Join Date
    Jan 1999
    Posts
    81

    IN THAT CASE

    I would reinstall vb5 over the exsiting copy...

    Im running VC++ VB5 and VB6 on my system and iv never run into that problem.

    You can also try to install the vb runtime files..

    Hope it helps
    Brooke.
    -------------------------
    There is never only one right answer. That is the magic of programming.
    -------------------------

  5. #5
    Addicted Member
    Join Date
    Mar 2000
    Location
    Gainesville, FL
    Posts
    131
    Just reinstall VB

  6. #6

    Thread Starter
    Member
    Join Date
    Feb 2000
    Posts
    52

    Okay, gonna reinstall VB 5

    Thanks (I hope)

  7. #7

    Thread Starter
    Member
    Join Date
    Feb 2000
    Posts
    52
    Nope. No luck. Same problem after reinstalling. However, I fixed my project simply by deleting the pic box that used to be a listview, and putting in an upgraded listview and naming it the same as the old one.

    Wonder if I'll have to do this with any old project now that I want to work with?

  8. #8
    Addicted Member
    Join Date
    Nov 1999
    Posts
    184
    No no no,

    You need to Uninstall it.
    Then remove the program directory
    (just rename it for safety)
    Then restart the computer.
    Then reinstall it.

    Evan Duffield --------
    --- [email protected]
    - -
    VB6 - Learning Edition
    - -


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