Hi list,
Does anybody know how to embed mapinfo in access form?

i've created a form and created Mapinfo in Form_Load
but i cant reparent the map window.


My code is as follows:

dim mi as object

Sub Form_Load
set mi = CreateObject("Mapinfo.Application")  ' OK
mi.do "set application window Form.hwnd" ' OK
mi.do "open table ""building.tab"" interactive"  'OK
mi.do "set next document parent " & Form.hwnd ' Crashes
mi.do "map from building" ' OK but no map window
End Sub


Should i put a OLE Bounded or Unbounded object . 
How to reparent map window in access form..

best regards...
ahmet









_______________________________________________________________________
List hosting provided by Directions Magazine | www.directionsmag.com |
To unsubscribe, send e-mail to [EMAIL PROTECTED] and
put "unsubscribe MapInfo-L" in the message body.

Reply via email to