call a mapbasic program

  • Thread starter Thread starter Al
  • Start date Start date
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
 
Back
Top