A vbComponent object represents a VBA module, a class, a form or (?) a standalone project, see also the corresponding (?) vbext_ct_* constants for the add method of the vbComponents object.
The VBA source code that is associated with a vbComponent is represented by a codeModule object.
It's possible to export and import components (see als vbComponents.import).
Creating a vbComponent from a source file
A vbComponent can be created from a source file with
dim mdl as vbide.vbComponent
set mdl = application.VBE.activeVBProject.vbComponents.import("P:\ath\to\some\source\code\file.bas")
mdl.name = "Foo bar baz Module"