• Creator
    Topic
  • #4198
    jyeomans
    Participant

      Hi,

      I have created an applet and it is distributed via e-directory.

      My applet also uses other files such as .txt and .htm and I wondered if these have to be installed on each client or if they too can be distributed along with the app using edirectory?

      Thanks for any help.

    • Author
      Replies
    • #7464
      Support 1a
      Participant

        Unfortunately no, you can distribute support files via eDirectory. You have to use another mechanism to get these files installed on your end-users machines.

        One technique we have used is to embed the files into the applet itself, then have the applet recreate the files on the end users machine. This works well assuming the files aren’t too large. (which could cause your applet to bloat).

        Take a look at the Utilities.FileToSource() and Utililies.SourceToFile() methods in the Language Guide. In a nutshell, Utilities.FileToSource() takes the path of an existing file and returns a string formatted in such a way you can embed it as a constant in your applet.

        You then use tililies.SourceToFile() to convert the string constant value defined in your applet to create a file on disk at runtime.

        I hope this information helps.

        Regards,

        Advansys Support

        #7463
        lp_irovetz
        Participant

          Hi,

          There is another way. It unit GroupWise and eDirectory

          Put your additional files in DMS Cool
          At the first launch of your applet retreive the files and save them on the disk where you want

          DMS is a great tool Wink

          L.P. Irovetz
          Arcane GroupWare

          #7462
          jyeomans
          Participant

            Thanks for both suggestions. Ill give them a try.

            #7461
            Support 1a
            Participant

              Thanks for the additional suggestion LP.

              Advansys Support

            Viewing 4 replies - 1 through 4 (of 4 total)
            • You must be logged in to reply to this topic.