In the samples directory of the VSP ActiveX Control you can find demo application, which purpose is to show functionality of the software. It allows to create ports, pairs, reset virtual serial bus, manage port access list, assign virtual serial port settings manually, manage signal lines states, check versatile information about virtual serial ports, emulate full baudrate and connection line break.
Note, that demo application may slightly differ in different programming language version.

In "Port1" textbox you can type the name of the virtual serial port, which will be created when you press "Create port" button. Note, that in a case of successful port creation, "Create port" button will change its name to "Delete port". When you press "Delete port" button, an attempt to delete virtual serial port will be performed.
"Create pair" button creates virtual serial pair with the names you have typed in Port1 and Port2 textboxes. Note, that these 2 ports will be connected to each other via virtual null-modem cable.
"Reset Bus" button removes all virtual serial pairs, currently exist in the system.
"Send file" button allows selecting file to be sent through virtual serial pair. You may send it in chunks of bytes which amounts could be set in corresponding textbox.
In "Port access list" you can manage virtual port access rights (deny/grant) for selected programs which use virtual serial ports you create. This feature is made for those, who want to restrict access to created virtual serial ports for various applications. Note, that priority for masks is ascending, meaning when first match is met, further masks are ignored. Now, let's review 3 different examples of masks usage:
"Port settings" menu item allows you to assign virtual serial port settings manually, see how many bytes were sent\received and, moreover, to manage signal lines states by using the corresponding buttons: "Set CTS off", "Set DSR off", "Set DCD off" and "Set RING on".
How can you assign virtual port settings manually? For example, your application opened virtual serial port with the following settings: 9600,N,8,1. But you want your application operate virtual serial port with maximum connection speed, without any data loss.
The solution is the following: you should change virtual serial port settings manually in VSP AX, in our case, please, enable hardware flow control. So, you should enter the following virtual serial port settings in "Port settings" textfield: 9600,N,8,1,P and click "Set settings" button.
Let's review assigned settings of virtual serial port: 9600,N,8,1,P
The description of theese parameters is the following:
"Log data" textfield provides detailed log of detected events, like virtual serial ports creation, openening, closing, data sending, etc.
"Terminal emulation" becomes active only when other application opens virtual serial port. Now, if other application sends something to virtual serial port, you see it in terminal window. If you type anything in this window, other application will receive it. Note, that virtual serial port terminal is very simple, and supports sending data only when you type it. So, when you cut and paste something to it, the data will not be sent. Moreover, since version 5.0 you will see the exact path to the executable of the application that opens the port.
"Emulate baudrate" and "Emulate line break" checkboxes emulate full baudrate control and break connection line correspondingly. Mentioned options are available under Windows NT4/2000/XP/2003/Vista/Server 2008.
Remark: In case you are using C Builder or Borland Delphi then prior to compiling the sample application you have to import ActiveX into your development environment. For more details, please, check Install tips.