Results 1 to 4 of 4

Thread: Reading Data from Web Page

  1. #1

    Thread Starter
    Member
    Join Date
    Jul 2002
    Location
    Bombay
    Posts
    35

    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
    arv

  2. #2
    Fanatic Member
    Join Date
    Aug 2005
    Location
    South Africa
    Posts
    760

    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
    If I helped you out, please consider adding to my reputation!

    -- "The faulty interface lies between the chair and the keyboard" --

    VB6 Programs By Me:
    ** Dictionary, Thesaurus & Rhyme-Generator In One ** WMP Recent Files List Editor ** Pretty Impressive Clock ** Extract Firefox History **

  3. #3
    Ex-Super Mod RobDog888's Avatar
    Join Date
    Apr 2001
    Location
    LA, Calif. Raiders #1 AKA:Gangsta Yoda™
    Posts
    60,709

    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 PostsVS.NET on Vista Multiple .NET Framework Versions Office Primary Interop AssembliesVB/Office Guru™ Word SpellChecker™.NETVB/Office Guru™ Word SpellChecker™ VB6VB.NET Attributes Ex.Outlook Global Address ListAPI 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

  4. #4
    Fanatic Member
    Join Date
    Aug 2005
    Location
    South Africa
    Posts
    760

    Re: Reading Data from Web Page

    Yes the webBrowser is easier to use than Winsock and it works asynchronously whereas Inet doesn't.
    If I helped you out, please consider adding to my reputation!

    -- "The faulty interface lies between the chair and the keyboard" --

    VB6 Programs By Me:
    ** Dictionary, Thesaurus & Rhyme-Generator In One ** WMP Recent Files List Editor ** Pretty Impressive Clock ** Extract Firefox History **

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width