(Print This Page Script) Using the MS-XMLHTTP object an
Tutorials Shared by the Internet Community
|Top Tutorials||New Tutorials||Submit||Login||Register|
Total Hits: 20038
Total Votes: 139 votes
Category: ASP/Content Management
Submitted on: 2008-03-05 04:37:51
Submitted By: Devesh Khanna
Description:This article deals with two not-so-commonly discussed topics. The first is using Microsoft's XMLHTTP component to perform an HTTP request.
This article also utilizes regular expressions to remove delimited chunks of text.
Article describes how to create a Printer Friendly Page using Microsoft's XMLHTTP component along with regular expressions. It shows how to use XMLHTTP to perform an actual HTTP GET request for the page that you wish to display in a Printer Friendly format. Then, it utilizes regular expressions to pick out chunks of text that the Web page author has defined to not appear in the Printer Friendly format. A neat read highlighting the capabilities of the XMLHTTP component and regular expressions. More detail...