|
|
ShareWare and Sample Code(updated 15 June 2003)
Generic Visual Basic Modules
MultiValue Visual Basic Modules
MultiValue Connectivity VB Modules
All of these code samples are written for Visual Basic 4.0-16 (and higher) and most (except where noted) require a version of the MVB Code Library.
CADUCEUS.BAS (updated 06 June 2003)My standard, always-present code libraryThis VB code module contains the kind of things I wished were built-in to VB when I wrote them (and may now be). I never write an application without including this file (compatible with VB4-16 and up).
GRIDEDIT.BAS (updated 03 April 2002)A code library for editing values directly in the MS Grid controlThis VB code module contains about a dozen procedures that allow you to directly edit the contents of grid cells within the standard Microsoft Grid control (GRID.VBX). It does this by invisibly aligning editing controls over the appropriate grid cell, and keeping the values in sync.
TEMPLATE.FRM and TEMPLATE.BAS (updated February 2002)Form and code module versions of a library to manipulate an MS Word document as a template from VBThese mutually exclusive VB4 modules each contain seven externally callable procedures that allow you to edit an MS Word document as a template from VB, using OLE. OLE (Object Linking and Embedding) programming can be tricky, given the difficulty of finding the right documentation and examples for the job. These modules make it easy for any VB programmer to add a powerful print utility to their data edit screens. Because the output comes from a template stored as a Word document, even less sophisticated users can edit the template and determine the content and layout of their output. The TEMPLATE.FRM and TEMPLATE.BAS modules also include options to load template legends and data from the DICT and DATA sections of a remote MultiValue host (of course!). NOTE that both modules use the Caduceus Consulting MVB code library. The shareware ZIP file contains the following files:
Back to TopMVB_ONLY.BAS (updated 27 March 2003)Pick BASIC functionality for VB projects (except for Data Access)This VB code module contains over 50 procedures that give you MultiValue host BASIC functionality for your VB projects. Functions such as DCOUNT, FIELD, EXTRACT, INSERT, REPLACE, INDEX, and LOCATE are all provided as readable VB source. This version of the MVB Code Library was designed for unlinked systems that do not require data read/write capabilities to/from a MultiValue host. Other versions of the MVB Code Library support full functionality, including read, write, subroutine calling, and executes. The shareware ZIP file contains one file:
MVBGRID.BAS (updated 17 November 1998)A code library for using a Grid control to edit multivaluesThis software would ONLY be of interest to MuliValue (Pick) industry users. For generic VB programmers who want to edit values directly in the Microsoft Grid control, download the GRIDEDIT.BAS library. This VB code module contains about a dozen procedures that allow you to use the standard Microsoft Grid control (GRID.VBX) to edit multivalued data in a variety of ways. If you are familiar with the EDITGRID.BAS module from VMark, you should note the following differences:
The shareware ZIP file contains the following files (compatible with VB4-16 and up):
Back to TopMVBLDUPD.BAS (updated 25 March 2003)Fast MultiValue item loading and updating to/from VB controlsSome time ago, I developed technique for fast implementations and prototyping of application screens. Note that I don't necessarily recommend this in all situations, for two reasons: (1) it involves hard-coding of attribute numbers, which is rarely a good idea; and (2) it makes somewhat unorthodox use of a property in Visual Basic (DataField). That being said, here's how it works:
To read more about the techniques and code used, check out the corresponding Ask the MV/VB expert article. Meanwhile, I will share with you the standard load and update routines that I use to connect VB text, list, combo, check box, option button, and grid controls to MultiValue data. The shareware ZIP file contains the following files (compatible with VB4-16 and up):
MVB Library for mvBASE systems (updated January 2003)VB 6 modules and mvBASE host source to create the MVB library, using the Client Link OCX (clink.ocx), giving you full access to MultiValue data and functionality from VBThe NT version of the MultiValue operating environment supplied by GA (now supported by Raining Data) is called mvBASE. It comes with a file called the Client Link OCX (clink.ocx), which supposedly gives you connectivity from VB to the host data. Good Luck. It took me a long time to turn this into a usable library. For some background on this software, you may wish to read the corresponding Ask the MV/VB expert article. The Caduceus Consulting MVB code library. The shareware ZIP file contains the following files:
Back to TopJETisonA utility to convert JET or RUNOFF documents to Word or WordPerfect (available for a limited time on request)JETison is an EXE that allows you to select JET or RUNOFF source documents on your remote host, and then converts them to RTF (Rich Text Format) on your PC. RTF is readable by all mainstream word processors, including MS Word and WordPerfect. This utility attempts to duplicate the SOURCE FUNCTIONALITY of the document, rather than just mimic the output. The result is that rulers are maintained as closely as possible, and things like paragraph breaks occur only where the original document had them, not at the end of every printed line. Back to TopCopyright © 1997-2003 Caduceus Consulting. All rights reserved.
|
Copyright © 2006 intellact
|