Name that
property.
5. Right-click in the Project Explorer and choose InsertModule.
A new standard code module named Module1 is added to the project.
You should also notice that a new folder named Modules is automati-
cally created under the project. All standard code modules that are
imported or created in the project are added to this folder.
6. Select Module1 from the Project Explorer and change the Name prop-
erty for Module1 to basDraw through the Properties window.
A project can have more than one module, so it is a good idea to give
each module a unique name. If you wanted to use the module in a differ-
ent project, you would want to make sure it was imported with a unique
name; otherwise, it canĂt be imported into a project if that name is
already in use. The project and standard code module should both be
renamed now (see Figure 4-13).
Figure 4-13:
Visual Basic
Editor with
new project
and code
module.
Tidak ada komentar:
Posting Komentar