|
-
Nov 15th, 2006, 08:15 AM
#1
Thread Starter
Member
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
-
Nov 15th, 2006, 09:41 AM
#2
Fanatic Member
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
-
Nov 15th, 2006, 11:21 AM
#3
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
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum. 
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it! 
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6 
-
Nov 15th, 2006, 12:30 PM
#4
Fanatic Member
Re: Reading Data from Web Page
Yes the webBrowser is easier to use than Winsock and it works asynchronously whereas Inet doesn't.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|