44.8.2 Visual Basic Example

A Visual Basic .NET example can be found in pbnetexamples('vb_examples.NET/calculator'). It is a simple calculator similar to the first C# EvaluateGUI example in PB .NET Embedding. This example is in the form of a Visual Studio project.

To run the example:

  1. Open the project files in Visual Studio .NET
  2. Add a reference in Visual Studio .NET to the installed prologbeans.dll
  3. Start sicstus with the following command:
              sicstus -l %SP_PATH%/library/prologbeans/examples/evaluate/evaluate --goal "main."
  4. Build and run the example in Visual Studio .NET