>Thanks Hector, I was using DES because I was
> having a time with 3DES but I see in your
> code how to fix mine to be 3DES like I wanted.
I am glad it helped you. Although I cannot really take credit for the code since I took it from somebody else :)
Hector Correa