How can I generate random string

Thanks its worked. I added message box and directly wrote the text line to get the output. Earlier when i tried to run I was getting no message. what is guid library for?