Hi Daniel,

If you're programming Excel, it's gotta be COM based. In that case, I'd suggest you 
use MapInfo Pro's COM interface, limitated as it
may be, and forget all about DDE. Use it to have Pro export a map image, and insert 
this into Excel.

'VB example
Dim oMIPro as Object
Set oMIPro = CreateObject("MapInfo.Application")
oMIPro.Do "... the necessary MapBasic commands ..."
' e.g. open tables, create mapper windows - or just open a suitable workspace - and 
export the map window as (e.g.) a BMP
Set oMIPro = Nothing
'do your excel work here

Or you could just manually drag'n'drop a map window into Excel using Pro's drag tool ?

Best regards/Med venlig hilsen
Lars V. Nielsen
GisPro, Denmark
http://www.gispro.dk/
----- Original Message ----- 
From: "Daniel York" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, June 16, 2004 4:49 PM
Subject: MI-L DDE application communication




Dear MapInfo Users

I have recently been researching the possibility of requesting images / charts from 
MapInfo Pro into
Excel.

This appears possible using DDE and have studied literature in the Mapbasic developers 
guide and help files etc.

However, I am a little unsure does anybody have time to list any advice, useful 
websites or any sample code that may
make the task a little easier for me to grasp.

Thanks


Daniel

************************************************************************************************
Please do not print this e-mail if you can help it - and help protect the environment.
************************************************************************************************
This Message may contain confidential information and is protected by copyright.
If you receive it in error please notify us and delete it without making use of or 
copying it.
The addressee and other employees within the Council may read and copy any e-mail
reply to this message and other e-mails you send to us.
Whilst we use virus checking procedures we accept no liability for viruses and 
recipients
must rely on their own virus checking procedures.
************************************************************************************************
The Council's web site address is www.southtyneside.info

South Tyneside Business Week
7-13th July 2004, Bents Park, South Shields
www.southtyneside.info/businessweek

---------------------------------------------------------------------
List hosting provided by Directions Magazine | www.directionsmag.com |
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Message number: 12228



---------------------------------------------------------------------
List hosting provided by Directions Magazine | www.directionsmag.com |
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Message number: 12241

Reply via email to