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

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

This is a discussion on [VB6+MP2K] : how to disable the Itinerary windows ? within the MapPoint Desktop 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 ...

  1. #1
    Vincent BENNER's Avatar
    Vincent BENNER is offline 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

  2. #2
    John Meyer's Avatar
    John Meyer is offline Senior Member Blue Belt
    Join Date
    Jul 2002
    Posts
    478
    Have you tried the following:

    Code:
    MappointControl1.ItineraryVisible = False

  3. #3
    Vincent BENNER's Avatar
    Vincent BENNER is offline 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

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Create Itinerary with VB.net
    By Genamo in forum MapPoint Desktop Discussion
    Replies: 1
    Last Post: 02-20-2006, 05:08 PM
  2. export to excel an itinerary?
    By Anonymous in forum MapPoint Desktop Discussion
    Replies: 0
    Last Post: 05-11-2005, 08:52 AM
  3. how to avoid "boulevard peripherique" in itinerary
    By Anonymous in forum MapPoint Desktop Discussion
    Replies: 2
    Last Post: 11-04-2004, 10:37 AM
  4. Clear previous itinerary
    By Anonymous in forum MapPoint Desktop Discussion
    Replies: 4
    Last Post: 11-03-2004, 10:36 AM
  5. Type of itinerary
    By ifc in forum MapPoint Desktop Discussion
    Replies: 0
    Last Post: 04-28-2004, 09:32 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 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 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96