Re: Using wininet over http to get a get.cgi file



On Jun 16, 11:18 pm, no...@xxxxxxx (Reventlov) wrote:
Il giorno Fri, 13 Jun 2008 02:36:21 -0700 (PDT), Skylan <bas.van.liesh...@xxxxxxx> ha
scritto:

Hello, I want to access aprojectorover the network with avbscript
so I can read the lamp hours and status. Can someone help me with some
examples with wininet? I made a search (google as well as Microsoft)
but I can not get it in a vbscript.

I use mshtml.

Sub DownloadWithXMLHTTP (sSource,sDest)
        'Download a file using activeX Object XMLHTTP
        'and save to sDest using ADO Stream
        set oHTTP = WScript.CreateObject("Microsoft.XMLHTTP")
        oHTTP.open "GET", sSource, False
        oHTTP.send
        set oStream = createobject("adodb.stream")
        Const adTypeBinary = 1
        Const adSaveCreateNotExist = 1
        Const adSaveCreateOverWrite = 2
        oStream.type = adTypeBinary
        oStream.open
        oStream.write oHTTP.responseBody
        oStream.savetofile sDest, adSaveCreateOverWrite
        set oStream = nothing
        set oHTTP = nothing
end sub

--
Giovanni Cenati (Bergamo, Italy)
Write to "Reventlov" at katamail comhttp://digilander.libero.it/Cenati(Esempi e programmi in VbScript)
--

Due to lack of knowledge I cannot get any further. I want to create an
overview of all projectors in one screen. In this overview I can see
Lamp Runtimes, Lamp Remaining, Total operation and if the projector is
ON or OFF. Via http://192.168.200.1/info.cgi I can see it with the
Internet Explorer.

Can you put me in the right direction?


.



Relevant Pages

  • Re: Lamps for Episkop
    ... I allready have two of these projectors and is waiing for the third, ... they are originaly mounted with two 500 W 110 volt glow lamps of the ... The lamp is part of the optical system in a projector. ... You say the current system uses a 500 watt, 110 volt "glow" ...
    (sci.engr.lighting)
  • Re: Light acting different with various types of projectors.
    ... projectors and Episkop projectors. ... As you proberly know the Episkop ... I am replacing the old light bulbs with HQI lamps, ... I can look strait into the optic with the lamp switched on ...
    (sci.engr.lighting)
  • Re: DLP info.
    ... We have had new ceiling mount projectors blow lamps. ... engine" problems either. ... and some were bright when the "lamp change" message came up. ... and sell it if he declines the repair. ...
    (sci.electronics.repair)
  • Re: Using wininet over http to get a get.cgi file
    ... overview of all projectors in one screen. ... Lamp Runtimes, Lamp Remaining, Total operation and if the projector is ... Then you have to parse thefilein search of the information you need. ... set doc = CreateObject ...
    (microsoft.public.inetsdk.programming.scripting.vbscript)
  • Re: OT - Plasma TV question
    ... especially for the very bright projectors). ... The lamp brightness decreases dramatically over a period of several hundred ...
    (rec.aviation.piloting)

Loading