Solved

How to add Class Module in VB6?

Posted on 2004-10-07
3
948 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
  • 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

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
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…

757 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now