Sample Software

Click on any of the links below to download the latest version.  Some of the samples are utilities we have written for use in our consulting business.  Others are sample projects we put together in response to questions from some of the newsgroups we sometimes frequent.  Not all samples are well documented or even commented (hey! they're free!).    Hopefully you can get the info you're are looking for from them.  If not, please feel free to ask questions.  We will answer whenever we have time.

Working with MS-Word from VB Illustrates a number of tasks using MS-Word from VB including starting and stopping word, opening and closing documents, and working with MS-Word form fields.
Manipulating MS-Word menus from VB Illustrates how to work with MS-Word built-in menus from VB or VB script.
A custom VB Add-In A basic template that can be used to create your own custom VB Add-Ins. This particular add-in will close all the open code windows in the IDE.
Using the SysTray Illustrates the use of the system tray.  Include the module in your projects for easy system tray functionality.
Extending Outlook 2000 using VB Illustrates using the Outlook 2000 object model to check for new email.  Also makes use of the system tray and the PTCTimer and PTCRegUtil objects from our PTC Utilities .
Retrieving NT User Information using VB  Illustrates how to use the NetUserGetInfo API call to retrieve NT username information.
An out-of-process server in VB Demonstrates both the server and client side of an out-of-process server in VB.  The server runs out of process and waits for a file to be placed on your hard drive.  When the file appears the server raises an event to the client.  Uses the PTCTimer object from our PTC Utilities .
Using User-Defined-Types in class modules Demonstrates how to use user-defined-types as parameters and return types for the methods of VB classes. This powerful feature is new in VB6 and can be very helpful in reducing the number of classes in your projects.
Using the WM_SETREDRAW message with the TreeView and ListView VB controls Demonstrates how to use the SendMessage API call to speed up those Listview and TreeView controls.

Some samples may make use of the PTC Utilities found in our Software Updates section.

Pine Tree Computing makes no warranty expressed or implied regarding the use or functionality of the code samples contained herein.  Use at your own risk.  While Pine Tree Computing makes every effort to be sure our downloads are virus free, it is your responsibility to protect yourself against possible virus attack.  Pine Tree Computing accepts no liability for loss of revenue or value, damage, or other negative impact that may be caused by the use of this software or code samples.