S Stefan Hoffmann Feb 23, 2010 #2 hi, Is it possible to call a mapbasic program using VBA (access) Click to expand... Shouldn't you ask the guys from MapInfo how to do that? mfG --> stefan <--
hi, Is it possible to call a mapbasic program using VBA (access) Click to expand... Shouldn't you ask the guys from MapInfo how to do that? mfG --> stefan <--
G gsalunkhe Mar 4, 2010 #3 Yes you can call MapInfo from VBA Access. Download the mapbasic its free in that you will find different ways. I am showing one of the way I used Dim mi As Objec Sub Form_Load() Set mi = CreateObject("MapInfo.application") mi.do "Set Application Window " & Form1.hWn mi.do "Set Next Document Parent " & Form1.hWnd & " Style 1 mi.do "Open Table ""World"" Interactive Map From World mi.RunMenuCommand 1702 mi.do "Create Menu ""MapperShortcut"" ID 17 As ""(-"" End Sub
Yes you can call MapInfo from VBA Access. Download the mapbasic its free in that you will find different ways. I am showing one of the way I used Dim mi As Objec Sub Form_Load() Set mi = CreateObject("MapInfo.application") mi.do "Set Application Window " & Form1.hWn mi.do "Set Next Document Parent " & Form1.hWnd & " Style 1 mi.do "Open Table ""World"" Interactive Map From World mi.RunMenuCommand 1702 mi.do "Create Menu ""MapperShortcut"" ID 17 As ""(-"" End Sub