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

MapPoint ActiveX Component

This is a discussion on MapPoint ActiveX Component within the MapPoint Desktop Discussion forums, part of the Map Forums category; I am embedding the MapPoint ActiveX component in a C# application my company is developing. The only problem we have ...

  1. #1
    lazarus is offline Junior Member White Belt
    Join Date
    Feb 2004
    Posts
    3

    MapPoint ActiveX Component

    I am embedding the MapPoint ActiveX component in a C# application my company is developing. The only problem we have is when the application is closed, the component prompts to save the map every time. The user will never need to save the map outside what saving our program already does. Is there a way to keep the component from prompting to save every time I close my program?

    Thanks in advance!

  2. #2
    Eric Frost's Avatar
    Eric Frost is offline Administrator Black Belt
    Join Date
    Jul 1992
    Posts
    5,094
    Blog Entries
    4
    I think it's as simple as setting the Saved property to True.

    Eric
    ~ Order MapPoint MapPoint 2013 Here and Get Free Access to the MapForums Downloads ~
    ~~
    ~ Upgrade to Get Access to the MapForums Downloads ~

  3. #3
    lazarus is offline Junior Member White Belt
    Join Date
    Feb 2004
    Posts
    3

    Worked like a charm!

    That did it! Thanks for your help.

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

    ive had the same prob so when i close the app or the component, i call the save method (axMappointControl.SaveMap() but what if i don't want to save the map. i want to ignore the changes and whenever restart the application, start with a fresh map.

    (note: im using visual studio 2002 and C#)

    thanks in advance.
    Kamal

  5. #5
    SqlDBA is offline Junior Member White Belt
    Join Date
    Mar 2004
    Posts
    3
    I'm thinking that if you use a template then you can get around the saving over a map you want to use over and over. Microsoft templates are cool like that. If you open one then by default it opens a new map like the template... so no fear with the save button.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. mappoint component ....!!!!
    By zaaboulla in forum MapPoint Desktop Discussion
    Replies: 1
    Last Post: 07-04-2005, 09:28 AM
  2. Cannot create ActiveX component.
    By miman in forum MapPoint Desktop Discussion
    Replies: 1
    Last Post: 02-14-2005, 02:46 PM
  3. Writing a new COM component for MapPoint2002
    By tanguy_laverdure in forum MapPoint Desktop Discussion
    Replies: 0
    Last Post: 12-04-2003, 03:03 AM
  4. i have added the activeX component(s) to delphi. ....
    By Anonymous in forum MapPoint Desktop Discussion
    Replies: 1
    Last Post: 02-01-2002, 05:35 AM
  5. I have a main form that contains a Menu-component ....
    By Anonymous in forum MapPoint Desktop Discussion
    Replies: 1
    Last Post: 10-01-2001, 10:13 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