.Net CF 2.0 How to Run App when it get synchronized with PC ?

HI all,

I wanted to start and run my application in back ground when PDA is connected PC it get synchronized with PC. Is there any provision to achieve this in .Net CF 2.0

Thanks

Jayakumar A



Answer this question

.Net CF 2.0 How to Run App when it get synchronized with PC ?

  • thecodingmo

    • You may use CeRunAppAtEvent to run an app on the mobile side.
    • You may use HKEY_LOCAL_MACHINE\Software\Microsoft\Windows CE Services\AutoStartOnConnect registry key to run application on the desktop side.

    See the following discussion for details




  • Ubon94

    Hi

    Now I notice one small issue , could you please help me to solve Actually when I specify the path of the .exe file while activating it’s activated . now what I am doing know as soon as that application run (.exe) in the constructor I am deactivating that so that it will not raise until I logout my application. But even though within that time period two times my application .exe is started how can I stop that ..

    thanks ,

    Jayakumar A


  • KARINA GAMEZ

    Hi ,

    Thanks lot , It's really saved my time thanks again ..

    Thanks ,

    Jayakumar A


  • .Net CF 2.0 How to Run App when it get synchronized with PC ?