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:

VT Applications
Emulation for ActiveX
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.
VT Emulator A fully functional VT320 Emulator can be enhanced and deployed ROYALTY-FREE!

FTP Applications
FTP for ActiveX
Command Tester Demonstrates the use of basic FTP commands.
ListView Client Demonstrates a fully-functional FTP Client application. Now includes proxy support.
FTP Proxy Login Demonstrates how to use the 5 basic types of FTP proxies/firewalls.
GetSite Demo Uses the Mget method to retrieve an entire directory tree.
GetUrl Demo Demonstrates use of the Get method to retrieve a file given only the URL to that file.
MListView Client Demonstrates a robust FTP Client application that transfers entire directories using drag and drop.
PutSite Demo Uses the MPut method to store an entire directory tree.
PutUrl Demo Demonstrates use of the Put method to store a file given only the URL to that file.

Email Applications
Mail for ActiveX
Address Verifier Shows how to use the SMTP control to verify an e-mail address before sending a message.
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.
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.
IMAP Client Demonstrates a fully-featured IMAP4 Client.
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.
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.
POP Client Demonstrates many aspects needed to create a simple message client program using the Message Object and the POP Control.
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.
SMTP Client Demonstrates how to build and send a message using the Message Object and SMTP Control.

Server Applications
Server for ActiveX
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.
Discard Server Uses the Server and Service Controls to create a server to receive any data stream.
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.
Echo Server Uses the Server and Service Controls to create a server which echoes back received data.
FTP Server Uses the FtpServer and Service Controls to implement an FTP Server Service.
Proxy Server Demonstrates how to use PowerTCP to perform the functions of several of the most common proxy types.
Simple Service Demo Demonstrates how to use PowerTCP to create a simple Windows NT service.
SMTP Server Uses the Server and Service Controls to implement an SMTP (mail) server.

SNMP Applications
PowerSNMP for ActiveX
Mib Viewer Uses the MIB Object to parse a MIB file and browse the contents in human readable form.
SNMP Agent Uses the SNMP Agent Control to build a simple agent that reports canned stats. Includes service support (NT only).
SNMP Explorer Uses the SNMP Manager and Treeview Control to create an Explorer-like view of available SNMP Agents. Incorporates the MIB Object.
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.
Table Browser Demonstrates browsing of SNMP Tables using the SnmpTable and SnmpTableRow Objects.
Trap Catcher Service that listens for and logs traps.
Variable Checker Uses the SNMP Manager Control to construct a request from a list of available MIBs and view the response.

SSL/Security Applications
SSL for ActiveX
Secure Client Uses the SecureTcp Control to make SSL connections to any secure TCP port.
Secure Echo Server Demonstrates a simple secure Echo server.
Secure FTP Client Demonstrates a simple secure FTP client.
Secure FTP Server Uses the SecureFtpServer Control to demonstrate a simple Secure FTP server.
Secure POP Client Demonstrates a simple SSL POP mail client that can be used with any POP server that supports secure communications.
Secure TCP Blaster A simple TCP Daemon and SSL client application that uses all three methods for receiving data: Receive, Search, and Fill.
Secure Web Client Demonstrates a simple secure HTTP/S client application.
Secure Web Server Demonstrates a simple multi-threaded Web Server application that serves up HTML pages stored in local files over a secure connection.
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.

Telnet Applications
Telnet for ActiveX
AutoLogin Demo Demonstrates how to use PowerTCP Telnet for ActiveX to create a scripted Telnet session.
Telnet Client Interactive application illustrates the use of Telnet, rexec, rsh, and rlogin.

HTTP Client Applications
Web Enterprise for ActiveX
Web for ActiveX
Link Spider Demonstrates how a spider can be built to gather information on the Web.
Page Fetch Demonstrates a simple HTTP application that fetches a web page.
Post Demo Demonstrates how to post information to a web site. Useful for automated form submission.
Web Alive Compares the download performance of any two web pages. Useful for comparing the relative performance of mirrored web servers.
Multi-Part Post Demo Demonstrates how to post information to a web site.

HTTP Server Applications
WebServer for ActiveX
Cookie Test Shows how to check for client-side cookie support, and how to set/read cookies on the client.
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.
Web FAQ Demonstrates a simple web-based database application that shows adding and presentation of answers to Frequently Asked Questions.
Web Forum Demonstrates how to create a fully-featured, database-driven web forum.
Web Server Demonstrates secure web server that can be configured to listen on any port.
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.

Network Applications/Network Utilities
Winsock for ActiveX
Dart Chat Uses the UDP Control and multicast datagrams to join chat sessions.
Dart Draw Allows two or more computers to simultaneously use a "whiteboad" to draw on.
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).
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.
Ping Client Uses the Ping Control to ping any host.
RAS Client Uses the RAS Control to demonstrate dial-up operation.
TCP Blaster Uses the Daemon and TCP Controls to demonstrate high-throughput operation.
TCP Client Uses the TCP Controls to build an interactive on-line application for time, character builder, smtp, echo, etc.
UDP Client Uses the UDP Control in an interactive "chat" application.
Web Alive Uses the TCP Controls to compare the performance of any two web servers.
Web Server Uses the Daemon and dynamic TCP Controls to build a simple multi-threaded VB application that serves up web pages.

Encryption Applications
Zip Compression for ActiveX
AES Encryption Demo Demonstrates AES encryption/decryption functionality.

Compression Applications
Zip Compression for ActiveX
File Search Allows user to search for files using wildcards, if files are found they are given the option to zip them.
Folder Archive Allows a user to archive folders as compressed files.
Unzipper Opens a Zip file and allows the user to extract it.
Zip Manager WinZIP style application
Simple Zipper A simple application to create compressed files.
Simple Unzipper A simple application to unzip compressed files.