Thanks to both of you, that worked like a champ. I tried (seemingly) everything else, but not the obvious. For some reason I thought that CString was a slightly different data type and that I needed to convert it first.

Thanks again,

--
Jeff Petter
jpetter@nycap.rr.com