Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Controlling MapInfo
Message
 
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00864232
Message ID:
00864685
Views:
12
Terry,

I don't have to have the tool to translate the VB code.
local mi
mi = CreateObject(”MapInfo.application”)
lcHWND = transform( thisForm.hWnd )
mi.do( ”Set Application Window ” + lcHWND )
mi.do( ”Set Next Document Parent ” + lcHWND + ” Style 1” )
mi.do( [Open Table ”World” Interactive Map From World] )
mi.RunMenuCommand( 1702 )
mi.do( [Create Menu ”MapperShortcut” ID 17 As ”(-” ] )
I will leave it up to you though to test the translation. *g*

>Thanks again for your interest. Below I include the section from the MB docn. that I adapted, trying to translate it into VFP, only I tried to use maps that I've already got. Maybe you wouldn't be able to get something working yourself if you don't have the relevant files?
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform