Joel, I am also using this library and the code given works for me, even so far as to tell me if the supplied username and/or password are invalid. Just for interest, what version of VFP are you using?
>
>The error is always:
>"Function argument value, type, or count is invalid"
>on line:
>lcUsername = IIF(!EMPTY(this.cUsername),STRCONV(THIS.cUsername,13),"")
>
In the End, we will remember not the words of our enemies, but the silence of our friends - Martin Luther King, Jr.