I am able to get a file into a richtextbox, by useing openfiledialog. i wanted to name the title of the form, the name of the file. I thought it would be as simple as openfiledialog1.filename. It would be, except for the fact that it gives the location as well as the name. any ideas?