lcFName = FULLPATH([Attachments\]+ALLTRIM(thisform.Business.data.fname)) lcFName1=[file://]+lcFName IF NOT EMPTY(m.lcFName) AND FILE(m.lcFName) =WaitForReadyState() thisform.Pgf1.Page2.oWB.Navigate(lcFName1) *thisform.Pgf1.Page2.oWB.Navigate([about:blank]) ENDIFif the file to navigate to is html or txt it opens IN the control