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

how to find a line????

This is a discussion on how to find a line???? within the MapPoint Desktop Discussion forums, part of the Map Forums category; I have an application which create lines from an excel. I want to delete one line but I don't know. ...

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

    how to find a line????

    I have an application which create lines from an excel. I want to delete one line but I don't know.

    I have tryed with various methods (FindPushpin,FindAddressResults,FindPlaceResults,F indResults) but anyone find a line.

    I need an example as how find a line.

    Thanks in advance.

  2. #2
    kwargo is offline Junior Member White Belt
    Join Date
    May 2003
    Posts
    11
    I was having the same problem

    I found out how to identify what was selected.

    Private Sub Timer1_Timer()

    On Error GoTo ErrorHandler

    dim shp = Map


    If TypeOf MPC.ActiveMap.Selection Is Object Then

    Set shp = MPC.ActiveMap.Selection
    'if the selection is not a shape, it will fail and go to the ErrorHandler
    'if not you have the line selected.

    ' do what you want
    ' you can determine what line it is if you named your line or put text in

    end if

    ErrorHandler:

    End Sub

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Where did I click on that line?
    By Jumbly in forum MapPoint Desktop Discussion
    Replies: 3
    Last Post: 12-08-2004, 04:53 AM
  2. Find a start of line
    By Anonymous in forum MapPoint Desktop Discussion
    Replies: 5
    Last Post: 08-03-2004, 08:39 PM
  3. How can I create a line between two line with VB6
    By Anonymous in forum MapPoint Desktop Discussion
    Replies: 0
    Last Post: 04-29-2003, 06:44 PM
  4. Bug on Polyline and line
    By Maverick in forum MapPoint Desktop Discussion
    Replies: 0
    Last Post: 02-28-2003, 07:10 AM
  5. As I draw a line and then a pushpin on that line, ....
    By Anonymous in forum MapPoint Desktop Discussion
    Replies: 1
    Last Post: 07-16-2002, 09:35 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