local loIE, loDom, lnRun loIE = createobject("InternetExplorer.Application") loIE.visible = .t. loIE.navigate("http://www.myWsCenter.Com") *** insert your preferred way of waiting for completion of asynch *** IE operation: readystate-Property, documentcomplete-Event loDom = loIE.document for lnRun = 0 to loDom.All.Length-1 ? loDom.All.Item[m.lnRun].OuterHtml next ... loDom.All.Item[m.lnIdentifiedAsPwd].value = "Pwd" loDom.All.Item[m.lnIdentifiedAsPostButton].Click()regards