I would like code that will change monitor orientation via vba, probably using windows API call. I however can't find much on the web to guide me in the right direction.
The application for this code is I am running an access database on a computer that I access remotely via tightVNC. This remote computer has it's monitor orientation in "portrait", but tightVNC does not like that orietnation and does not display the monitor content correctly. So my solution is to be able to hit a button on the remote computer's access program when I am logged in with tight VNC and that will change the windows monitor orientation.