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 4 of 4

Problem with 'Save Map' Dialogue box.

This is a discussion on Problem with 'Save Map' Dialogue box. within the MapPoint Desktop Discussion forums, part of the Map Forums category; Hi there, I have an issue that someone on here may be able to help with... (using Visual Basic)... The ...

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

    Problem with 'Save Map' Dialogue box.

    Hi there, I have an issue that someone on here may be able to help with...
    (using Visual Basic)...
    The fault: after running the code below. On exiting the program i get the 'Save map?' dialog box. if i comment out setobj road search its OK. Any ideas how to stop the Save Map dialogue box appearing without stripping the code of its main function?


    dim objmap as mappointctl.map
    dim objloc as mappointctl.location
    dim objroadsearch as mappointctl.findresults


    Set ObJMap=ctlMap.Activemap
    Set objLoc=ObjMap.getLocation(lat,lon)
    ObjLoc.goto
    If not objloc is nothing Then
    setobjRoadsearch = ObjMap.objectsfrompoint(21,17)
    set Objroadsearch = nothing
    End If
    Set objloc = nothing
    objmap.goback
    set objmap = nothing
    ctlMap.activemap.saved = true



    thanks,

    Simon

  2. #2
    Wilfried is offline Senior Member Black Belt
    Join Date
    Nov 2004
    Location
    Belgium
    Posts
    2,433

  3. #3
    SimonPearse is offline Junior Member Yellow Belt
    Join Date
    Jun 2004
    Posts
    15
    Quote Originally Posted by Wilfried
    Hi,

    MP.ActiveMap.Saved := True;
    Thanks for the reply, does the object 'MP' have to be dimentioned? as Mappoint?

  4. #4
    Wilfried is offline Senior Member Black Belt
    Join Date
    Nov 2004
    Location
    Belgium
    Posts
    2,433
    Hi,

    does the object 'MP' have to be dimentioned? as Mappoint?
    MP in my example is the TMappointControl ActiveX component. I tis similar if you use object model, but other machine where I can lookup this is mometary busy with a backup and I cannot check

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Save map as image
    By Dazzer in forum MapPoint Desktop Discussion
    Replies: 3
    Last Post: 12-28-2012, 09:16 AM
  2. save as web page
    By cambridgeways in forum MapPoint Desktop Discussion
    Replies: 1
    Last Post: 04-10-2006, 12:26 PM
  3. Mappoint 2004 - ActiveX -- Print dialogue
    By Anonymous in forum MapPoint Desktop Discussion
    Replies: 1
    Last Post: 10-19-2004, 03:22 PM
  4. save changes to map? No!
    By Jade in forum MapPoint Desktop Discussion
    Replies: 2
    Last Post: 05-12-2003, 07:13 AM
  5. trying to make a 'locator map'
    By Anonymous in forum MapPoint Desktop Discussion
    Replies: 0
    Last Post: 04-09-2003, 04:37 PM

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