loading from zip file

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • sure
    Forum Member
    • Apr 2005
    • 25

    loading from zip file

    hi there,
    it is possible create something like
    i'll click on the button and paragraph obj. will load text from (passw.) zipped file?
    (sorry for my english)
    thanx
    sure
  • yosik
    Indigo Rose Customer
    • Jun 2002
    • 1858

    #2
    Yes it is. Use the following actions:
    Zip.Extract to extract content of a zip file (incl. with password) to a destination file.
    TextFile.ReadToString to read from destination file into a string.
    Paragraph.setText to insert the above string into the paragraph object.

    Don't forget to delete the above destination file with a File.Delete action.

    Good luck

    Yossi

    Comment

    • Intrigued
      Indigo Rose Customer
      • Dec 2003
      • 6138

      #3
      Here is an example project file (.apz)

      Also, this project has the added feature of removing the temp project folder, which is also where the text file (text.txt) that is read into the Paragraph Object is unzipped too, upon the closure of the program.
      Attached Files
      Intrigued

      Comment

      • sure
        Forum Member
        • Apr 2005
        • 25

        #4
        thank you guys!

        for the great ideas thats help me!

        Comment

        Working...
        X