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
Results 1 to 5 of 5

Close the map

This is a discussion on Close the map within the MapPoint Desktop Discussion forums, part of the Map Forums category; Two questions: (MapPoint 2002 + Visual Basic 6) 1. How close the map (MapPoint Control) without receiving on the screen ...

  1. #1
    Anonymous is offline Senior Member Black Belt
    Join Date
    Jul 2002
    Posts
    5,137

    Close the map

    Two questions: (MapPoint 2002 + Visual Basic 6)

    1. How close the map (MapPoint Control) without receiving on the screen the message 'Save map.ptm?' (Yes/No)

    2. How delete all the information in the map (pushpins, routes, ...) and starting in a new map ?

    Thanks in advance

  2. #2
    Dazzer is offline Senior Member Green Belt
    Join Date
    Sep 2003
    Posts
    103
    Question 1

    Do

    MappointObject.ActiveMap.Saved = True

    Before

    MappointObject.Quit()

    Where MappointObject = CreateObject("MapPoint.Application")

    Question 2

    Just dont save the changes, see question 1, and then open a fresh new map or reload a previously saved one

  3. #3
    Anonymous is offline Senior Member Black Belt
    Join Date
    Jul 2002
    Posts
    5,137
    Quote Originally Posted by Dazzer
    Question 1

    Do

    MappointObject.ActiveMap.Saved = True

    Before

    MappointObject.Quit()

    Where MappointObject = CreateObject("MapPoint.Application")

    Question 2

    Just dont save the changes, see question 1, and then open a fresh new map or reload a previously saved one

    The proble with the Saved option is that, logically, it is saved in the computer, and I want to avoid it. It is possible?

  4. #4
    Dazzer is offline Senior Member Green Belt
    Join Date
    Sep 2003
    Posts
    103
    MappointObject.ActiveMap.Saved = True

    Sets mappoint to believe it has already been saved and no changes have been made it doesn't actually physically save the map.

  5. #5
    Dazzer is offline Senior Member Green Belt
    Join Date
    Sep 2003
    Posts
    103
    Quote from mappoint help files

    Saved property

    Returns or sets whether any changes have been made to the map. True if no changes have been made since the map was last saved. If set to True, the user will not be prompted to save changes when closing the map, and all changes made to it since it was last saved will be lost.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. I need to close a roadway for a bridge-out
    By BobFromBoston in forum MapPoint Desktop Discussion
    Replies: 2
    Last Post: 03-01-2006, 07:07 PM
  2. How to properly close mappoint control
    By Anonymous in forum MapPoint Desktop Discussion
    Replies: 1
    Last Post: 03-03-2005, 09:05 AM
  3. Capture mappoints close event
    By Dazzer in forum MapPoint Desktop Discussion
    Replies: 0
    Last Post: 06-29-2004, 06:19 AM
  4. Mappoint has encountered a problem and needs to close
    By Anonymous in forum MapPoint Desktop Discussion
    Replies: 4
    Last Post: 05-05-2004, 04:40 PM
  5. Remove Close Button
    By Dazzer in forum MapPoint Desktop Discussion
    Replies: 0
    Last Post: 04-01-2004, 06:56 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