Solved

How to add Class Module in VB6?

Posted on 2004-10-07
3
960 Views
Last Modified: 2010-05-18
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?
0
Comment
Question by:dbrckovi
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 8

Accepted Solution

by:
mladenovicz earned 100 total points
ID: 12247157
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
 
LVL 11

Author Comment

by:dbrckovi
ID: 12247202
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
 
LVL 8

Expert Comment

by:mladenovicz
ID: 12247224
You're welcomed ;)
0

Featured Post

Revamp Your Training Process

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

There are many ways to remove duplicate entries in an SQL or Access database. Most make you temporarily insert an ID field, make a temp table and copy data back and forth, and/or are slow. Here is an easy way in VB6 using ADO to remove duplicate row…
This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

688 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question