Downloads

Downloads image

You must be logged in to download files if you have not signed up before then click the create a new user link.

VEE Examples: trap a key press

The first question was how to trap a key press in VEE and perform some operation as a result. This simple example shows trapping of the arrow keys, a dialog box pops up to state which key has been pressed.

VEE Examples: trap 2 key presses

As an extension to the one above, this shows a crude handling of two keys at the same time: in this case only if you press down followed by left, but it shows the principle behind dealing with more than one event.

Searching a Text Array

Often it is required to check an array of text for a match with a given text e.g. username lookup. This tip describes a simple and fast way to check for a match and, if required, find the element index with which the match was made.

Using Web Services

Web services are simple but potentially very powerful. Creating, deploying and consuming with the aid of certain development environments is a snip, but the examples shipped with VEE possibly look off-puttingly complex. This tip explains SOAP, the web service consumption process and provides an example in VEE without using .NET. It also has a web page example which might be of interest to non-VEE users.

Password Mini-Tutorial

There are several ways to provide password-protection to a VEE application. This mini-tutorial takes you though a method which avoids hard-coded passwords in the VEE file. Download the zip file below which contains documentation and an example in VEE.

Tip/Function Helper to Import Windows System DLLs

You may want to have different header files to deal with Windows system DLLs - User32.dll and Kernel32.dll. Instead of using a file it is often neater to write the text to a temporary file just while importing the library. Download the zip file below which contains documentation and an example in VEE.

SendKeys Tool

There are some applications that you may want to control but they do not have the interface to allow this - or maybe you just want to extend the functionality of a current application. The SendKeys method allows you to send keystrokes to the active window as if typed at the keyboard. The download zip file contains documentation and an example in VEE. Tools supplied by:Shawn Fessenden, Oswego Software Inc.

VEE 'Talking' using MS Agent Example

There is an example provided with VEE using the MS Agent ActiveX component but I like the simplicity of this example and the positioning and timing of the agent are better aesthetically in my opinion. Example supplied by:Rick Page, Futaba Corporation of America

Text Parsing Tools

VEE has a few tools for extracting tokens from strings but sometimes these don't quite do the job. Here are two tools contributed - one allows several delimiters to be used the other is a set of tools for parsing from strings, arrays of strings and also some useful conversions from binary arrays to integer or to a string. It has a tool for extracting data from a text file but ignoring comments starting with #. Tools supplied by: Barrie Walden, Woods Hole Oceanographic Institution and Rob Marquardt, Rockwell Automation/Allen-Bradley

VEE Object Libraries (VOL)

VEE can be made to operate in an object-oriented way. This library and the associated templates and descriptions are designed to help you use it that way. Have a look at volrdme.html for an overview.

VEE CSV File Interaction (clCSVFile)

Well here is a pretty cool tool which works as an object within the VEE Object Libraries. It deals with CSV files (comma-separated values files) in an almost database-like style. Have a look at clcsvrdme.htm for an overview.

Retrieving Directory Information

This tool retrieves and displays the files and folders within the directory specified. This is achieved by using the some of the Windows API functions resident in the Kernel32.dll file. Sorry: this tool can only be used in VEE Pro (6). Tools supplied by:James Atkin, Com Dev Wireless

VEE Ini File Interaction (clIni)

This tool works as an object within the VEE Object Libraries. It deals with Ini files allowing the application to read different Key values and to change them. The accompanying example shows you how to use the tool without using VOL itself, to use VOL refer to the VOL and clCSVFile examples above.

Set System Time Using a GPS via a COM Port

Very simply this tool reads the data from the GPS COM port and picks out the time, then sets the PC system time accordingly. Currently set up for COM2. Uses a Garmin GPS 'smart antenna' module which comes with an RS-232 link. The link needs to be wired to a 9-pin plug and power needs to be provided - this can be routed from the backplane. Contact us for more details.

Visual Basic ActiveX Automation: Create And Use

A mini-tutorial which steps through the process of creating a simple ActiveX automation object using Microsoft Visual Basic 6 and then using the object in VEE.

ActiveX Automation with Microsoft Access

This is a mini-tutorial which covers basic interaction between VEE and Access. The example files show you how to connect your VEE application to an Access database to read and write to fields in a table.

Static, Pop-up and Status Panels

This mini-tutorial demonstrates a few ideas of using panels from the very basic, adding panels which are 'buried' in UserObjects, dialog- boxes and status-and-control panels. It includes a few hints that may not be immediately obvious too.

Find, process and find next loops

This is a mini-tutorial which covers basic loop constructs for those starting out with VEE; and so-called "feedback loops" which make several iterations before they complete for more advanced VEE users.

ActiveX Automation with Microsoft Excel

This is a mini-tutorial which covers basic interaction between VEE and Excel. The example files show you how to connect your VEE application to an Excel workbook and add worksheets, change names, read values and format columns.

OK Buttons and VEE Program Flow

This is a mini-tutorial which covers basic use of OK buttons and similar program flow ideas which are sometimes a little difficult to grasp. This is really aimed at beginners to VEE - more seasoned programmers will find this rather basic.

Serial Comms

This is a mini-tutorial which takes you through the various steps required to achieve a serial comms link and points out some tips on the way.

Pass a runtime version some parameters from a normal vee program

Use the '--custom-option' feature provided in VEE. Add the parameters to the command line in the calling program and extract this from the commandLine() function in the called program. The example gives more information.

Append a value to an array i.e. increase its length by one

This uses the concatenate object ( I knew it must be useful for something! ). The downloadable file shows an example.

Call a VEE UserFunction Indirectly.

You can do a generic function call by creating the text you want to use as the call then using the formula control input to a formula object to make the call. The example uses an enum to select the function but this could be any method of selecting or creating text. Notes: (a) the output-to-sequence input is to ensure the formula is set before the formula object fires (b) you can only have one output from a call ( if there are several outputs from a UserFunction it returns the upper-most one ) and (c) the result is zero in the absence of an output pin.

Read all text from file without losing any formatting, ( i.e. no data loss ), into an array

Using a 'From File' object from the I/0 menu and change the transaction to READ TEXT x TOKEN EXCLUDE:"\n" ARRAY:* The downloadable file shows an example.

Read values from a comma-separated-values file into VEE and ignore the commas

Use a 'From File' object from the I/0 menu and change the transaction to READ TEXT x TOKEN EXCLUDE:",\n\r" ARRAY:*,3. The downloadable file shows an example. This will read in all the data from the csv file as for 'all text including formatting' example but this exclude clause will ignore commas, line feeds and carriage returns. This will put the data into an array 3 columns wide and as many rows as the csv file.

Precise Test Manager Brochure

A brochure containing more detailed information of the Precise Test Manager containing its features and operational information.