I would like simple VBA code that checks the status of Remote Desktop status on the remote computer FROM the remote computer.
I run an Access Database on the remote computer via a remote desktop connection. I would like the code running on the remote computer to check it's Remote Desktop Status (i.e. is the computer being logged into via remote desktop?) so that I can run different code based on the result...
...Basically, when using remote desktop to run this database I would like the application to use a different set of printers than the ones used physically at the site. All printing is currently handled through VBA code, so if I can get code for checking Remote Desktop status, then it's just a matter of modifying the current code.
/gustav