I have been working for the last couple of days on this and I've reached the point where I need assistance from somebody with better COM skills than I have. The problem appears when I try to convert a byte array returned from a COM call. When I write a VBS wrapper to convert the array, it returns the value correctly. I have included the script below that shows the problem. Any assistance as to what I'm doing wrong would be appreciated. Opt("MustDeclareVars", 1) ; ========================