Adjust PocketPC rotation on the fly?

I know I can go to the Config screen and set the orientation to 320x240 Rotate Left or Rotate Right, then export a PocketPC executable, but is it something I can set within a "config" menu in my game so I don't have to make two separate executables?