PDF conversion issue
-
Hai friends I've been trying to convert files (office) to pdf. For that i installed SaveAsPDFandXPS.exe from Microsoft and iam using Office 2007, it works in office 2007 but creates problem in a machine with office 2003. object format = Microsoft.Office.Interop.Word.WdSaveFormat.wdFormatPDF; the code above is not supported in office 03 but s supported in 07. Is there any way by which i can convert the file to pdf in office 03. Thanks in advance for all your helping hands.. :omg: Santo:thumbsup:
Santhosh
-
Hai friends I've been trying to convert files (office) to pdf. For that i installed SaveAsPDFandXPS.exe from Microsoft and iam using Office 2007, it works in office 2007 but creates problem in a machine with office 2003. object format = Microsoft.Office.Interop.Word.WdSaveFormat.wdFormatPDF; the code above is not supported in office 03 but s supported in 07. Is there any way by which i can convert the file to pdf in office 03. Thanks in advance for all your helping hands.. :omg: Santo:thumbsup:
Santhosh
You probably need to buy a library that is more universally supported instead of using what you're using.
Christian Graus Driven to the arms of OSX by Vista. Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
-
You probably need to buy a library that is more universally supported instead of using what you're using.
Christian Graus Driven to the arms of OSX by Vista. Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
Thanks Christian for ur prompt reply Do you know any library.. which will b available in dotnet hence i can use that function directly. Thanks Santo
Santhosh
-
Thanks Christian for ur prompt reply Do you know any library.. which will b available in dotnet hence i can use that function directly. Thanks Santo
Santhosh
From Word ? I'm not sure, I think I've seen one, it was quite expensive, and I forget the name.
Christian Graus Driven to the arms of OSX by Vista. Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
-
Thanks Christian for ur prompt reply Do you know any library.. which will b available in dotnet hence i can use that function directly. Thanks Santo
Santhosh
If you install a pdf printer such as PDFcreator, you could simply open the word doc, then print it. Though you can print programatically in such a way as to avoid the print dialog boxes, you'll still be faced with PDFCreator's 'save as' dialog box. I don't know if it is practical to automate the 'save as' dialog interation in your situation; though, if you are just trying to convert a few hundred files or will always use this in a manual enviornment, this should solve your problem. If you take this approach and can't/don't automate the 'save as' dialog interaction, I recommend putting the target file name and path in the clipboard so that you only 'ctrl-c' the file name and click save. Hope this helps
-
Hai friends I've been trying to convert files (office) to pdf. For that i installed SaveAsPDFandXPS.exe from Microsoft and iam using Office 2007, it works in office 2007 but creates problem in a machine with office 2003. object format = Microsoft.Office.Interop.Word.WdSaveFormat.wdFormatPDF; the code above is not supported in office 03 but s supported in 07. Is there any way by which i can convert the file to pdf in office 03. Thanks in advance for all your helping hands.. :omg: Santo:thumbsup:
Santhosh
Did u get any solution for your question if yes plz share with me also because i also have same requirement........... thanks in advance
aashish