RSC/MP 7.2 Programming Manual
Sample Code Overview
HP NonStop Remote Server Call (RSC/MP) Programming Manual—522360-004
F-4
Visual Basic Sample
The sample application and sample servlet are loosely based on RSCTEST and both 
allow series of RscWriteRead operations to be run against the echo server.
The Java sample code is delivered as source code and pre-built executable and class 
files. It is included with all Windows clients and with certain UNIX clients as indicated in 
the “Files Included” table in the UNIX installation section of the Remote Server Call 
(RSC/MP) Installation and Configuration Guide. All sample files related to Java are 
installed to the java directory within the samples directory within the RSC/MP product 
installation directory.
For more information, see the file readme.txt which is installed with the Java sample 
code. This file gives an introduction, a list of software requirements, instructions on 
running the compiled sample code as delivered and on rebuilding from source, and 
other useful notes.
Visual Basic Sample
The RSC/MP Visual Basic (VB) sample code is provided to demonstrate a way to 
access the RSC/MP API using Microsoft Visual Basic 6.
The RSC/MP VB sample application is called RscTestVB. It presents a Windows GUI 
interface similar to that of RSCTESTW. RscTestVB provides the same functionality as 
RSCTESTW in that it performs a series of RscWriteRead operations to the echo 
server. Additionally, RscTestVB presents additional controls that allow the user to 
exercise a greater number of RSC API functions than are required for the basic 
RSCTESTW-type operations; this expanded API coverage provides a means to verify 
that the VB declarations file (rsc.bas) contains correct declarations of the API 
functions.
RscTestVB is delivered as source code only; executable files are not delivered. 
RscTestVB is included with Windows clients only. To examine or build RscTestVB, use 
Microsoft Visual Studio 6. 
RscTestVB source files are installed to the testvb directory within the samples 
directory within the RSC/MP product installation directory. RscTestVB also depends on 
the VB declarations file rsc.bas which is installed to the include directory within the 
product installation directory.
For more information, see the comment header inside sample file RscTestTop.frm. 
The abstract in that header gives configuration requirements for client and host; and an 
overview of the organization of the sample code.
For information on programming RSC/MP applications in VB, see “Visual Basic 
Applications Considerations” on page 6-1. 
Visual Basic .NET Sample
The RSC/MP Visual Basic .NET (VB.NET) sample code is provided to demonstrate a 
way to access the RSC/MP API using Microsoft VB.NET. It may also be useful in 










