3 Replies Latest reply on Sep 3, 2010 2:33 AM by FOLOF

    AIR create Excel(.xls) ActiveX

    Mykle Sm

      Hello.

      As in the AIR to create XLS-file? I use ActiveX, but it does not work. Here is my code:

      <html>

          <head>

              <title>New Adobe AIR Project</title>

                <script>

                     var av = new ActiveXObject("Excel.Application");

                     av.Visible = 1;

                     av.WorkBooks.Add;

              </script>

          </head>

          <body>

          </body>

      </html>

       

      it gives the message - ReferenceError: Can't find variable: ActiveXObject.

      How can I work with Excel means javascript. If possible, please give a small code.

       

      Sincerely Mykle.