Converting docx to doc files using wordconv.exe
Hello,
I have a requirement wherein I need to convert the docx files to doc files. I looked around and found the "Microsoft Office Compatibility Pack for Word, Excel, and PowerPoint 2007 File
Formats" ("http://www.microsoft.com/downloads/details.aspx?FamilyId=941B3470-3AE9-4AEE-8F43-C6BB74CD1466&displaylang=en"). Installing this would place a bunch of files in the C:\Program Files\Microsoft Office\Office12\ directory. This folder also contains an executable named "Wordconv.exe" which according to http://www.oooninja.com/2008/02/office-compatibility-pack-review.html converts the docx files to doc files if you use the execute something like the following in the command prompt:-
"C:\Program Files\Microsoft Office\Office12\wordconv.exe" -oice -nme <input file> <output file>
I downloaded the compatibility pack and tried the above command. Nothing happens. No error message,no output,nothing. I wonder what is the problem. In the above link,some guys have suggested to download the latest windows updates from Windows.
Well,I tried this in my Windows XP (with Service Pack 2) and only thing I am left to install in service pack 3. Is that required? This WIndows XP machine does not have the Office 2007 installed. Is it required?
Also,I tried this on a Windows server 2003 machine which also has the compatibility pack and result is same.This machine does have the Office 2007 installed.
Am I missing anything? If yes,please let me know as I am kinda stuck in this. I dont want to use a commercial product like "Aspose.Words" for this.
Is there any other tool available from Microsoft to convert docx to doc files? Please let me know.
I am cuurently looking into the Office tools.
Thanks in Advance,
Ashish
Hello!
I've got the same problem. I've tried to google it, and found this topic.
Have you found the solution?
Thanks, Victor.
Similar Messages
-
Help ! Having problem with program that converts .pdf to .doc file
I just purchased the program that converts a pdf file to a docx or doc file and it worked fine. the form looks great BUT when i tried to use it tonight, the first line typed just find. After that letters are typing over other letters and the space bar does not work... what could i be doing wrong or does this producct not work?
I don't think this is a Adobe program, or is it? What's the name of the program?
-
How to convert Ms Word (.doc) file to Protected pdf
Hi all,
Is anybody out there could help me on how to convert Ms Word (.doc) file to protected pdf file using java? May be there are some jar file I need to download or any tools you used before? Thanks in advance... =)Hi all,
Is anybody out there could help me on how to convert
Ms Word (.doc) file to protected pdf file using java?
May be there are some jar file I need to download or
any tools you used before? Thanks in advance... =)Hi All,
Thanks for your replies..I think i almost find the solution. I found 2 options to do this. They are :
1. Get Adobe Acrobat and it's SDK (has to buy)
2. Get OpenOffice 2.0.4 and it's SDK (opensource)
So, i do option 2. I install them in my system.then i call them from my ide. Then i follow the code from this link..
http://weblogs.java.net/blog/tchangu/archive/2005/12/open_office_jav_1.html
Thanx.. =) -
Add a header/footer in MsWord(.doc) file using POI in java
hi experts,
I want to add a footer/header in the existing MsWord(.doc) file using POI in java without changing its original format.
can anybody help me?
Thanx.What you describe tends to indicate that you're using Reader, not Acrobat. If you do have Acrobat installed, make sure you're using it and not Reader.
-
Why can't I convert .odt and .doc files to .pdf?
why doesn't my reader say it can't convert .odt and .doc files to .pdf?
...or a subscription to PDF Pack? See this document for supported file types: http://forums.adobe.com/docs/DOC-1496
What exactly happens when you try to convert such a doc? -
How do I get the ability to convert my word .doc file to flashpaper?
How do I get the ability to convert my word .doc file to
flashpaper?
I had cs3 installed but I just installed MS word 2007 and the
ability to export to flashpaper is not available that I can see.
Do I have to reinstall contribute in order for it to install
the flashpaper exporter to word?
-LineIf I understand you correctly, you need to Scale and Position each clip. These are part of the inherent Motion effect attached to every clip, found in the Effects Control Panel.
-
How to open a doc file using jsp Anchor tag
when i am trying to open a doc file using a jsp it is opening with out proper alignment.
how to open a doc file with proper alignment using Anchor Tag in JSp Page
Hello!
Does some one of you had open a MS word file (.doc) in Java search for a token like [aToken] replace it with another text and then feed it to a stream of save it?
I want to build a servlet to open a well formatted and rich on media (images) ms word document search for tokens and replace them with information form a web form.
Any Ideas?
Thank you in advanced. -
Office 365 installed, can't choose Word 2007 as the default program for docx and doc files
I have a client who just installed Office 365 on his Windows 7 PC. He still has Office 2007 installed. He's struggling with the changes in Word 2013 and wants me to uninstall Office 365. I thought I'd just set the default program association for .docx and
.doc programs to Word 2007 but that doesn't seem possible. I can choose Default Programs, Associate a file type etc., and find the .docx extension. The current default is Word (desktop). I highlight the .docx extension and choose Change Program. The older
version of Word isn't listed so I click Browse and find Program Files\Microsoft Office\Office12\winword.exe. Click OK, OK, OK, etc, but .docx files still open in Word 2013. The Default Program applet evidently sees all versions of Word as the same and refuses
to change the association. How do I accomplish this ridiculously simple task?Fixed. Used a great little app from NirSoft called
FileTypesMan. The built-in Windows utilities are getting worse by leaps and bounds. -
How do i convert docx to doc in Office 2004
I'm trying to convert word docx files to doc in office 2004. All I get is a message indicating too little memory or disc space available.
DOCX is the format used by the newer versions of Microsoft Word. Word (Office) 2004 can't open it. You need to open it in Word 2011 on the Mac, or Word 2007 or Word 2010 on the PC, then Save As to the older DOC format. If you do not have access to a newer version of Word, then have the person who gave you the doc, resave and resend it to you.
You can also try LibreOffice or OpenOffice. (Both are free.) The current versions of both have limited support for opening DOCX files. -
It still won't convert a simple .doc file
Hello,
I've been desperately trying to convert a 94 page .doc file into .pdf by uploading it using my monthly subscription "Create Adobe PDF Online". However, I've tried numerous times and I always get an email that states: "Conversion for this document failed"
I've emailed tech support previously and, instead of trying to solve the problem, I was given instructions to download something to my printer so I can print it out.
I don't want to download anything; I just want to convert a .doc file into a .pdf by uploading to Adobe's system and then having them email me back the finished .pdf document.
Can any of you help?
Thanks.Adobe Reader is a free product that is unable to produce PDF files from any kind of source file.
If you bought Adobe Reader, you were scammed. If in fact you are talking about Adobe Acrobat, then you're posting in the wrong forum.
Post in one of the Acrobat forums (for example http://forums.adobe.com/community/acrobat/creating__editing_%26_exporting_pdfs), but provide more information, like your OS, exact version of Office (I highly doubt it's 3, since that was released in the early 90's) and Acrobat. Also be aware that you can't just open a Word file in Acrobat, you have to convert it first to a PDF, either from within Word or from Acrobat itself. -
Problem in opening a doc file using Runtime.exec()
Code:
import java.io.*;
class StreamGobbler extends Thread {
InputStream is;
String type;
StreamGobbler(InputStream is, String type) {
this.is = is;
this.type = type;
public void run() {
try {
InputStreamReader isr = new InputStreamReader(is);
BufferedReader br = new BufferedReader(isr);
String line=null;
while ( (line = br.readLine()) != null) System.out.println(type + ">" + line);
catch (IOException ioe) {
ioe.printStackTrace();
public class GoodWindowsExec {
public static void main(String args[]) {
String file = "test.doc";
String appPath = "/C";
try {
String osName = System.getProperty("os.name" );
System.out.println("OS : " + osName);
String[] cmd = new String[3];
if( osName.equals( "Windows NT" ) || osName.equals( "Windows XP" )) {
cmd[0] = "cmd.exe" ;
cmd[1] = appPath;
cmd[2] = file;
else if( osName.equals( "Windows 95" ) ) {
cmd[0] = "command.com" ;
cmd[1] = appPath;
cmd[2] = file;
Runtime rt = Runtime.getRuntime();
System.out.println("Execing " + cmd[0] + " " + cmd[1] + " " + cmd[2]);
Process proc = rt.exec(cmd);
// any error message?
StreamGobbler errorGobbler = new StreamGobbler(proc.getErrorStream(), "ERROR");
// any output?
StreamGobbler outputGobbler = new StreamGobbler(proc.getInputStream(), "OUTPUT");
// kick them off
errorGobbler.start();
outputGobbler.start();
// any error???
int exitVal = proc.waitFor();
System.out.println("ExitValue: " + exitVal);
catch (Throwable t) {
t.printStackTrace();
}I got this code from internet. Program will work fine if my "test.doc" is in "C:\test.doc" directory. Is there any way to get the application path and open the doc file or how to give a specified path for my doc file
EG:- "C:\TestDir\test.doc"
ThanksWell /C is not the path to the app. It is a switch to
the command line.
set your file name to "C:/test.doc"
~TimSorry, I guess my reply doesn't really answer the problem. But you can supply the entire path as part of the file name string.
String file = "C:/Path/To/My/File/to execute/test.doc" -
Issue with building solution file using devenv.exe
Hi,
I am facing an issue while building my solution file (developed in Visual Studio 2010) using devenv.exe from command line. The error is as below.
C:\Code\trunnk\common\Controller\Controller.vcxproj : error : The expression "[System.IO.Path]::Combine(C:\Code\trunk\common\Controller\, "C:\Code\trunk\out/Release/x64"\Controller.exe)" cannot be evaluated. Illegal characters in
path. C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets
Could you please help me in understanding the above error and fixing it.Thanks for all the information. Currently i've tried to use both modules (TextCodepageConversionBean and XMLAnonymizerBean) in my Sender File Adapter, but for now without any result...
To describe the situation: i am using flatfiles which i am fetched from the file system (NFS) by the Sender File Adapter. To translate the characters to the XML strucutre, the File Content Conversion protocol is been used.
The content conversion defines the structure base on the first two characters on each row in the flat file. This worked fine till one of our suppliers is delivering BOM characters like "EF BB BF" in the beginning of the file.The content conversion is not able to recognize my header characters in this situation, which will normally start with "01".
Any suggestions? -
When trying to open an .xps file, I told Firefox to AUTOMATICALLY open all .xps files in the future using xpsviewer.exe & now it opens MANY, MANY tabs FAST and continually once I double click on .xps file! How do I stop this? How do I UNselect the AUTOMATIC feature? I do not see where to do this. Also, How DO I open a .xps file successfully in Firefox once this first problem is solved?
See:
*https://support.mozilla.com/kb/Firefox+keeps+opening+many+tabs+or+windows -
How to call DOC file using web.show_documents
Hi friends ,
If I use the built-ins web.show_documents for open the *.doc file
I am getting the following error
ORA-06550: line 5, column 2:
PLS-00201: identifier 'README.DOC' must be declared
ORA-06550: line 5, column 2:
PL/SQL: Statement ignored
DAD name: WebDB
PROCEDURE : readme.doc
URL : http://132.148.160.3:80/WebDB/readme.doc?
PARAMETERS :
===========
ENVIRONMENT:
============
SERVER_PORT=80
SERVER_SOFTWARE=Oracle WebDb Listener 2.1
SERVER_NAME=132.148.160.3
GATEWAY_INTERFACE=CGI/1.1
SERVER_PROTOCOL=HTTP/1.0
REMOTE_HOST=132.148.160.251
REMOTE_ADDR=132.148.160.251
REQUEST_METHOD=GET
QUERY_STRING=
SCRIPT_NAME=
PATH_INFO=/WebDB/readme.doc
HTTP_ACCEPT=*/*
HTTP_ACCEPT_LANGUAGE=en-us
HTTP_ACCEPT_ENCODING=gzip, deflate
HTTP_USER_AGENT=Mozilla/4.0 (compatible; MSIE 5.01; Windows NT)
HTTP_HOST=132.148.160.3
HTTP_CONNECTION=Keep-Alive
Please advice How to call Doc file in web.
Thanx
nullThe syntax to execute web.show_document:
web.show_document('http://server_ip_or_server_name/virtual_path/filename.doc')
The virtual path has been defined in Apache (if you run on web with Apache) or has been defined in Internet Inoformation Server (if you are runing with Internet Information Server.)
null -
Unable to test MPEG-4 files using fmscheck.exe
I am trying to run fmscheck.exe to test server status
i am using bat file with code:
set /A counter = 0
:start
start /B fmscheck.exe --host localhost --app vod --play sample 0 all --timeout 360 --logfile output_log.txt
set /A counter = %counter% + 1
IF %counter% LEQ 9 goto :start
I have sample.flv and sample1_1500kbps.mpeg-4 file in my application\vod\media folder.
When i run sample file using code given above it runs successfully
But when i input
start /B fmscheck.exe --host localhost --app vod --play sample1_1500kbps 0 all --timeout 360 --logfile output_log.txt
it gives error: File NOT found
I tried this command:
start /B fmscheck.exe --host localhost --app vod --play mp4:sample1_1500kbps 0 all --timeout 360 --logfile output_log.txt
it gives error: File NOT found
What is the problem here?I was making a mistake.
Correct command is
start /B fmscheck.exe --host localhost --app vod --play mp4:sample1_1500kbps.f4v 0 all --timeout 360 --logfile output_log.txt
thanks.
Maybe you are looking for
-
How to do Handshake with tired party(bank) HTTPS URL from SAP PI server
Dear Expert, I have developed bunch of scenarios, all are synchronous ABAP proxy to HTTP_AAE with bank on PI 7.4(dual stack). Bank web server is HTTPS enabled server. Our ABAP developments are still in progress also we have few issue in connection fr
-
Question about Finder file listing order when sorting by "Name"
I quite often add a suffix to some of my file names when I save them so that I can keep a complete history of changes. For example, I usually add "_000" at the end, and progress to "_001" through "_009". However after "_009" I don't increase the next
-
Hi, I have my backups on tape, backups of database and archived redo log files. Is it possible that if we could register existing backup sets on tapes to our catalog if these backups' record is missing from our control file (I have a scenario where i
-
My iPad wont save anything to reading list all of a sudden
I have tried saving pages from the Internet to my iPad reading list but it won't. Also pages I had saved has disappeared. What can I do????
-
Can I stop a download and get a refund for an iBook purchase ?
Can I stop a download and get a refund for an iBook purchase ?