Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VB and MapPoint events
Message
De
04/03/2003 08:32:22
 
 
À
04/03/2003 07:55:09
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:
00760821
Vues:
16
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).

Plamen Ivanov
MCSD .NET Early Achiever and MCAD .NET Charter Member (VB .NET/SQL Server 2000)
MCSD (VB 6.0/SQL Server 2000)

VB (.NET) - what other language do you need in the whole Universe?...

Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform