Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
MapPoint - Union
Message
De
13/06/2003 11:01:56
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Titre:
MapPoint - Union
Divers
Thread ID:
00799805
Message ID:
00799805
Vues:
59
Hello,

can anybody help... i'm working with MS MapPoint 2002 and I'm using the following code to show two maps on the same screen :

*** The MapPoint active-x control is placed on the form ***

loLocBrussels = thisform.OleMapPoint.ActiveMap.FindPlaceResults("brussels").Item(1).Location
loLocAntwerp = thisform.OleMapPoint.ActiveMap.FindPlaceResults("antwerp").Item(1).Location

DIMENSION lalocations[2,1]
lalocations[1,1] = loLocBrussels
lalocations[2,1] = loLocAntwerp

loUnion = thisform.OleMapPoint.ActiveMap.Union(lalocations)
loUnion.GoTo()


I get the error : "invalid parameter". In VB they use the function Array(loLocBrussels,loLocAntwerp) to transfer the 2 objects to an array... In FoxPro this command does not exist...
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform