>I just found a solution. Albert Ballinger's great utility FoxCrypto.fll (see
http://fox.wikis.com/wc.dll?Wiki~FoxCrypto~VFP) has a function called HexEncoder which does exactly this. This function is soooooo fast. My StrToHex() version written in VFP took 127 seconds to convert a 180KB file. Albert's function does it in 0.1 second!!!
>
Glad you liked it. Did you use the single function call
lcEncoded = HexEncoder( tcBinary, tlUpperCase )
to encode the string? My examples all use the handle based functions and I am curious whether it is obvious that you can get the same result with a single function call.