Results 1 to 6 of 6

Thread: Move file to Pocket PC

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Nov 2006
    Posts
    169

    Move file to Pocket PC

    Ok, so I've built a compact framework application that I need to move over to my Pocket PC. This may sound like a dumb question, but how do I do this?

  2. #2
    Frenzied Member
    Join Date
    Oct 2005
    Posts
    1,286

    Re: Move file to Pocket PC

    Hi,
    built it on what - emulator?

    Do you want to build an installation, or just test it on the device?
    Pete Vickers
    MVP - Device Application Development
    http://www.gui-innovations.com http://mobileworld.appamundi.com/blogs/

  3. #3

    Thread Starter
    Addicted Member
    Join Date
    Nov 2006
    Posts
    169

    Re: Move file to Pocket PC

    Yeah I figured that part out, I needed ActiveSync.

    Now, though, when I have the Pocket PC in the cradle and deploy the app through it, it works fine. But when I try to move only the exe over and run the exe without the Pocket PC in the cradle, I get all kinds of errors. I'm sure I'm missing necessary files on the Pocket PC, is there a way to make an installation package and move that over?

  4. #4
    Frenzied Member
    Join Date
    Oct 2005
    Posts
    1,286

    Re: Move file to Pocket PC

    Just add a 'setup' project, and then add the files as you would in a 'normal' setup and deployment project, and build it
    Pete Vickers
    MVP - Device Application Development
    http://www.gui-innovations.com http://mobileworld.appamundi.com/blogs/

  5. #5
    PowerPoster Pasvorto's Avatar
    Join Date
    Oct 2002
    Location
    Minnesota, USA
    Posts
    2,951

    Re: Move file to Pocket PC

    Make sure you use the deployment option rather than just copy the exe
    ===================================================
    If your question has been answered, mark the thread as [RESOLVED]

  6. #6
    MS SQL Powerposter szlamany's Avatar
    Join Date
    Mar 2004
    Location
    Connecticut
    Posts
    18,263

    Re: Move file to Pocket PC

    Quote Originally Posted by wileyj
    ...But when I try to move only the exe over and run the exe without the Pocket PC in the cradle, I get all kinds of errors. I'm sure I'm missing necessary files on the Pocket PC, is there a way to make an installation package and move that over?
    That seems odd to me.

    Once you "deploy" through Visual Studio the needed files are installed on that particular pocket pc. The .exe should run without being "installed" through the traditional methods.

    Although you certainly do need to make a setup package to load your app on a different pocket pc.

    What kind of errors are you getting on the PPC when it's not docked? Seems like it must be relying on something not on the PPC itself.

    Note that when you run your app in VS with the PPC as the device it actually puts the .exe on the device at that time. That .exe is runnable outside of VS - by simply clicking it on the PPC.

    *** Read the sticky in the DB forum about how to get your question answered quickly!! ***

    Please remember to rate posts! Rate any post you find helpful - even in old threads! Use the link to the left - "Rate this Post".

    Some Informative Links:
    [ SQL Rules to Live By ] [ Reserved SQL keywords ] [ When to use INDEX HINTS! ] [ Passing Multi-item Parameters to STORED PROCEDURES ]
    [ Solution to non-domain Windows Authentication ] [ Crazy things we do to shrink log files ] [ SQL 2005 Features ] [ Loading Pictures from DB ]

    MS MVP 2006, 2007, 2008

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width