ActiveSync & program directory

Discussion in 'Questions (Windows Mobile)' started by emaster, Sep 27, 2007.

  1. emaster

    emaster Member Licensed User

    I have created a database program and have created a setup program with SetupBuilder1.03.

    When I install this onto my PDA it creates a program directory under \Program Files.

    How do I synchronize the data files as ActiveSync copies files back and forth between those directories directly under 'Mobile Device'?

  2. Erel

    Erel Administrator Staff Member Licensed User

    Usually Activesync synchronizes the \My Documents folder (if you navigate a little with File Explorer you will see it).
    You can check if the database file exists in My Documents folder when your application starts, and copy it from the current folder if required.
    The Hardware.GetSpecialFolder can help you find 'My Documents' folder.
    Another solution will be to edit the inf file that SetupBuilder creates and launch cabwiz yourself.
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice