-
Jul 27th, 2020, 05:45 PM
#1
Thread Starter
Member
-
Jul 27th, 2020, 05:55 PM
#2
Re: What Causes This?
We all get these from time to time, but fairly frequently. Basically, it is indicating an add-in didn't quite load up correctly.
Pay attention to the title of the message box, i.e., Visual Component Manager. If that title is for an add-in you use in that project, then close VB and restart it. Otherwise, you can pretty much ignore the message.
FYI. The one add-in I really look for when I get those is the resource editor. If my project is using a resource file and I get that message, lessons learned, close & restart VB. At most, I think I've ever had to restart no more than 3 times to get VB to load without any message box appearing. That particular VCM one, I get quite often
-
Jul 27th, 2020, 07:21 PM
#3
Thread Starter
Member
Re: What Causes This?
Thanks for your reply.
I get this message every time I start any .vbp file. The thing I'm currently working on uses no components.
-
Jul 27th, 2020, 08:08 PM
#4
Re: What Causes This?
I'll second everything LaVolpe said. I just always click "OK" and ignore it, and I've never had a problem.
In my case, I never keep any add-ins loaded, and I recognize that that's probably not typical.
It's actually been a while since I've seen it, but the one I sometimes get is related to the Data Viewer. That's particularly annoying to me because I never use that VB6 feature (but you can't disable it). One of the things I do though is switch between different version of Word and Excel (and sometimes Access). And doing this somehow tampers with the registration of some component that VB6 uses, and occasionally causes those errors to pop up. However, again, I just always ignore them, and I've never seen any side-effect.
Good Luck,
Elroy
Any software I post in these forums written by me is provided "AS IS" without warranty of any kind, expressed or implied, and permission is hereby granted, free of charge and without restriction, to any person obtaining a copy. To all, peace and happiness.
-
Jul 27th, 2020, 08:12 PM
#5
Thread Starter
Member
Re: What Causes This?
Yes, I've just been clicking it away since Win 7. It has never caused a problem. I just wondered what is was.
-
Jul 27th, 2020, 10:17 PM
#6
Re: What Causes This?
I started getting that random message after I installed Office. Never found a way to get rid of it (only uninstalling Office). Yes, you can ignore it, but still it is quite annoying.
Last edited by Eduardo-; Jul 27th, 2020 at 11:41 PM.
-
Jul 27th, 2020, 10:32 PM
#7
Re: What Causes This?
It would be good if someone could invent a wee program that we could set to start with windows.
It can be told what to look for in pop up msgs, and dismisses it for us.
-
Jul 28th, 2020, 12:46 AM
#8
Re: What Causes This?
Originally Posted by iamjim
Thanks for your reply.
I get this message every time I start any .vbp file. The thing I'm currently working on uses no components.
My guess would be that you do not have VB configured to run as administrator and that is causing the error on startup.
Check the properties of your vb6.exe, compatibility tab and make sure the check box for run as administrator is checked.
-
Jul 28th, 2020, 03:05 AM
#9
Re: What Causes This?
The thing I'm currently working on uses no components.
A blank project has a few external components by default. Examine a project file in a text editor or look at the components being used by your project. There are a few you can't even uncheck.
Last edited by Peter Swinkels; Jul 28th, 2020 at 11:35 AM.
-
Jul 28th, 2020, 03:56 AM
#10
Re: What Causes This?
The problem does not have to do with:
1) the components that the project uses. (The message appears just opening the IDE with no project)
2) Running the IDE not elevated (it also appears when running elevated)
3) Having add-ins loaded (I don't have any add-in loaded)
I repeat: it is something that Office installs, but I don't know what specifically.
If anyone has an idea on how this issue can be further investigated, please tell.
-
Jul 28th, 2020, 11:33 AM
#11
Re: What Causes This?
The 4 I get most often are all add-ins. 2 are add-ins I use (checked), 2 are add-ins I don't use. I can only guess that VB does some sort of sanity check when it loads that validates the add-ins, whether used or not. That sanity check may be performed simply because it is possible they could be used at any time? I'm trying to recall if I have ever had 2 fail back-back, i.e., 2 message boxes, but not 100% positive it never happened.
-
Jul 28th, 2020, 11:35 AM
#12
Re: What Causes This?
Originally Posted by Eduardo-
The problem does not have to do with:
1) the components that the project uses. (The message appears just opening the IDE with no project)
2) Running the IDE not elevated (it also appears when running elevated)
3) Having add-ins loaded (I don't have any add-in loaded)
I repeat: it is something that Office installs, but I don't know what specifically.
If anyone has an idea on how this issue can be further investigated, please tell.
If you are referring to your own issue on your own device, so be it. But if you are implying that the above post is supposed to apply to everyone that sees this error, then obviously you are wrong. I don't even have Office installed on my VB 6.0 device, and I've seen this error happen from time to time, and in one case it was caused by an Add-in that I had temporarily enabled. I disabled it again and the error was gone.
For your own issue, my suggestion:
-Download Process Monitor
-Run Process Monitor and make sure it is capturing events
-Run VB 6.0
-Let error message show up and leave the error on screen (important)
-Stop event capturing in Process Monitor
-Add a filter in Process Monitor for Process Name is VB6.exe
-Scroll down to the end of the list of events, the cause of the error message should be the last item listed (or at the very least, one of the last few items in the list).
-
Jul 28th, 2020, 12:12 PM
#13
Re: What Causes This?
Originally Posted by OptionBase1
obviously you are wrong
Yes, I mean that it is not caused by add-ins exclusively.
It is caused by some dll or registry key or "something", but not necessarily because of an add-in (unless there are hidden add-ins that do not appear on the list).
Originally Posted by OptionBase1
-Download Process Monitor
-Run Process Monitor and make sure it is capturing events
-Run VB 6.0
-Let error message show up and leave the error on screen (important)
-Stop event capturing in Process Monitor
-Add a filter in Process Monitor for Process Name is VB6.exe
-Scroll down to the end of the list of events, the cause of the error message should be the last item listed (or at the very least, one of the last few items in the list).
Thank you, when I have time I'll check that.
-
Jul 28th, 2020, 12:56 PM
#14
Re: What Causes This?
Originally Posted by Eduardo-
Yes, I mean that it is not caused by add-ins exclusively.
It is caused by some dll or registry key or "something", but not necessarily because of an add-in (unless there are hidden add-ins that do not appear on the list).
Agree 100%. It seems like it is a catch-all error message in some ways. And I remember seeing the same error way back in my college days taking a VB 5.0 class, and one of the fixes we in the class quickly learned was to delete the contents of the temp folder, which fixed it 99% of the time. Hope you can track down the cause on your device.
-
Jul 28th, 2020, 01:08 PM
#15
Please remember next time...elections matter!
-
Jul 28th, 2020, 01:13 PM
#16
Re: What Causes This?
Originally Posted by OptionBase1
Hope you can track down the cause
I renamed DATAVIEW.DLL and it seems gone.
I can't be sure because the error was random, but I tried like 30 times and it didn't appear again.
...Program Files (x86)\Microsoft Visual Studio\VB98\DATAVIEW.DLL
-
Aug 9th, 2020, 11:19 PM
#17
Re: What Causes This?
Originally Posted by Eduardo-
I renamed DATAVIEW.DLL and it seems gone.
I can't be sure because the error was random, but I tried like 30 times and it didn't appear again.
...Program Files (x86)\Microsoft Visual Studio\VB98\DATAVIEW.DLL
I can say I'm sure now, renaming that dll was the solution, the message didn't appear again.
Did you test whether it fixes also the issue with add-ins?
-
Aug 10th, 2020, 07:34 PM
#18
Hyperactive Member
Re: What Causes This?
I also had the same problem, I solved it by renaming the file
Greetings
sorry for using translator
-
Aug 11th, 2020, 09:41 AM
#19
Re: What Causes This?
Originally Posted by Eduardo-
I renamed DATAVIEW.DLL and it seems gone.
OMFG, so simple!
This mandatory add-in has been vexing me for years but it's time to get control of the IDE back from the "architects" that come up with this "convenience". 10x again!
cheers,
</wqw>
-
Aug 11th, 2020, 10:43 AM
#20
Re: What Causes This?
it's time to get control of the IDE back from the "architects" that come up with this "convenience"
Most of them are probably retired...
Please remember next time...elections matter!
-
Nov 25th, 2020, 01:20 PM
#21
Re: What Causes This?
aghhh thanks this has been annoying me for years. I thought it was one of my addins throwing an intermittent error
-
Nov 25th, 2020, 02:50 PM
#22
Re: What Causes This?
I added a note about it to my Installing the VB6 IDE on Windows 10 thread.
Any software I post in these forums written by me is provided "AS IS" without warranty of any kind, expressed or implied, and permission is hereby granted, free of charge and without restriction, to any person obtaining a copy. To all, peace and happiness.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|