>"~"+"password"+CHR(13)
>
>which works without the tilda if I change the password...
The problem is that it's an OEM character and may work on some key boards, but not others. Having said that, I did manage to find a code that may work. Try character 192 (0xC0). The indication from the documentation I read indicates that it will work under Win2K/XP for U.S. standard key boards.
George
Ubi caritas et amor, deus ibi est