Reading Data from Web Page
Hi There,
I dont know whether it is possible but I am trying to create a project which reads data from a web page. I will just give the outline of web page
First Screen
Service tag: UW12VY
Customer Number: 999234
Order number : 135555
Computer: HP3000
and i have different tabs like
Case, Order Details, Components, Contracts etc.
When I click on customer number another web page opens up which has information of customer
Second Screen
Customer Name: John Cena Sales Person: XYZ
Address : ABC, 21 Park Avenue, New Jersey Customer Ph: 2343434
Third Screen
Similarly when I click on Contracts it opens up a page which says
Contract Start Date End Date
XYZ 12/02/2006 19/09/2009
Similarly when I click on Order details tab in the first screen
Fourth Screen
Mouse
Keyboard
WinxP
now the entire data is stored online what I want to do is I will open up three pages that is Order details, Contracts and the first screen
And i will put the service tag in my VB Program and open up the first window for fetching my Computer model, Contract screen for fetching contract , Order Screen for fetching the operating system that the customer uses. The program should search for service tag and fetch the above mentioned data on all three screens. IS it possible. Looks quite difficult. Please Help.
***The person may have more than one windows opened***
Thanks and waiting for some kind replies.
Regards,
Amit
Re: Reading Data from Web Page
I suggest you use a combination of server side scripts (in PHP or ASP) and Winsock or Inet to connect to these pages with the relevant arguments in the url (so to send the value "123" in the variable "num" you would use http://site.com/myscript.php?num=123
Re: Reading Data from Web Page
You can also automate a web page by using the WebBrowser control.
http://www.vbforums.com/showthread.php?t=330341
Re: Reading Data from Web Page
Yes the webBrowser is easier to use than Winsock and it works asynchronously whereas Inet doesn't.