Please enable JavaScript to view this site.

IBM® SPSS® Amos™ 28

This section shows how to use Visual Studio 2015 to fit the model of Example 1 in the User's Guide.

1.(You only have to do this once.) Install Visual Studio 2015.  The free Visual Studio Community 2015 can be used.
 

2.(You only have to do this once.) Double-click the file Amos.VSIX in the Amos program folder. This installs Visual Studio templates that give you a head start in writing Amos programs.
 

3.Open Visual Studio and click File > New Project.
 

4.In the New Project dialog, select Visual Basic and then Amos Engine XX Console App, where XX is the version of Amos you want to use.
 
AmosEngineNewProject
 
You can enter your own values for Name, Location and Solution name, or just accept the default values.
 

5.Click OK to close the New Project dialog.
 

6.View Module1 by clicking Module1 in Solution Explorer.
 
AmosEngineModule1_a
 

7.Enter the code for Sub Main as follows (just below the comment "Your code goes here".)
 
AmosEngineModule1_b
 
The User's Guide gives a line-by-line explanation of the code for Sub Main in the Modeling in VB.NET section of Example 1.
 

8.To run the program, click Debug > Start Debugging on the menu, or press the F5 key. After the program runs, the Amos Output window will open to display the program output.
 

© 2021 Amos Development Corporation