Hi,

 

I have been working in .NET for a while now, and decided to integrate
MapInfo with it.

 

I have just tried to convert the existing integrated mapping example of 

 

Sub Form_Load() 

 Set mi = CreateObject("MapInfo.application") 

 mi.do "Set Application Window " & Form1.hWnd

 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

 

But the forms1.hWnd is not supported anymore.

 

Does anyone know a work around for this, so I can convert my existing
code and have it still work with version 7.0 and below.

 

Regards

 

Jeff Spirek

 

 

Reply via email to