Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VB and MapPoint events
Message
From
04/03/2003 07:55:09
Vladimir Zhuravlev
Institute of the Physics of Earth,Russia
Moscow Region, Russia
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Title:
VB and MapPoint events
Miscellaneous
Thread ID:
00760811
Message ID:
00760811
Views:
71
I still try to get events from Mapoint into VFP
When I failed with it, I took few samples form Basic in MapPoint help to do this and also failed to catch events in MapPoint due to MapPoint help for basic
The first string in these samples is usually
dim withevents mapapp mappoint.application
When I ran the form with this string, VB said me about error-duser definition is not defined
I removed this line and kept the rest of the code for events
I ran VB form with rest of the code and did not get events reaction in VB form ( as I already did not get it in VFP)
I think, the line dim withevents is similar to impliments in VFP, which is also failed for MapPoint
Thanks for anybody, who can push me in the direction of catching events from MapPoint ( does not amtter in VFP or VB)
Vladimir
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.
Next
Reply
Map
View

Click here to load this message in the networking platform