Well my HTML editor reads the text from the HTML file and puts it in a richtextbox, just like a text file, but when I read the file I loose the root directory of the file. Like if the image is in the root directory of the HTML file it would say that the image is in "/image.png" or whatever, but when I preview it in the webbrowser it loses all the images. My only idea to fix this is to save a temporary HTML file and then open it in the browser, rather than changing the source of the webpage to what I typed.