How can I export flexgrid data to kingsoft spreadsheet 2013 in vb6, please somebody help me.......
Printable View
How can I export flexgrid data to kingsoft spreadsheet 2013 in vb6, please somebody help me.......
What is a "kingsoft" spreadsheet?
According to their website the spreadsheet tool is capable of reading and writing XLS and XLSX files.
So just create an XLSX file on the fly and write it to disk.
I don't know if the KingSoft Spreadsheet application support any kind of automation.
In the Codebank is a sample how to create XLSX files:
http://www.vbforums.com/showthread.p...7-Excel-Writer
I've ever export data from flexgrid to excel at vb6 using reference "Microsoft Excel 12.0 Object Library", but vb6 doesn't support for Kingsoft. Does anybody know how to export data from flexgrid to kingsoft spreadsheet using vb6. What should I do?
Using the Excel Object Library you are using Office Automation.
I don't know if KingSoft Spreadsheet supports any kind of automation.
Have you checked the documentation and/or KingSoft website?
Otherwise you can directly write a XSLX file.
Can I directly write a XLSX file using vb6 even only kingsoft in my computer?
Yes, I posted a sample in the CodeBank, see post #3
A xlsx file is just a zip file with some xml documents.
If you rename a .XLSX file to .ZIP then you can view the readable content
Hi, Arnoutdv. I've tried the sample but I don't understand what I supposed to do? Would you like to give me other sample which more simple. Sorry, because I'm newbie in vb6