Visual Basic Samples

This page contains a list of all Visual Basic samples included with a PowerTCP product line installation. Find the application you are interested in from the list below, then click the product link next to the application to download a 30-day trial which includes the source code to the application.


Choose an application category:

Sample Name Sample Description Product
VT Emulation Applications
Data Capture Demonstrates how to use the VT Control with the aid of the Telnet Control to access data from either a local file or a Unix box. Once the file is accessed, it is sent to the VT Control to strip out the escape sequences. The data is then extracted from the VT Control and sent to an Excel application. Emulation for ActiveX
VT Emulator A fully functional VT320 Emulator can be enhanced and deployed ROYALTY-FREE! Emulation for ActiveX
FTP Applications
Command Tester Demonstrates the use of basic FTP commands. FTP for ActiveX
ListView Client Demonstrates a fully-functional FTP Client application. Now includes proxy support. FTP for ActiveX
FTP Proxy Login Demonstrates how to use the 5 basic types of FTP proxies/firewalls. FTP for ActiveX
GetSite Demo Uses the Mget method to retrieve an entire directory tree. FTP for ActiveX
GetUrl Demo Demonstrates use of the Get method to retrieve a file given only the URL to that file. FTP for ActiveX
MListView Client Demonstrates a robust FTP Client application that transfers entire directories using drag and drop. FTP for ActiveX
PutSite Demo Uses the MPut method to store an entire directory tree. FTP for ActiveX
PutUrl Demo Demonstrates use of the Put method to store a file given only the URL to that file. FTP for ActiveX
Email Applications
Address Verifier Shows how to use the SMTP control to verify an e-mail address before sending a message. Mail for ActiveX
Bulk Mailer Uses the SMTP Control to show how to send the same message to many recipients. Addresses are taken from a CRLF delimited text file. Uses the POP Control to show how to maintain a list of people who have replied with REMOVE in the subject. Mail for ActiveX
DB POP Uses the Database capabilities of VB to create a database and populate it with all messages that currently reside in a designated POP3 account. Mail for ActiveX
IMAP Client Demonstrates a fully-featured IMAP4 Client. Mail for ActiveX
Mail Forwarder Uses the POP Control to retrieve all messages for a given source address. Uses the SMTP Control to forward those messages to a given destination. Mail for ActiveX
Message Chunker Uses the SMTP Control and the Message Object to show how to break a large message into several smaller chunks that the receiver can later reassemble back into a single large message. Mail for ActiveX
POP Client Demonstrates many aspects needed to create a simple message client program using the Message Object and the POP Control. Mail for ActiveX
Quick Send Demo A simple version of the SmtpClient application. Uses the QuickSend method to show how to quickly send a message with very little coding. Mail for ActiveX
SMTP Client Demonstrates how to build and send a message using the Message Object and SMTP Control. Mail for ActiveX
Server Applications
Character Generator Uses the Server and Service Controls to create a server which generates a continuous stream of characters. We use this for QA stress testing. Server for ActiveX
Discard Server Uses the Server and Service Controls to create a server to receive any data stream. Server for ActiveX
DNS Proxy A program that could be used to intercept DNS requests and perform actions based on the request (in this case a simple log file) before supplying the response to the requestor. Server for ActiveX
Echo Server Uses the Server and Service Controls to create a server which echoes back received data. Server for ActiveX
Flash Server Demonstrates how to send messages to a (Macromedia) Flash Client using Flash 5's XMLSocket Object. Server for ActiveX
FTP Server Uses the FtpServer and Service Controls to implement an FTP Server Service. Server for ActiveX
Proxy Server Demonstrates how to use PowerTCP to perform the functions of several of the most common proxy types. Server for ActiveX
Simple Service Demo Demonstrates how to use PowerTCP to create a simple Windows NT service. Server for ActiveX
PowerSNMP for ActiveX
SSL for ActiveX
WebServer for ActiveX
SMTP Server Uses the Server and Service Controls to implement an SMTP (mail) server. Server for ActiveX
SNMP Applications
Mib Viewer Uses the MIB Object to parse a MIB file and browse the contents in human readable form. PowerSNMP for ActiveX
SNMP Agent Uses the SNMP Agent Control to build a simple agent that reports canned stats. Includes service support (NT only). PowerSNMP for ActiveX
SNMP Explorer Uses the SNMP Manager and Treeview Control to create an Explorer-like view of available SNMP Agents. Incorporates the MIB Object. PowerSNMP for ActiveX
SNMP Manager Uses the SNMP Manager Control to build a simple manager. Supports queries for basic variables, either by discovery or specific address. Also shows how to set values. PowerSNMP for ActiveX
Table Browser Demonstrates browsing of SNMP Tables using the SnmpTable and SnmpTableRow Objects. PowerSNMP for ActiveX
Trap Catcher Service that listens for and logs traps. PowerSNMP for ActiveX
Variable Checker Uses the SNMP Manager Control to construct a request from a list of available MIBs and view the response. PowerSNMP for ActiveX
SSL/Security Applications
Secure Client Uses the SecureTcp Control to make SSL connections to any secure TCP port. SSL for ActiveX
Secure Echo Server Demonstrates a simple secure Echo server. SSL for ActiveX
Secure FTP Client Demonstrates a simple secure FTP client. SSL for ActiveX
Secure FTP Server Uses the SecureFtpServer Control to demonstrate a simple Secure FTP server. SSL for ActiveX
Secure POP Client Demonstrates a simple SSL POP mail client that can be used with any POP server that supports secure communications. SSL for ActiveX
Secure TCP Blaster A simple TCP Daemon and SSL client application that uses all three methods for receiving data: Receive, Search, and Fill. SSL for ActiveX
Secure Web Client Demonstrates a simple secure HTTP/S client application. SSL for ActiveX
Secure Web Server Demonstrates a simple multi-threaded Web Server application that serves up HTML pages stored in local files over a secure connection. SSL for ActiveX
Secure Web Alive A secure version of the Web Alive sample which compares the download performance of any 2 web pages. Useful for comparing the relative performance of mirrored Web Servers. SSL for ActiveX
Telnet Applications
AutoLogin Demo Demonstrates how to use PowerTCP Telnet for ActiveX to create a scripted Telnet session. Telnet for ActiveX
Telnet Client Interactive application illustrates the use of Telnet, rexec, rsh, and rlogin. Telnet for ActiveX
HTTP Client Applications
Link Spider Demonstrates how a spider can be built to gather information on the Web. Web Enterprise for ActiveX
Web for ActiveX
Page Fetch Demonstrates a simple HTTP application that fetches a web page. Web Enterprise for ActiveX
Web for ActiveX
Post Demo Demonstrates how to post information to a web site. Useful for automated form submission. Web Enterprise for ActiveX
Web for ActiveX
Web Alive Compares the download performance of any two web pages. Useful for comparing the relative performance of mirrored web servers. Web Enterprise for ActiveX
Web for ActiveX
Multi-Part Post Demo Demonstrates how to post information to a web site. Web Enterprise for ActiveX
Web for ActiveX
HTTP Server Applications
Cookie Test Shows how to check for client-side cookie support, and how to set/read cookies on the client. WebServer for ActiveX
Multi-Interface Demonstrates how to create an application that can serve a similar interface on both the Windows operating system and the Internet. This also includes a secondary web server that acts as a remote security control for the application. WebServer for ActiveX
Web FAQ Demonstrates a simple web-based database application that shows adding and presentation of answers to Frequently Asked Questions. WebServer for ActiveX
Web Forum Demonstrates how to create a fully-featured, database-driven web forum. WebServer for ActiveX
Web Server Demonstrates secure web server that can be configured to listen on any port. WebServer for ActiveX
XML Database Demonstrates how to use the WebServer control to serve XML code. This sample requires ADO version 2.1 or higher and Microsoft's XML Parser v3 or higher. Please refer to the Readme file installed with the sample or the sample itself if you need to download the latest versions from Microsoft. WebServer for ActiveX
Network Applications/Network Utilities
Dart Chat Uses the UDP Control and multicast datagrams to join chat sessions. Winsock for ActiveX
Dart Draw Allows two or more computers to simultaneously use a "whiteboard" to draw on. Winsock for ActiveX
DNS Client Uses the DNS Control to resolve any host name to an address (type A records), any address to its hots name (type PTR records), any email address to its host name and address (type MX records). Winsock for ActiveX
Email Address Verifier Uses the DNS control to find a server responsible for an email address, then connects to that server using the TCP and issues SMTP commands to determine validity. Winsock for ActiveX
Ping Client Uses the Ping Control to ping any host. Winsock for ActiveX
RAS Client Uses the RAS Control to demonstrate dial-up operation. Winsock for ActiveX
TCP Blaster Uses the Daemon and TCP Controls to demonstrate high-throughput operation. Winsock for ActiveX
TCP Client Uses the TCP Controls to build an interactive on-line application for time, character builder, smtp, echo, etc. Winsock for ActiveX
UDP Client Uses the UDP Control in an interactive "chat" application. Winsock for ActiveX
Web Alive Uses the TCP Controls to compare the performance of any two web servers. Winsock for ActiveX
Web Server Uses the Daemon and dynamic TCP Controls to build a simple multi-threaded VB application that serves up web pages. Winsock for ActiveX
Encryption Applications
AES Encryption Demo Demonstrates AES encryption/decryption functionality. Zip Compression for ActiveX
Compression Applications
File Search Allows user to search for files using wildcards, if files are found they are given the option to zip them. Zip Compression for ActiveX
Folder Archive Allows a user to archive folders as compressed files. Zip Compression for ActiveX
Unzipper Opens a Zip file and allows the user to extract it. Zip Compression for ActiveX
Zip Manager WinZIP style application Zip Compression for ActiveX
Simple Zipper A simple application to create compressed files. ZipLite Compression for ActiveX
Simple Unzipper A simple application to unzip compressed files. ZipLite Compression for ActiveX