A note to developers using Integrated mapping with MapInfo Products...
1) To launch MapInfo Runtime within VB code use:
Set MI = CreateObject("MapInfo.Runtime")
instead of:
Set MI = CreateObject("MapInfo.Application")
2) Beware that common object calls may NOT be compatible with the host Mapinfo version.
e.g. MI.Do "Set Map order 6,5,4,3,2,1" works with MapInfo 6.0, but not 7.8
Thus make sure to test all MapBasic code with the version matching your MapInfo pro version before using Integrated Mapping.
1) To launch MapInfo Runtime within VB code use:
Set MI = CreateObject("MapInfo.Runtime")
instead of:
Set MI = CreateObject("MapInfo.Application")
2) Beware that common object calls may NOT be compatible with the host Mapinfo version.
e.g. MI.Do "Set Map order 6,5,4,3,2,1" works with MapInfo 6.0, but not 7.8
Thus make sure to test all MapBasic code with the version matching your MapInfo pro version before using Integrated Mapping.
Comments