Compiling and Running the Digital Personal Trainer


Due to a limitation in Visual Studio.NET for the Pocket PC, there is a limit to the size of a procedure. Since there are so many controls, the initialize() method is above this limit. So you cannot run the implementation in debug mode.

The first time you compile and run the program you will get deployment errors. Just cancel, and try again. It will work on the second try.

If the emulator window is already open when you build and run, make sure there is no instance of the DPT already running or you will get
deployment errors. (You can double check by going to Start -> Settings-> Memory -> Current Programs)


To compile and run:  Press ctrl-F5 to compile without debug mode (or select compile without debugging)