How to convert excel file to pdf file using vb6 program? - vb6

Can anyone give me an idea on how to convert excel file to pdf file using vb6?

You'll most likely just want a pdf tool that can be used from VB. See this similar question.

Related

How do I programmatically convert a Keynote file to a PowerPoint?

Anyone know any good tools to convert a keynote file to a PowerPoint one? We have an online tool that currently accepts PPT/PPTX files and we then use Aspose tools to do more with it. But we're needing to accept keynote files too and the easiest way in theory is to convert it to a PPT file and then process in the same way from there.
However we're really struggling to find a way to convert them programmatically!
Any ideas?
Old question but by the views counter seems relevant for many.. a conversion service such as CloudConvert can do the job (https://cloudconvert.com/api/conversions). At least for converting .key to .pptx (not sure about the other way round).

How to convert powerpoint pptx file to ppt file programmatically without powerpoint installed?

How can I convert a pptx file to a ppt file programmatically. This happens on a web server that does not have PowerPoint installed.
I'm after a free solution preferably.
I may consider installing PowerPoint on the server if it is not possible but I'm concerned about the scalability of that solution. I wouldn't want the server to be struggling because multiple conversions are in progress...
Thanks
You could install OpenOffice Impress (Libre Office Impress) on the server, maybe it can do the document conversion.
I hear that in OpenOffice, there are python APIs avalaible, and maybe more, even a VBA clone.
It is probably not possible to convert from the command line like this,
ooimpress -infile "mydoc.pptx" -outfile "mydoc.ppt"
In any case, the conversion will probably not be perfect. If your pptx files contain embedded OLE documents, expect problems.
SImple slides with bulleted lists and some simple graphics objects (circles, arrows, Raster Graphics files such as gifs) are less likely to be a problem.
Here are some links to openoffice forum-threads with similar problems.
.doc to .pdf, all command-line?
http://www.oooforum.org/forum/viewtopic.phtml?t=5513
Help! - Simple command line conversion of Word doc to XML
http://www.oooforum.org/forum/viewtopic.phtml?t=7242
The presentation object has a SaveAs method that can do this. For instance,
for saving the active presentation as a .ppt file, the following code would
do the job:
ActivePresentation.SaveAs "FileName.ppt", ppSaveAsPresentation
Reference:
http://www.pcreview.co.uk/forums/programmatic-conversion-pptx-into-ppt-t3339221.html

convert Excel to csv either using shell script or jython . if so how

I am looking for a procedure where i can convert the excel to csv either if there some shell script , if so please guide me or if possbile how can i do in jython.
The main reason is that the excel is being received from other source and the header is always changing , which is unnecessary and we need to have some automatic way to remove that . If is it possible to do that easily using jython or shell script and remove only the first line of the excel
Thanks in advance.
To convert between various file formats I use: PyODConverter. There is Python and Java version.
It uses OpenOffice working as a service and can convert between various document formats including MS Office, PDF and text.
There is also pure Python library: xlrd Library for developers to extract data from Microsoft Excel (tm) spreadsheet files

VB6 library for creating Excel spreadsheets

I am trying to get a legacy app working on terminal services with the minimum amount of changes to the existing code base.
What library for creating Excel spreadsheets using VB6 without having Excel installed could I use to solve this?
If you are using COM Interop to create Excel spreadsheets you must have Excel installed on the machine.
You could create comma delimited .csv files instead.
CSV is easy as suggested in the other answer. Sometimes folk use HTML too.
Create Excel (.XLS and .XLSX) file from C#
Or even ADO and OLEDB
http://support.microsoft.com/kb/195951/

extract ppt from office word using OpenXml format through c#

I want to extract a flash object from a word doc using OpenXml.I have done it other way round but it is not working as, if there are many flash objects then the processing time got hampered and henceforth i think openxml is more suitable>please someone help me in doing the same .I am coding in c#
Use this: Standalone tool for extracting embedded Office Open XML objects from files

Resources