Dim MapInfo As Object
Set MapInfo = GetObject(, "MapInfo.Application.x64")
MapInfo.Do "Print ""Hello World"""
Are you launching your ”other application” from within the MapInfo Pro that you want it to “link” back to?
If yes, you might be able to send a reference to this MapInfo Pro to your application.
Peter Horsbøll Møller
Pitney Bowes
--
--
You received this message because you are subscribed to the
Google Groups "MapInfo-L" group.To post a message to this group, send
email to mapi...@googlegroups.com
To unsubscribe from this group, go to:
http://groups.google.com/group/mapinfo-l/subscribe?hl=en
For more options, information and links to MapInfo resources (searching
archives, feature requests, to visit our Wiki, visit the Welcome page at
http://groups.google.com/group/mapinfo-l?hl=en
---
You received this message because you are subscribed to the Google Groups "MapInfo-L" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
mapinfo-l+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
One of these attributes from the SystemInfo() function should do the trick:
|
SYS_INFO_MAPINFOWND |
9 |
IntPtr*: a Windows HWND of the MapInfo Pro frame window, or zero on non-Windows platforms. |
|
SYS_INFO_APPIDISPATCH |
17 |
IntPtr*: the IDispatch OLE Automation pointer for the MapInfo application. |
|
SYS_INFO_IMAPINFOAPPLICATION |
20 |
Returns an instance of the MapInfo Pro application represented as a .NET Specific Variable. This variable type refers to an instance of IMAPINFOPRO, which is the base interface providing access to MapInfo Pro components in your Add-ins. |
You might find this thread useful: https://groups.google.com/forum/#!topic/mapinfo-l/eZ4P1DTikUk
Specifically, have a look at Cliff B’s answer.
HTH,
Tom
From: mapi...@googlegroups.com [mailto:mapi...@googlegroups.com] On Behalf Of Sancarn
Sent: 24 March 2017 12:49
To: MapInfo-L <mapi...@googlegroups.com>
--
--
You received this message because you are subscribed to the
Google Groups "MapInfo-L" group.To post a message to this group, send
email to mapi...@googlegroups.com
To unsubscribe from this group, go to:
http://groups.google.com/group/mapinfo-l/subscribe?hl=en
For more options, information and links to MapInfo resources (searching
archives, feature requests, to visit our Wiki, visit the Welcome page at
http://groups.google.com/group/mapinfo-l?hl=en
---
You received this message because you are subscribed to the Google Groups "MapInfo-L" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
mapinfo-l+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.