WinMark Pro ActiveX Sample Files
WinMark Pro v6/v5
The following examples work only with the WinMark Pro v6/v5 ActiveX control. Click here for WinMark Pro v4 ActiveX sample files.
Visual Basic Examples
The About VB Examples document briefly describes each Visual Basic sample included below.
Important Note: These examples work only with the WinMark Pro v6/v5 ActiveX control. This control is different than previous v2.x/v4.x OCX controls.
WinMark Pro v6/v5 ActiveX Control
See our WinMark Pro v6/v5 ActiveX Interface document for descriptions of ActiveX methods added to support FH Flyer in Stand-alone marking operation along with descriptions of several new general-purpose ActiveX Events and Methods.
WinMark Pro v5/v6 ActiveX Interface [.pdf]
WinMark Add Line Sample
The WMAddLine VB application provides multiple command buttons that illustrate many of the functions available through the WinMark Pro v6/v5's ActiveX control.
Visual C++ Examples
The About VC++ Examples document briefly describes each Visual Basic sample included below.
Container Sample
The Container VC++ application opens an existing .mkh file of your choice and displays a preview window. Two buttons allow you to rotate objects in the file.
Adding or inserting WinMark Pro's ActiveX control into your C++ project
This document describes the steps required for adding or inserting the WinMark Pro ActiveX control into your Visual C++ project.
WinMark Pro v4
The following examples work only with the WinMark Pro v4 ActiveX control. Click here for WinMark Pro v6/v5 ActiveX sample files.
Visual Basic Samples
The About VB document briefly describes each Visual Basic sample included below.
UID Sample
The UID VB application illustrates the use of ActiveX to combine multiple data elements along with ASCII control characters into the single mark object - in this case a 2D barcode.
Luggage Tag Sample
The Luggage VB application allows an operator to enter data to be printed onto a luggage tag by tabbing through name, address, and phone fields.
Spreadsheet Sample
The Spreadsheet VB application pulls data from a Microsoft®Excel spreadsheet file and uses that data to print dog-tag type information. A WinMark Pro®.mkh file is not necessary because the mark file and marked objects are created as needed within the VB code.
Timer Serial Number Sample
The TimerSN VB application uses input/output (I/O) automation within the Visual Basic code and a timer routine to mark a serial number that must reset to zero on every hour change. The last date, time, and serial number are stored in Window's System Registry to provide recovery in the event of a system crash.
WinMark Add Line Sample
The WMAddLine VB application provides multiple command buttons that illustrate many of the functions available through the WinMark Pro ActiveX control.
Mark Loop Sample
The Mark Loop VB application illustrates a typical automation scheme where WinMark Pro waits for a "start mark" input to begin marking and then signals to parts handling equipment that the laser is on - marking, or off - ready for a new part to be positioned.
Set/Get Digital Bits Sample
The SetDigBits VB application demonstrates how WinMark Pro's SetDigitalBit and GetDigitalBit ActiveX methods are used to set/clear marking head outputs and read input bit status.
Visual C++ Examples
The About VC++ Examples document briefly describes each Visual Basic sample included below.
Container Sample
The Container VC++ application opens an existing .mkh file of your choice and displays a preview window. Two buttons allow you to rotate objects in the file.
