MapPoint Forums

MapForums

Community of VE/MapPoint Users and Developers




Problem with 'Save Map' Dialogue box.

This is a discussion on Problem with 'Save Map' Dialogue box. within the MapPoint 2006/2009 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 ...


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

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



Click here to register

Reply

 

LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 04-27-2005
Senior Member
Black Belt
 
Join Date: Jul 2002
Posts: 5,138
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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #2 (permalink)  
Old 04-27-2005
Senior Member
Black Belt
 
Join Date: Nov 2004
Posts: 2,122
Hi,

MP.ActiveMap.Saved := True;
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #3 (permalink)  
Old 04-27-2005
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?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #4 (permalink)  
Old 04-29-2005
Senior Member
Black Belt
 
Join Date: Nov 2004
Posts: 2,122
Hi,

Quote:
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
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
ave, box, dialogue, map, problem


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
save as web page cambridgeways MapPoint 2006/2009 Discussion 1 04-10-2006 12:26 PM
Save map as image Dazzer MapPoint 2006/2009 Discussion 1 05-23-2005 06:45 AM
Mappoint 2004 - ActiveX -- Print dialogue Anonymous MapPoint 2006/2009 Discussion 1 10-19-2004 03:22 PM
save changes to map? No! Jade MapPoint 2006/2009 Discussion 2 05-12-2003 07:13 AM
trying to make a 'locator map' Anonymous MapPoint 2006/2009 Discussion 0 04-09-2003 04:37 PM


All times are GMT -5. The time now is 10:50 PM.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0
MP2K Magazine
Visitor Map


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