RELEASE webx1 Thisform.RemoveObject("webx1") *---------- setting class library to frx2any.vcx cOldClassLib = Set("CLASSLIB") Set Classlib To "vatp.vcx" Additive Thisform.AddObject("webx1","webx") Thisform.webx1.Visible=.T. Thisform.webx1.registerAsBrowser= .T. Thisform.webx1.Top=0 Thisform.webx1.Left=0 Thisform.webx1.Height=630 Thisform.webx1.Width=this.Width Thisform.webx1.Navigate("https://www.labcorp.com/wps/portal/findalab") *---------- resetting back CLASSLIB Set Classlib To &cOldClassLibI remove the old webx1 and I create a new one.