Is there a simple way to get the name of a VB project and the class. It might look like :

Code:
Projname = project.name
Clsname = class.name
But ofcourse this doesn't work. Anybody know a other way????