If you're looking to access variables that contain particular
characteristics about objects [MapInfo object type], the MapInfo visual
basic object has knowledge of what mbx(s) are running and a visual basic
object can be created to reflect an mbx that is running. This object can
access global variables in the mbx with method mbglobals().
Here's something you could try:
-------------
dim MapInfo as object
dim mbx as object
dim sYourData as string 'your data type etc...
Set MapInfo = CreateObject("mapinfo.application")
MapInfo.Do ("run application ""your.mbx""")
Set mbx = MapInfo.mbapplications("your.mbx")
......
sYourData = mbx.mbglobals("GlobalVariable")
--------------
Now, visual basic variable sYourData contains the value of the global
variable "GlobalVariable" in your.mbx.
Hope it helps,
Carol Sheehan
---------------------------------------------------------------------
List hosting provided by Directions Magazine | www.directionsmag.com |
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Message number: 2467