Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VB and MapPoint events
Message
De
04/03/2003 09:29:08
Vladimir Zhuravlev
Institute of the Physics of Earth,Russia
Moscow Region, Russie
 
 
À
04/03/2003 08:32:22
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00760811
Message ID:
00760843
Vues:
20
>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
MVP-2006-2011, PHD in Math and Physics ,
host of www.foxclub.ru,
VFP lector at Interface and Microinform companies
Head science researcher of VNIIA Rosatom.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform