This sample demonstrates screen scraping using PowerTCP Emulation for .NET in an ASP.NET application. While the sample only lets you cut and paste raw escape codes into the input box to be processed by the VT control, this example can be altered to receive data directly from a Telnet session using Vt.Telnet or using a separate instance of the Telnet component that is included as part of the PowerTCP Emulation for .NET product.
Choose Scraping Type
Automatic HTML Scraping
Manual HTML Scraping
[1mAcme Sales Revenue Report[22m [30;46mWidget # Quarter1 Quarter2 Quarter3 Quarter4 Total [30;46mWidget1 [30;43m 10.00[30;42m 20.00[30;43m 30.00[30;42m 40.00[30;41m 100.00 [30;46mWidget2 [30;43m 20.00[30;42m 40.00[30;43m 60.00[30;42m 80.00[30;41m 200.00 [30;46mWidget3 [30;43m 30.00[30;42m 60.00[30;43m 90.00[30;42m 120.00[30;41m 300.00 [30;46mWidget4 [30;43m 40.00[30;42m 80.00[30;43m 120.00[30;42m 160.00[30;41m 400.00 [30;46mWidget5 [30;43m 50.00[30;42m 100.00[30;43m 150.00[30;42m 200.00[30;41m 500.00 [30;46mTotal [30;41m 150.00 300.00 450.00 600.00 [37;40m1500.00