Announcement

Collapse
No announcement yet.

Replacement for the following weather image ...

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    #16
    <BLOCKQUOTE class="ip-ubbcode-quote"><font size="-1">quote:</font><HR>Originally posted by Rupp:
    _Jon_ I thought about using that but would rather keep the asp page as simple as possible. I nay have to resort to using that though. Thanks.

    What are the arguments to the exe?

    -Rupp<HR></BLOCKQUOTE>

    Why not just run it as a recurring event and save the picture on your server? Your asp will load quicker as it does not need to access the net.

    <pre class="ip-ubbcode-code-pre">

    Dim strScript, strPage , strFilename

    Const q = """"

    strFilename = hs.GetAppPath & "\HTML\se_curtemp_720x486.jpg"
    strPage = "http://image.weather.com/images/maps/current/se_curtemp_720x486.jpg"

    strScript = q & hs.getAppPath & "\GetWebFile.exe" & q & " " & strPage & "," & strFilename
    Set oExec = CreateObject("WScript.Shell").Exec(strScript)
    Do While oExec.Status = Running
    Loop
    Set oExec = Nothing </pre>

    This should work.


    Jon

    www.jon00.me.uk/hs.html
    Jon

    Comment


      #17
      http://www.wunderground.com/US/Regio...mperature.html

      Comment


        #18
        http://www.agriculture.com/agweather/maps/usacurt.html

        Comment


          #19
          Do you know how often they update? Looks to be about every hour.

          -Rupp
          💁‍♂️ Support & Customer Service 🙋‍♂️ Sales Questions 🛒 Shop HomeSeer Products

          Comment


            #20
            That link is giving me a single image of current SE temps. The timestamp on the bottom is current (within 10 minutes).

            Could there have been "Techincal Difficulties" the last few days?

            (Don't have any ideas on a replacement)

            Comment


              #21
              The image works just fine but if you attempt to reference the image from within you own asp page you will get a error message image.

              -Rupp
              💁‍♂️ Support & Customer Service 🙋‍♂️ Sales Questions 🛒 Shop HomeSeer Products

              Comment


                #22
                http://www.tracingservice.com/cgi-bi...name=southeast

                -----------------------------
                **** Do You Cocoon? ****
                --------------------------------------------------
                **** Do You "Cocoon"? ****

                Comment


                  #23
                  <BLOCKQUOTE class="ip-ubbcode-quote"><font size="-1">quote:</font><HR>Originally posted by Rupp:
                  The image works just fine but if you attempt to reference the image from within you own asp page you will get a error message image.

                  -Rupp<HR></BLOCKQUOTE>


                  That's what I thought you meant. So that's why I tried it HERE.

                  Comment


                    #24
                    Clean out your cache and try it again. If I visit the site and display the image once, it works from then on until my cache is cleared.

                    -Rupp
                    💁‍♂️ Support & Customer Service 🙋‍♂️ Sales Questions 🛒 Shop HomeSeer Products

                    Comment

                    Working...
                    X