Kent,
Our guy changed the account password using in the sample, that’s why you keep getting an unauthorized error. Please try our sample again using the new account:141040 and password:ThinkGeo1@.
I’m not sure what’s that mean “Any idea why a VE account that works in other code wont work in yours?”
If you mean your account works in your application but do not works in the sample we provided. Could you please send your account and password to support@thinkgeo.com so that we can look into it?
Thanks,
ThinkGeo Support