Importing or exporting macros in dataexplorer.vb6 – HP Data Explorer 4 Series User Manual

Page 313

Advertising
background image

Using the Macro Recorder

Data Explorer

Software User’s Guide

6-43

6

6.7.7 Importing or Exporting Macros

in DATAEXPLORER.VB6

You can import macros into, or export macros from, the
DATAEXPLORER.VB6 project for use in the Data Explorer
software.

Importing when

new versions of

Data Explorer

software installed

When you install a new version of the Data Explorer software:

The DATAEXPLORER.VB6 file is not overwritten. This
allows you to maintain any macros you have developed
in the DATAEXPLORER.VB6 file.

New macros are supplied in stand-alone ASCII format
(.BAS and .FRM files) in C:\MARINER\PROGRAM\
MACROS or C:\VOYAGER\MACROS and are not
incorporated into the DATAEXPLORER.VB6 file
automatically.

To make the new macros available for use, import them into
the DATAEXPLORER.VB6 file.

Importing

NOTE: You can also import by opening NT Explorer, then
click-dragging the files into the DataExplorerProject
displayed in the Visual Basic Editor window.

To import macros:

1.

Access the Visual Basic Editor from Data Explorer as

described in Section 6.7.6, Advanced Macro Editing.

2.

From the File menu, select Import File.

3.

Select the .BAS file (Basic File module containing the
macros) or .FRM file (form containing the user interface
for the macros, if applicable), then click Open.

Advertising