ActiveSync and Rapi

Discussion in 'Questions (Windows Mobile)' started by Lasse, Sep 19, 2007.

  1. Lasse

    Lasse Member Licensed User


    I would like my program to automatically try to connect to my PDA with intervals.

    I have made a button that uses rapi.connect, but I need the program to sense when a PDA is "put in the cradle"/ "is connected to active sync"

    When I try this the rest of my form freezes and waits for the rapi to connect....
  2. Erel

    Erel Administrator Staff Member Licensed User

    Can you post your code?
    Rapi.Connect is an asynchronous method, which means that it should not block your program.