Welcome to MapForums!

Register, sign in, or use Facebook Connect above to join in and participate in the forum.

When you are signed in, this message, the ads in this row, and the red-underlined link ads all go away.

Subscribe to receive our newsletter.
Subscribe Unsubscribe
Page 2 of 2 FirstFirst 12
Results 11 to 12 of 12

MapPoint Gets closed on its own

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

  1. #11
    gvkreddy is offline Junior Member White Belt
    Join Date
    Nov 2004
    Posts
    6
    Thanks a lot for the feedback. I have made necessary changes to it.

    Vijay

  2. #12
    Wilfried is offline Senior Member Black Belt
    Join Date
    Nov 2004
    Location
    Belgium
    Posts
    2,433
    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).

Page 2 of 2 FirstFirst 12

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

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

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


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