RE: MI MapBasic and Visual Basic

2000-02-20 Thread Brad Mathews

Harald,

It has been a while since I have done this, but you need to use DDE. You can
transmit data back and forth, but I do not recall the method (and my source
code is long gone). A little study of the DDE interface should point the
way.

The other option, which may or may not work in your situation, is to use VB
as your primary interface and use OLE to interface with Mapinfo Pro
(integrated mapping). You can run Mapbasic function and all kinds of neat
things this way. It is more stable, more flexible and more powerful.

- Brad

> -Original Message-
> From: Harald Schoelzel [SMTP:[EMAIL PROTECTED]]
> Sent: Saturday, February 19, 2000 8:25 PM
> To:   '[EMAIL PROTECTED]'
> Subject:      MI MapBasic and Visual Basic
> 
> I'd like to include an existing VB application into my MapBasic
> application
> - mainly because I find it somewhat cumbersome to design forms etc in MB.
> 
> What would be the best way to include the VB app and enable dataexchange
> from VB to MB? And what would be the syntax for that, eg if I used DDE can
> I
> initiate the data request through the DDEInitiate command with Visual
> Basic
> and MyVPapp.EXE as topic/ statement. Would the VB application have to be
> set
> up as a server/ client?
> 
> Could all that be done through OLE.
> 
> Thanks for your efforts and please copy reply to  my e-mail.
> 
> Harald Schölzel
> Economist Civil Engineer
> c/o SOPAC South Pacific Applied Geoscience Commission
> Private Mail Bag
> Suva, Fiji
> Tel: Business (679) 381 377 private (679) 386 236
> Fax: (679) 370 040
> Mailto:[EMAIL PROTECTED]
> URL: http://www.sopac.org.fj/wru
> Mirror URL: http://www.sidsnet.org/pacific/sopac/wru
> 
> --
> To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put
> "unsubscribe MAPINFO-L" in the message body, or contact [EMAIL PROTECTED]
--
To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put
"unsubscribe MAPINFO-L" in the message body, or contact [EMAIL PROTECTED]



MI MapBasic and Visual Basic

2000-02-19 Thread Harald Schoelzel

I'd like to include an existing VB application into my MapBasic application
- mainly because I find it somewhat cumbersome to design forms etc in MB.

What would be the best way to include the VB app and enable dataexchange
from VB to MB? And what would be the syntax for that, eg if I used DDE can I
initiate the data request through the DDEInitiate command with Visual Basic
and MyVPapp.EXE as topic/ statement. Would the VB application have to be set
up as a server/ client?

Could all that be done through OLE.

Thanks for your efforts and please copy reply to  my e-mail.

Harald Schölzel
Economist Civil Engineer
c/o SOPAC South Pacific Applied Geoscience Commission
Private Mail Bag
Suva, Fiji
Tel: Business (679) 381 377 private (679) 386 236
Fax: (679) 370 040
Mailto:[EMAIL PROTECTED]
URL: http://www.sopac.org.fj/wru
Mirror URL: http://www.sidsnet.org/pacific/sopac/wru

--
To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put
"unsubscribe MAPINFO-L" in the message body, or contact [EMAIL PROTECTED]