Results 1 to 14 of 14

Thread: VB6 Visual component manager

  1. #1

    Thread Starter
    Fanatic Member Peekay's Avatar
    Join Date
    Sep 2006
    Location
    Witbank, South Africa
    Posts
    612

    VB6 Visual component manager

    When I open VB6 it all of a sudden gives me the error with an 'i' logo with the message "Method '~' of object '~' failed" in a window with heading 'Visual Component Manager'
    What can that be?
    I recently went over to Windows 10 and Office 2019, but the message only appears now two weeks after the act.

    PK

  2. #2
    PowerPoster
    Join Date
    Feb 2017
    Posts
    3,274

    Re: VB6 Visual component manager

    Rename DATAVIEW.DLL (to something else) that is in ...Program Files (x86)\Microsoft Visual Studio\VB98\DATAVIEW.DLL

  3. #3

    Thread Starter
    Fanatic Member Peekay's Avatar
    Join Date
    Sep 2006
    Location
    Witbank, South Africa
    Posts
    612

    Re: VB6 Visual component manager

    Bright spark!!!

  4. #4
    PowerPoster wqweto's Avatar
    Join Date
    May 2011
    Posts
    3,091

    Re: VB6 Visual component manager

    Quote Originally Posted by Eduardo- View Post
    Rename DATAVIEW.DLL (to something else) that is in ...Program Files (x86)\Microsoft Visual Studio\VB98\DATAVIEW.DLL
    +1

    DataView has been so useless for the past 20 years. This is the best trick I personally learned recently.

    cheers,
    </wqw>

  5. #5
    Hyperactive Member Daniel Duta's Avatar
    Join Date
    Feb 2011
    Location
    Bucharest, Romania
    Posts
    388

    Re: VB6 Visual component manager

    Quote Originally Posted by Eduardo- View Post
    Rename DATAVIEW.DLL (to something else) that is in ...Program Files (x86)\Microsoft Visual Studio\VB98\DATAVIEW.DLL
    If it is deprecated or dysfunctional, I wonder why we don't delete it completely? By changing the name it is no longer recognized by the application anyway.
    "VB code is practically pseudocode" - Tanner Helland
    "When you do things right, people won't be sure you've done anything at all" - Matt Groening

  6. #6
    PowerPoster
    Join Date
    Feb 2017
    Posts
    3,274

    Re: VB6 Visual component manager

    Quote Originally Posted by Daniel Duta View Post
    If it is deprecated or dysfunctional, I wonder why we don't delete it completely? By changing the name it is no longer recognized by the application anyway.
    Yes, sure, to delete it is another option.

    This, along with the add-in to delete *.vbw files, and LaVolpe's add-in to fix the color palette on an IDE manifested for Windows Styles (themes), "completely" changed my IDE experience (at least regarding annoying issues).

  7. #7
    PowerPoster
    Join Date
    Feb 2006
    Posts
    22,486

    Re: VB6 Visual component manager

    Quote Originally Posted by Daniel Duta View Post
    If it is deprecated or dysfunctional...
    Neither. It works just fine.

    Name:  sshot.png
Views: 142
Size:  9.6 KB

    If VB6 was properly installed you shouldn't see that error.

  8. #8
    PowerPoster
    Join Date
    Feb 2017
    Posts
    3,274

    Re: VB6 Visual component manager

    I would not know how to install VB6 improperly.
    Anyway, regarding the message, in my case it began appearing after I installed Office.

  9. #9
    PowerPoster
    Join Date
    Feb 2006
    Posts
    22,486

    Re: VB6 Visual component manager

    Sadly, installing many versions of MS Office can break a VB6 installation. You might try a repair install.

  10. #10
    PowerPoster
    Join Date
    Feb 2017
    Posts
    3,274

    Re: VB6 Visual component manager

    There seem to be multiple causes for this error.
    We discussed here this error earlier and not everybody had Office installed.
    It is a recurring problem, even if you reinstall.
    The solution: rename or delete that file. Problem solved and very easily.

  11. #11
    Hyperactive Member Daniel Duta's Avatar
    Join Date
    Feb 2011
    Location
    Bucharest, Romania
    Posts
    388

    Re: VB6 Visual component manager

    Quote Originally Posted by dilettante View Post
    Neither. It works just fine.

    Name:  sshot.png
Views: 142
Size:  9.6 KB

    If VB6 was properly installed you shouldn't see that error.
    Since I changed the name of the library, does that mean it doesn't work anymore? Could you share with us the example above? Thank you.
    "VB code is practically pseudocode" - Tanner Helland
    "When you do things right, people won't be sure you've done anything at all" - Matt Groening

  12. #12
    Lively Member
    Join Date
    Aug 2013
    Posts
    107

    Re: VB6 Visual component manager

    Quote Originally Posted by dilettante View Post
    Sadly, installing many versions of MS Office can break a VB6 installation. You might try a repair install.
    That's interesting.
    i've been noticing that I'm seeing this again just lately.
    It's not a problem, when I dismiss the message the project seems to load normally though
    i usually close it and reopen because I don't get the message then.
    But just lately I've been using Access to play with some data from another system.
    So on the back of your comment I've now discovered that if I have access already open then the first
    time I open a project in vb6 afterwards I'll get this message but not subsequent times.
    If I open two different vb6 projects I'll get the message on both on first opening.
    Before reading your comment I'd thought it was something to do with a recent upgrade to Windows 10 20H2
    Last edited by vbrad; Feb 5th, 2021 at 02:56 AM.

  13. #13
    PowerPoster
    Join Date
    Feb 2006
    Posts
    22,486

    Re: VB6 Visual component manager

    Quote Originally Posted by Daniel Duta View Post
    Since I changed the name of the library, does that mean it doesn't work anymore? Could you share with us the example above? Thank you.
    Yes, you are breaking a feature of the IDE so it won't work any more.

    What is there to share? There is no code, you just open the DataView window and from there open your DataEnvironments or DataLinks. From there you can open tables to view them.

  14. #14
    PowerPoster wqweto's Avatar
    Join Date
    May 2011
    Posts
    3,091

    Re: VB6 Visual component manager

    DataView is the only IDE Add-In that cannot be disabled apart from renaming/removing its DLL.

    History deemed it mostly useless the way DataEnvironment is useless for anything but school projects.

    There is no demand for creating WebClasses nowadays too.

    cheers,
    </wqw>

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