Saving a part that you have constructed includes generating the source code. If the part is an application or if you want to test the part by itself, you need a main part, which is a subclass of IVBMain.
To save the part and generate the source code:
To create an executable application, and generate code for the main() function:
Generated
Application Code
Generating Source Code
Generating Source Code for Your
Application's main( ) Function
Working with IVBMain Parts
