MapPoint Forums

MapForums

Community of VE/MapPoint Users and Developers




VB.NET withevents discrepency...

This is a discussion on VB.NET withevents discrepency... within the MapPoint 2006/2009 Discussion forums, part of the Map Forums category; In vb6 if I use the Mappoint 2002 API I can access certain events using the following declarations: Code: Public ...


Go Back   MapPoint Forums > Map Forums > MapPoint 2006/2009 Discussion

Register Blogs FAQ Members List Calendar Search Today's Posts Mark Forums Read



Click here to register

Reply

 

LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 02-05-2004
Junior Member
White Belt
 
Join Date: Jan 2004
Posts: 9
VB.NET withevents discrepency...

In vb6 if I use the Mappoint 2002 API I can access certain events using the following declarations:

Code:
Public WithEvents myApp As MapPoint.Application
Private WithEvents myMap As MapPoint.Map
If I do the same in VB.NET 2003 the compiler complains that neither of these object have any events. I've used Office 2000 APIs in the same way to expose events and haven't encountered this problem before.

How do I get methods to handle Mappoint 2002 events in VB.NET if I'm unable to declare the object with the withevents keyword?

thanks.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply

Tags
discrepency, vbnet, withevents


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT -5. The time now is 06:20 AM.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0
MP2K Magazine
Visitor Map


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54