Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VB and MapPoint events
Message
 
À
04/03/2003 09:29:08
Vladimir Zhuravlev
Institute of the Physics of Earth,Russia
Moscow Region, Russie
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00760811
Message ID:
00760851
Vues:
15
Are you able to reproduce VFP with Mappoint examples:

http://support.microsoft.com/default.aspx?scid=kb;EN-US;Q286020 ,
http://support.microsoft.com/default.aspx?scid=kb%3Ben-us%3B297348

?

>>The line:
>>
>>Dim WithEvents MapApp As MapPoint.Application
>>
>>is the key to receive events from object in VB, i.e. without it you will not receive events. This line requires you to set reference to the MapPoint library. In VB6, Choose Project|References... and look in the list for MapPoint library.
>>
>>When the line succeeds, in left combobox of Code window you will see MapPoint object. When select it, in right combobox you will see all its events.
>>
>>When you complete these steps in VB6 successfully, I can try to help you in this also in VFP (since I have more experience in VB, here I can best resolve this type of errors).
>
>
>
>I did it right you wrote and VB compile said -definition is wrong
>I took the code directtly from MapPont help for Basic with clipboard
>I took near 12 samples, and no one of the worked
>Really I need to reproduce this in VFP
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform