: : Hi Luc, : : you can use the following:: : dim user as string: dim lenght as long: : lenght = 100: user = Space(lenght): : GetUserName user, lenght: : txtuser = user: : : getusername is a function you can find with API-viewer, copy it and place it in a separate module.: I think it might work like that: Thanks Tom