i have a simple program, its an html editor. every html file has a coresponding .pge file, which i baisically a rtf file. the pge file is converted into a html file via another part of the program. anyway, the html will viewed in a web browser window within a mdi. the site that will be edited has frames. i want there to be an edit button on the web browser window. when you click it, i want it to open up its coresponding .pge file in a rtf box for editing. i can figure out how to do everything else needed to perform this task except: how do i find out what .html file is contained in the "main" frame of the site in the webbrowser?