MapPoint Forums

MapForums

Community of MapPoint and Virtual Earth Users and Developers




MapPoint Gets closed on its own

This is a discussion on MapPoint Gets closed on its own within the MapPoint 2006/2009 Discussion forums, part of the Map Forums category; Thanks a lot for the feedback. I have made necessary changes to it. Vijay...


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

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



Click here to register

Reply

 

LinkBack Thread Tools Display Modes
  #11 (permalink)  
Old 01-09-2005
Junior Member
White Belt
 
Join Date: Nov 2004
Posts: 6
Send a message via MSN to gvkreddy Send a message via Yahoo to gvkreddy
Thanks a lot for the feedback. I have made necessary changes to it.

Vijay
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #12 (permalink)  
Old 01-09-2005
Senior Member
Black Belt
 
Join Date: Nov 2004
Posts: 2,177
Hi,

Looking at it again I think this is also better:

Code:
                foreach (object o in oResults) {
                    MapPoint.Location Loc = (o as MapPoint.Location);
                    if (Loc != null) {
                        // Here find the pushpin
                    }
                }
It is the same, but I assume it is faster. I also think it is neather, but that's maybe personal opinion. Anyway here Loc will evaluate to null if the returned object in the collection is not a Location (wich is often the case).
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
closed, mappoint


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


Similar Threads

Thread Thread Starter Forum Replies Last Post
Determine if Map has been closed BirdIslander MapPoint 2006/2009 Discussion 1 12-07-2005 01:33 PM
Determine if a polyline is closed? Anonymous MapPoint 2006/2009 Discussion 4 03-29-2005 11:37 AM
If I draw a closed shape around some pushpins, and.... Anonymous MapPoint 2006/2009 Discussion 1 03-09-2002 10:48 PM
Export to Excel works from 'closed shapes'. Is i.... Anonymous MapPoint 2006/2009 Discussion 1 03-04-2002 09:54 AM


All times are GMT -5. The time now is 02:29 AM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0 RC2
MP2K Magazine
Visitor Map

Bodrum Holiday
Check out the picturesque towns on your Bodrum holiday... Book through UlookUbook!



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 55 56 57 58 59