Spreadbuilder to a bytearray?

Posted by: cedarly on 4 August 2017, 2:58 pm EST

  • Posted 4 August 2017, 2:58 pm EST

    Is it possible to take the Excel workbook generated by Spreadbuilder and export it as a byteArray? Maybe, some syntax to take the output generated by the Spreadbuilder code and populate an ActiveReport object with it, so you can send the report's pages collection to the Export object's ExportStream method? (rpt.Pages, gByteArray)


    I'd really like to avoid creating a Designer; and we'd like to stop loading the reports into a directory on the web server, sending them directly to the user's browser window instead.


    thanks in advance,


    cedarly

  • Replied 4 August 2017, 2:58 pm EST

    Deafening silence; I guess that means no, there is no way to export a Spreadbuilder object as a bytearray...?


    thanks


    cedarly

  • Replied 4 August 2017, 2:58 pm EST

    I couldn't find a way to do that. The spreadbuild api has only a Save method that saves the workbook to a file and not to a byte array.
  • Replied 4 August 2017, 2:58 pm EST

    Thanks anyway, I do appreciate the feedback, and the time you took looking into it!


    cedarly

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels