Quote Originally Posted by John Tuohy View Post
I will assume that your .Image member is a variant. If so, passing this as a variant and then using AddressOf() will not work as AddressOf() does not return the first byte of the Variant string. Even if it did, it would not work because its Unicode. Moving it to a string forces a cast to string, which makes it all work.
Yes, it is a Variant. Glad we finally have that figured out. That also explains why the value shows up in the tooltip and in the debugger but wasn't working in the Base64Decode function.