Visual Prolog Demo Examples of WEB Applications

The <VIP_root>\WWW\INETPUB\CGIsamp sub-directory includes demo examples of WEB applications.

These CGI examples are created from some of  simple Prolog example programs supplied with Visual Prolog. The examples are shipped with executables. 
You can run these ready-to-use examples at your local server, or examine and modify the source code of these examples.

How to Run Visual Prolog WEB Demo Examples from the CGIsamp Sub-directory?

To run Web applications from the <VIP_root>\WWW\INETPUB\CGIsamp directory at your local computer, you need to fulfill the following steps:

  1. Install MS Personal WEB server.
  2. Copy the content of <VIP_root>\WWW\INETPUB\CGIsamp directory into your server directory (e.g., Inetpub\wwwroot\CGIsamp).
  3. Provide the possibility to run executables from this directory. 
    There are several ways to do it:
  1. Use the "Advanced Options" item in the Personal WEB server.
  1. Another way to provide this possibility is to use the File|Properties menu command in the Windows Explorer or Windows Commander to invoke the Properties dialog for this directory.
  1. Start a browser that supports forms.
  2. Load http://<your server name>/cgisamp/index.htm.
  3. Run examples.

Where to Find the Source Code of Demo Examples of WEB Applications?

The source code of the WEB demo examples is  located in the <VIP_root>\WWW\CGI\Samples sub-directory.