MapPoint Forums

MapForums

Community of MapPoint and Virtual Earth Users and Developers




[VB6+MP2K] : how to disable the Itinerary windows ?

This is a discussion on [VB6+MP2K] : how to disable the Itinerary windows ? within the MapPoint 2006/2009 Discussion forums, part of the Map Forums category; Hello, I'm calculating the Distance (thanks John... I think I was loafer to search... it was into the Help File ...


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

Today's Posts Twitter Feed 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 11-20-2003
Vincent BENNER's Avatar
Member
Yellow Belt
 
Join Date: Sep 2002
Posts: 44
[VB6+MP2K] : how to disable the Itinerary windows ?

Hello,

I'm calculating the Distance (thanks John... I think I was loafer to search... it was into the Help File !) between 2 points :

Code:
    Set objMap = frmMAIN.ctrlMAPPOINT.ActiveMap
    Set objRoute = objMap.ActiveRoute
    objRoute.Waypoints.Add objMap.FindPushpin(frmMAIN.zt1)
    objRoute.Waypoints.Add objMap.FindPushpin(frmMAIN.zt2)
    objRoute.Calculate
    MsgBox "Length : " + CStr(objRoute.Distance)
    MsgBox "Time   : " + CStr(objRoute.DrivingTime / geoOneMinute)
It works fine !

I clear the objRoute (Clear method) and hide the Itinerary windows but I'd like to disabled completly thsi Itinerary Windows !

Is this possible ?

Regards,

Vincent BENNER
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 11-20-2003
John Meyer's Avatar
Senior Member
Blue Belt
 
Join Date: Jul 2002
Posts: 479
Have you tried the following:

Code:
MappointControl1.ItineraryVisible = False
__________________
John
http://www.support-pc.com

Order MapPoint 2006 Here
https://secure.mp2kmag.com/?refer=support-PC
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 11-21-2003
Vincent BENNER's Avatar
Member
Yellow Belt
 
Join Date: Sep 2002
Posts: 44
It doens't work...

Dear John,

I've naturally added this instruction

Code:
    frmMAIN.ctrlMAPPOINT.ItineraryVisible = False
The Itinerary windows appears during the calcul then
disappears.

What I'd like is to remove completly this window
even if I make some calculs !

Regards,

Vincent BENNER
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
disable, itinerary, mp2k, vb6, windows


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
Create Itinerary with VB.net Genamo MapPoint 2006/2009 Discussion 1 02-20-2006 04:08 PM
export to excel an itinerary? Anonymous MapPoint 2006/2009 Discussion 0 05-11-2005 07:52 AM
how to avoid "boulevard peripherique" in itinerary Anonymous MapPoint 2006/2009 Discussion 2 11-04-2004 09:37 AM
Clear previous itinerary Anonymous MapPoint 2006/2009 Discussion 4 11-03-2004 09:36 AM
Type of itinerary ifc MapPoint 2006/2009 Discussion 0 04-28-2004 08:32 AM


All times are GMT -5. The time now is 02:47 AM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0 RC2
MP2K Magazine
Visitor Map

Zante Holidays
Enjoy lovely sandy beaches when you take your Zante holidays booked through UlookUbook!



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 55 56 57 58 59