Results 1 to 4 of 4
  1. #1
    notrino is offline Advanced Beginner
    Windows 10 Access 2010 64bit
    Join Date
    Feb 2016
    Location
    Izmir,Turkey
    Posts
    60

    About Web Page Data Receiving to Access

    Hello,

    I have a small measurement system at home and it works like a server. So when you connect to the device with IP no, you can see the values of CO2, Humidity, Temperature of the home environment on the web browser. I'm sending the Html codes of the page in the appendix. In these codes, you can find CO2, temperature, humidity texts. My goal is to be able to see these values momentarily in the boxes in the attached simple Access file. (Note: the web page itself is a refresh of 10s, Html page looks like, I gave the code to Share Point Designer with copy-paste you can see.) Thanks ..
    Attached Files Attached Files

  2. #2
    June7's Avatar
    June7 is online now VIP
    Windows 10 Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,928
    I have no idea what your Note means.

    Possible options:

    1. display page in Internet Browser control on a form.

    2. CDO code for internet browser - search web for example code to scrape webpage
    I can get code to open your html in web browser, but nothing beyond that.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  3. #3
    notrino is offline Advanced Beginner
    Windows 10 Access 2010 64bit
    Join Date
    Feb 2016
    Location
    Izmir,Turkey
    Posts
    60
    Hi June,

    My server working like Weather Station. In this way, I can see the temperature -humidity values from web browser. The device has a IP number and if you write that IP number to the web browser you can see the on-line temperature-humidty values. I sent that html codes, you can see where is the temperature humidity expression on that html file. In this way, I want to take tahat values from that web site to the Access text box. I don't know is it more clear now?Thank you..

  4. #4
    June7's Avatar
    June7 is online now VIP
    Windows 10 Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,928
    I understand what you want, I just can't get scraping code to work with the text file you provided, possibly because it is not an http web page that opens.

    I found example code that shows how to reference html <td> cells but your html is not coded that way. https://stackoverflow.com/questions/...site-using-vba
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Replies: 1
    Last Post: 08-03-2017, 08:17 PM
  2. Replies: 4
    Last Post: 11-10-2014, 09:47 AM
  3. Replies: 6
    Last Post: 06-27-2013, 12:38 PM
  4. Replies: 5
    Last Post: 08-15-2012, 06:01 PM
  5. Replies: 3
    Last Post: 07-20-2012, 11:55 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums