Hi list !
I hope you can help me. I am in a hurry !
I have the next problem using VBasic and MI via OLE
In the load form I run a MapBasic program (.mbx) which define several =
global variables and a custom toobar.
The problem I find is that when I want to use the variables defined en =
MB program, inside the VBasic, appears an error message indicating that =
the variables does not exists !
f.e:
In MB program ...
Global gobj_rectangle as object
In VB program
MI.Do "Create Rect Into Variable gobj_1 ......
Question: Why is not possible to use the global variable defined in the =
MB program ?
(If I define the variable in VB using a MI.Do "Dim ....", all works =
propertly)
-------------------------------------------------------------------------=
-------
Second problem:
As I told you, in the MB program I also define a ButtonPad with =
toolbuttons to draw points and polilynes with a Calling DDE clause
The problem is that neither is possible to run the buttonpad option from =
VB.
but ...
If I create the ButtonPad in VB, the application works propertly.
Can you help me please!
I have several drawing routines coded in MB that I need to use from VB =
program!
regards
Alejandro
_______________________________________________________________________
List hosting provided by Directions Magazine | www.directionsmag.com |
To unsubscribe, send e-mail to [EMAIL PROTECTED] and
put "unsubscribe MapInfo-L" in the message body.