I wrote
a simple Xplorer.tbk (TB8) as a sample of using Xplorer OCX. Before
running it you should register Xplorer.ocx on your computer. to To
get information about the element of book interface place cursor over
it.

Xplorer.tbk contains several pre compiled programs for
reading/writing MS Word/Excel/Power Pointfiles. Choose one of them
using Prog # spinner. Click Execute
to execute compiled program, in Variables window
you will see all used variables and their values. Click variable to
view its name. type and value. Reset Vars button
is used for variables memory initializations and correspondingly destroys
current variables, destroying all objects if any exist
To create new program find unused program memory (or
click New to clear current one), enter program name
(optionally) and program source code, push Compile.
Encountering syntax errors compiler displays them in P-code and LastError
windows. If compilation was successful the Compiled
property of the program is set to true and button Execute
is activated.
Data types. As it was mentioned before
OCX control supports all available in VB types of data including arrays.
The indication of the variable containing array is "()"
followed by the list of lower and upper array bounds (see, for example,
the variable type field on the screen above).
|