.NET Components for Mobility

AddPoi

Last post 08-07-2008 5:25 AM by PeterFoot. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 08-06-2008 10:03 AM

    AddPoi

    Hi Peter

    I tried to add a then with the method navigator.addpoi

    this and the code used
     
    Private Sub Button3_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button3.Click

    Try

    'If Not n.IsApplicationRunning Then

    ' n.StartApplication()

    'End If

    '' n.SwitchToNavigatorView()

    Dim nv As New InTheHand.TomTom.NavigatorDim myXY As LatLong = LatLong.Empty

    myXY.Latitude = 10

    myXY.Longitude = 40

    nv.AddPoi(
    "xxx_Clienti", myXY, "test", "13")

    Catch ex As InTheHand.TomTom.TomTomException

    MessageBox.Show(String.Format("{0} : {1}", ex.Message, ex.Error.ToString))Catch ex As Exception

    MessageBox.Show(ex.Message)

    End Try

    End Sub

    ----------------------------------------------------------- 
    run tomtom
    but after I always
     
    tomtomexception: No response
     
    Thanks
     
     
  • 08-07-2008 5:25 AM In reply to

    Re: AddPoi

    Does a POI collection (OV2 file) already exist with the name you have used? Are you receiving this error message with any other TomTom methods? What version of the TomTom application are you using?

    Peter

    Peter Foot
    Microsoft Device Application Development MVP
    www.peterfoot.net | www.inthehand.com
Page 1 of 1 (2 items)
Copyright © 2001-2008 In The Hand Ltd. All rights reserved. Terms of Use and Privacy Policy.