Why can't I figure out, get to work or find code for the following. All I want to do is open an existing PTM file in a MS Access subform.
Dim gappMP As Mappoint Application
Set gappMP = CreateObject("MapPoint.Application")
gappMP.OpenMap ("C:\Maps\AnyMap.ptm")
gappMP.Visible = False
gappMP.PaneState = geoPaneNone
'Get the handle of the MapPoint Window
ghwndMP = FindWindow(vbNullString, "Map")
'Remove MapPoint Title Bar
FlipBit ghwndMP, WS_CAPTION, False
LoadMap = True