WordPrint Tool

B

Bryan Hughes

Hello,

I am trying to use the WordPrint Tool from the InfoPath SDK. When I use it,
I can select the .xsn or xsd file to convert, but when I click next I gives
me "The InfoPath to Word Wizard requires that the file wordprint.dll, which
is missing or is not properly registered. Please refer to the InfoPath SDK
Documentation or to the SDK Configuration tool for more assistance."

This now reference to this error in any of the SDK documentation.

I tried to manually register the wordprint.dll using regsvr32, that got rid
of this error, and allows me to through the wizard and pick and format the
word doc, but when I click finish I get a "mshta.exe" error (C++ Runtime
Error) in the event logs it says relating to this error that the
"skchui.dll" is causing the address.

Has anybody else received these errors and how do you fix them?

-TFTH
Bryan
 
B

Bryan Hughes

Bryan,

Thanks a bunch that did the trick. Why aren't these files registered on
install?

-TFTH
Bryan
 
B

Brian Teutsch [MSFT]

Bryan,

I think the SDK doesn't install any components, in the sense of registering
them. Thus we tried to make the error messages as helpful as possible.

Brian
 
R

RickM

Hello,

I am also getting the "Mshta.exe" error when trying to use the Word
Print tool. Can someone explain what they have done to overcome this?

Thanks
RickM
 
B

Brian Teutsch [MSFT]

You'll need to register three DLL files included in the SDK. You can use
regsvr32 from the commandline, and pass it the path to wordprint.dll,
html2xhtml.dll and imageDecode.dll. All are in the Tools folder of the SDK.
Sorry that's not done automatically.

Brian
 
R

RickM

Brian Teutsch said:
You'll need to register three DLL files included in the SDK. You can use
regsvr32 from the commandline, and pass it the path to wordprint.dll,
html2xhtml.dll and imageDecode.dll. All are in the Tools folder of the SDK.
Sorry that's not done automatically.

Brian

Thanks Brian, That fixed it.
 
C

cindy

Hey Brian,
When registering the html2xhtml, I get an error message
"LoadLibrary("html2xhtml.dll") failed - The specified module could not be
found."

Any Ideas?
 
B

Brian Teutsch [MSFT]

Yes, you have to either be in the same directory as the DLL, or use the full
path to the DLL when you run regsvr32. That will fix the error.

Brian
 
B

Brian Teutsch [MSFT]

I'm not sure what could be causing the errors. Stretch idea - try
uninstalling the SDK, and downloading a fresh version. I really doubt it
will help. Have you tried this on other machines as well? It's more likely
some issue with regsvr32 usage or configuration than with the SDK.

Brian
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top