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
Re: VB6 Visual component manager
Rename DATAVIEW.DLL (to something else) that is in ...Program Files (x86)\Microsoft Visual Studio\VB98\DATAVIEW.DLL
Re: VB6 Visual component manager
Re: VB6 Visual component manager
Quote:
Originally Posted by
Eduardo-
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>
Re: VB6 Visual component manager
Quote:
Originally Posted by
Eduardo-
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.
Re: VB6 Visual component manager
Quote:
Originally Posted by
Daniel Duta
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).
1 Attachment(s)
Re: VB6 Visual component manager
Quote:
Originally Posted by
Daniel Duta
If it is deprecated or dysfunctional...
Neither. It works just fine.
If VB6 was properly installed you shouldn't see that error.
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.
Re: VB6 Visual component manager
Sadly, installing many versions of MS Office can break a VB6 installation. You might try a repair install.
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.
Re: VB6 Visual component manager
Quote:
Originally Posted by
dilettante
Neither. It works just fine.
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.
Re: VB6 Visual component manager
Quote:
Originally Posted by
dilettante
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
Re: VB6 Visual component manager
Quote:
Originally Posted by
Daniel Duta
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.
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>