Eating into menus

Hi, I'm using VB6 (with NT SP4) - and virtually every day, some menu items from VB disappear and I have to re-add them. The most common are 'references' and 'components'.. this is really frustrating - as I know that I'm not deleting them.

Has anyone else come across this ???
LVL 10
smeggheadAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

watyCommented:
I have the same problems.

This is certainly due to the fact that you have installed some addins wich are not well initialized, or removed.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
smeggheadAuthor Commented:
Do you think a re-install is in order ??
0
watyCommented:
What addins do you have?
0
The Ultimate Tool Kit for Technolgy Solution Provi

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy for valuable how-to assets including sample agreements, checklists, flowcharts, and more!

smeggheadAuthor Commented:
The enabled / loaded ones are..

Source code control
VB 6 Property Page Wizard
Visual Basic 6 Resource Editor
Visual Component Manager
Windows CE Toolkit for VB 6

There are loads of other ones which aren't loaded.
0
watyCommented:
All from Microsoft :)

Try to remove the Windows CE Toolkit, maybe this is this one that causes problems

0
derek_noonanCommented:
Hi Smegghead,

I've had this prob B4 - the DLL that manages this is COMCAT.DLL.

OLE groups all components into functional categories called Component Categories. COMCAT.DLL is used to identify the areas of functionality that a component may support and provides the functionality to register and unregister components into specific Component Categories. This way when Visual Basic opens the Components dialog it can categorize the components into Controls, Designers and Insertable Objects without displaying every object and class registered on the system

Do a search for this file (should be in \WINNT\System32), drop out to a command prompt and REGSVR32 it...

If you can't find it copy it from another machine or from the VB installation media.

Installing of SP3 for VS98 is highly recommended as well

FYI: My version (from the WINNT\System32 directory is v4.71 with a filesize of 22,288 bytes)

Hope this helps...
0
smeggheadAuthor Commented:
Not sure if you follow this question, it's not the components that aren't appearing it's menu items, for example 'Components', 'References', 'Toolbox', 'Remove...' etc. that are going missing....

I won't reject this yet as you might be right.

PS. Where can I get SP3 for VS98 ??
0
derek_noonanCommented:
I understood your error to be as follows:

When you choose to view the Component dialog in Microsoft Visual Basic, either by clicking on the Project menu and selecting Components or by using the activation keys CTRL+T, the following error appears:


Class not registered
Looking for object with CLSID: {0002E005-0000-0000-C000-000000000046}

After clicking OK, the Component dialog opens and no components are displayed.

However if this is not what it is then it must be a registry problem...

I would strongly suggest uninstalling VS98 to sort out the aforementioned registry probs and immediately afterwards install SP3 for VS98

SP3 for VS98 can d/loaded @ the following URL:
http://msdn.microsoft.com/vstudio/sp/vs6sp3/default.asp

Be warned - it's over 120MB!
0
smeggheadAuthor Commented:
Derek, yeah sorry, it's the actual menu items, not Components that are dissapearing... Sorry if you got the wrong end of the stick..

Hmmm, SP3 120 meg arggghhh

In the meantime, I've done as Waty suggested and removed all 'add-ins' and re-added all the ones that I know I want. Then 'reset' all menus to contain what they should.. it's been ok so far, but only time will tell..

I'll get back to you both soon....
0
TimCotteeHead of Software ServicesCommented:
smegghead: just to reassure you (well a bit) I too had this problem, but then it went away. I don't remember what I did to fix it but I think that it was a re-install of SP4 rather than a reinstall of VB.
0
smeggheadAuthor Commented:
Thanks waty, the problem has not reared it's ugly head again since I fiddled with the add-ins.. the only menu I cant reset is the one you get when you right click on the 'Project Exporer'.
0
smeggheadAuthor Commented:
I'd nearly sorted out the problem, then VB crashed and refused to restart... I had to re-install... Only took about 2 mins.. I thought I'd have to uninstall / install / reconfigure etc... but I suppose MS must have realised that we'd be re-installing on a monthly basis.. :-)

Thanks everyone for your comments.. I'm going to award the points to waty as he understood the problem and came up with a solution - which temporarily worked..
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Visual Basic Classic

From novice to tech pro — start learning today.