How to add Class Module in VB6?

Hi!

In VB6, Project Window we have a list of forms, modules, class modules, etc.
When I right click I have an option to add new form, new module, new user control, etc. but there's no option to add Class Module.
In order to add a class module I have to open a Notepad, save empty file under cls extension and only then add it through 'Add File...' option in VB.

Is there a way to include "Add -> Class Module" option in that pop-up menu?
LVL 11
dbrckoviAsked:
Who is Participating?
 
mladenoviczConnect With a Mentor Commented:
In VB IDE go to View->Toolbars->Customize.
Select Commands Tab
Select Project
Select Add Class Module and drag and drop it to the project menu.
0
 
dbrckoviAuthor Commented:
Thanks!

I openned that Customize Window several times, but I didn't realize I actualy have to drag&drop it on a menu.
I tried dropping it on Project item in Categories list, and it didn't work.
0
 
mladenoviczCommented:
You're welcomed ;)
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.