I think that the greater part of the tools were not suitable for release x64.NameView does not work on the map in the layout, MapCAD buttons.. missingAlso i have a big problem with tool and ribbon customization save , when create or edit ribbon and quick access toollbar ,it doesnt appear next time i opened.
for example , i created a custom group into the TABLE tab and e few application . and also i added lotsof things to the quick acess toolbar .
That should be doable.
First you can use the MapBasicApplications property on the IMapInfoPro instance to get a list of running applications.
If you loop thru this list you can check the application name of each and when you find the GELink tool, you can use the CallMapBasicSubroutine method on the IMapBasicApplication to execute a subroutine in that application.
Something along these lines (untested)
Dim theMapInfoApplication As This
Dim theMBApplications As This
Dim theMBApplication As This
Dim numMBApplications As Integer
Dim parameters(0) As String
'Get MIPro interface
theMapInfoApplication = SystemInfo(SYS_INFO_IMAPINFOAPPLICATION)
'Get list of MapBasic applications
theMBApplications = GetMapBasicApplications (theMapInfoApplication)
numMBApplications = GetIListCount(theMBApplications)
For i = 0 To (numMBApplications- 1)
theMBApplication = GetIListItem(i)
If GetIMBXName(theMBApplication) = “GELink” Then
Call CallMBXSub(theMBApplication, “PromptUser”, parameters())
End if
Loop
Peter Horsbøll Møller
Pitney Bowes