I am trying to run an instance of Mapinfo in a VFP6 Form. This is the VB code.
How would I redirect the Mapinfo window to my VFP6 form. Mapinfo is actually running in the background. MapFrame.hwnd refers to a VB Picture Box on a VB Form.
* 'Create the Map window
mapinfo.do "Set Next Document Parent " & MapFrame.hWnd & " Style 1"
*!* I can get the following code to work.
mapinfo.do ([Open Table "c:\cv\states.tab" interactive Map From States])
*VB Code
mapinfo.do "Map From States"
mapid = Val(mapinfo.eval("WindowID(0)"))
mapinfo.do "Set Map Window " & mapid & " Center (-95.5,36.5) Zoom 3300"
James Harvey, MCP
Memphis Police Department
225 Channel Three DR
Memphis, TN 38103
901 577-1296