Check out XMLHTTP - scid=http://support.microsoft.com:80/support/kb/articles/Q290/5/91.asp&NoWebContent=1Its not just for XMl -- and it is very simple...The following asp code demos MSXML3 XMLHTTP get and post.The get will retrieve the SQLTeam search page into a variable strReturn which can be interrogated for the form elements to build and call the post which, in this example, is a search as of 5 days ago for the keyword XMLHTTP...<% Dim objHTTP,strReturn Set objHTTP = Server.CreateObject("MSXML2.XMLHTTP.3.0")'GET 'objHTTP.open "Get", "http://www.sqlteam.com/forums/search.asp", false 'objHTTP.send 'strReturn = objHTTP.responseText 'response.write strReturn'POST objHTTP.Open "POST", "http://www.sqlteam.com/forums/search.asp?mode=DoIt", False objHTTP.setRequestHeader "lastCached", now() objHTTP.setRequestHeader "Content-Type", "application/x-www-form-urlencoded" 'The post values objHTTP.Send "Search=XMLHTTP&andor=3&Forum=0&SearchMessage=0&SearchDate=5&SearchMember=" Response.Write objHTTP.responseText Set objHTTP = Nothing%>
Once XTML becomes more widely used, this will become even easier.Get the page. Apply a stylesheet to strip out form elements. Post the form. Apply a stylesheet to retrieve the desired contents.