
Cannot add CLASS MODULE anymore
My VB menus and toolbars also get corrupted on occasion.
Try the following:
Exit all running instances of VB.
Start a new instance with any (or a new/dummy) project.
Right-click the toolbar area.
Select Customize...
Select each of the toolbars and click Reset...
Close the Customize dialog.
Exit VB - you may get somme errors - just click OK.
Reopen VB, and in most cases your menus and toolbar buttons should be back
in order.
I have had a few situations where I have had to go into the registry and
delete some of the configuration info for VB, but I don't have a reliable
recipe on what I did and what worked - nor what may mess you up further...
HTH,
Tore.
Hi,
For some very weird reason, I cannot add a CLASS MODULE anymore to any kind
or
projects where a class module is permitted.
I've tried it in a ActiveX DLL project and when I right click on "Project1"
and
select "Add", "Class Module" is not in the list of possible options.
Of course, the default "Class1" Class Module is automatically added when
starting
an ActiveX DLL project but I can't add any other by the usual way.
I also tried from the menu item "Project" and "Add Class Module" isn't there
either.
I tried "Add" - "Add File..." and could add successfully a previously
created .CLS file.
I also used the Class Builder successfully to add a class.
I did the same steps on another computer and everything works fine!
Do you have a solution?
Thanks!