Model, Component, and Package Management > Model management > Working with the supplied example models > VB Another Block (Tetris) Example model > Creating the VB Another Block Example application
  
Creating the VB Another Block Example application
The Another Block application is built from source files generated from the VB Another Block (Tetris) Example model - ACS generates these files using the VB Generator Code Generator DLL.
If you want to generate the source files for the Another Block example application, generate the files to the following folder, which contains the supporting files required to build the application.
C:\ProgramData\PTC Integrity Modeler\Example\C#\Another Block (Tetris)\VS Project
To generate the source files for the VB Another Block (Tetris) Example application:
1. In Modeler, open the VB Another Block (Tetris) Example model, which is provided in the Examples database.
2. On the Packages pane, select the Model.
3. If the ACS/TDK Control ltoolbar is not shown: on the View menu, point to Toolbars, and then click ACS/TDK Control.
4. On the ACS/TDK Control toolbar, click the Load/Unload button.
5. On the ACS/TDK Control toolbar, click the Edit Scheme button.
6. From the Launch ACS/TDK dialog, click the Settings File selection button.
7. Select the provided VB Another Block (Tetris) Example.sni file that resides in the following folder (assuming you have installed Modeler to the default location):
C:\ProgramData\PTC Integrity Modeler\Example\VB\Another Block (Tetris)
8. On the Standard tab of the Launch ACS/TDK dialog, confirm that the VB Generator.dll Code Generator DLL is selected.
9. Specify the Target Directory for generated code.
10. Click the Save and Launch button.
Wait for ACS to finish generating to the cache.
11. On the ACS/TDK Control toolbar, click the Force Generate button.
To build the VB Another Block (Tetris) Example application:
1. In Visual Studio, open the Another Block.slnfile that resides in the following folder (assuming that you have installed Modeler to the default location):
C:\ProgramData\PTC Integrity Modeler\Example\VB\Another Block (Tetris)\VS Project
2. Build the Another Block application.