software you can take with you

Problems with Event-Handler for InTheHand.Device.Location.GeoCoordinateWatcher

Last post 08-17-2010 11:23 AM by Sgeisler. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 08-17-2010 8:55 AM

    Problems with Event-Handler for InTheHand.Device.Location.GeoCoordinateWatcher

    Hello to all,

    I got a problem by writing as WIndows-Mobile programm.

    I using then "InTheHand.Device.Location.GeoCoordinateWatcher"

    with statement: Private WithEvents gcw As InTheHand.Device.Location.GeoCoordinateWatcher = new ......

     and the Event-Handler:

    Private Sub gcw_PositionChanged(ByVal sender As Object, ByVal e As InTheHand.Device.Location.GeoPositionChangedEventArgs(Of InTheHand.Device.Location.GeoCoordinate)) Handles gcw.PositionChanged Me.Invoke(New OrtungsGendertDelegate(AddressOf OrtungsGendert), e.Position.Location)

    End Sub

    The first time i use Me.gcw.Start() -- the Eventhandler works.

    But when i Use Me.gcw.Stop() and some time later a new: Me.gcw.Start() -- the Eventhandler never gots control !!!

    Where is my mistake ?

    Siegfried 

     

  • 08-17-2010 11:23 AM In reply to

    Re: Problems with Event-Handler for InTheHand.Device.Location.GeoCoordinateWatcher

    sorry . I found the problem.

    There where some Problems in Invoke-Sub.

     

Page 1 of 1 (2 items)
Copyright © 2001-2013 In The Hand Ltd. All rights reserved. Terms of Use and Privacy Policy. OrcsWeb's Windows Cloud Server Hosting