Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VB and MapPoint events
Message
 
To
04/03/2003 09:29:08
Vladimir Zhuravlev
Institute of the Physics of Earth,Russia
Moscow Region, Russia
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00760811
Message ID:
00760851
Views:
16
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform