Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Other Discussions
  3. IT & Infrastructure
  4. Saving GIFs on the Client Machine

Saving GIFs on the Client Machine

Scheduled Pinned Locked Moved IT & Infrastructure
javascripthtmlsysadminhelptutorial
1 Posts 1 Posters 1 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • V Offline
    V Offline
    Vinod K S
    wrote on last edited by
    #1

    Hi, My application is a HTA(HTML Application), which, runs on the Client side even when the Server cannot respond to the requests of the Client. To enable this application to run on the Client machine(during periods when Server does not respond), i need to have GIFs pertaining to the application, on the Client. So, when the Client connects to the Server, i want to save GIFs on the Client machine. I used the XMLHTTP object to get the GIF data in the binary form into a String.Now, i need to take this data and dump into a file, with extension .GIF FileSystemObject does not support Binary and Random access. I need to accomplish this using JavaScript. Can you give me any suggestions on how to proceed, regarding this? var objHTTP=CreateObject("Microsoft.XMLHTTP"); var objXML=CreateObject("Microsoft.XMLDOM"); objHTTP.open("GET", "http://vinodks/error.gif", false); objHTTP.send(); ' The binary data of the image is obtained in strFile var strFile=objHTTP.responseBody; I need to now dump the contents of strFile(which is binary data) into a file and store it as GIF. Vinod K S

    1 Reply Last reply
    0
    Reply
    • Reply as topic
    Log in to reply
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes


    • Login

    • Don't have an account? Register

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • World
    • Users
    • Groups