.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
david stephan
Gaurav Pal
Post New Web Links

InfoPath to Word

Posted By:      Posted Date: May 22, 2011    Points: 0   Category :C#

When I installing InfoPath to word I got the below error message:

the InfoPath to Word wizard requies 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.

Nothing is impossible

View Complete Post

More Related Resource Links

infopath 2010 form to ms word or pdf

Hi all            I am working with sharepoint 2010 and infopath 2010 . i had  a infopath form which is published to a form library . My goal is to  convert the submitted form to pdf or ms word document which contains the information i filled in the form. thnxs shabadh

InfoPath / ActiveX error when using person selector field in Word template off SharePoint document l

I have created an out-of-the-box document library on a SharePoint 2010 site.  I left Microsoft Word Document selected as the Document Template.  I then added a person or group column and a multiple lines of text column to the document library. I then went into Library Settings --> Advanced Settings and clicked on Edit Template, opening the template in Word.  I created my template and added the two new columns to the document.  I did this using the Quick Parts --> Document Property --> [column name] feature under the Insert tab in Word.  I then saved the template back to SharePoint. Upon opening the template or creating a new document from the template, I get the following dialog box: --------------------------- Microsoft Office InfoPath --------------------------- One or more ActiveX controls could not be displayed because either: 1) Your current security settings prohibit running ActiveX controls on this page, or 2) You have blocked a publisher of one of the controls. As a result, the page might not display correctly. --------------------------- OK   --------------------------- I've searched around (I believe fairly extensively) and have not run into anyone else with the same issue.  Some have mentioned a similar error when creating a custom document information panel in InfoPath, and suggested lowered ActiveX security setti

Printing from Infopath to word not working


I am trying to use InfoPath to Word Wizard tool, part of Microsoft Office InfoPath SDK for print data gathered using an InfoPath to work with a Word document.

Although there is not any error message through  the process, there is no data output printed.

If I review the .XSl generated by the Wizard, I cannot find any reference to the data contained at the InfoPath form. Furthermore, If I try to open the Word document I got a message from Word saying that the file contains personalized XML elements that are not admitted by Word anymore.

I suspect that the problem is because by error I installed the KB974631 to my Word, but there is not an uninstall option. I already uninstalled and installed again the whole Office suite without results. I am using Windows 7 professional and Office 2007.

Editing SharePoint forms in Word Document with InfoPath



I have a SharePoint library on a MOSS 2007 server with six metadata columns. When a document is saved, a workflow populates five of those columns. However, when a document is open, the user can see all six of those columns (when they only need to enter data into one). I figured out how to edit the form that appears in Microsoft word using Infopath. However, I don't know how to get rid of the fields I don't want users to see. If I delete those fields in the form, the workflow gives an error.

Does anyone know of a good resource that explains editing these forms that show up in a document using Infopath?



Infopath 2010 print in MS word format

I have a form library IP 2010 - I want to have the option for the user to print the IP document in a pre set formatted MS Word document - Is this possible via action from the Infopath form.  Thank you 

SharePoint Designer Workflow Activity to generate Word Document from Infopath xml




I am considering the follow implementation.

I have a workflow that user fills out to get funding and once approved (via workflow) I want to at the end of the approval generate the letter dynamically based on the values out of the infopath form.

Now I am thinking of the following solutions.

A custom activity where you point it to the word document to use and then set the fields out of the infopath that you want transfered into the word document.

Is this going to be even possible.

The type of data I have is fields from lookup, people pickers, text, curreny etc.

Is there another option maybe having a document lib with these fields as text and create new item in it and move these values into there (is that possible via designer?)


The document has to be able to be easily editable by the end user to change the template and also to be able to edit the actual document once created.


Any help would be great.

Can you have InfoPath export a list into a Word Doc and have that mailed?


Have a very particular question here. We have a client that have items located in a list within SharePoint 2007. Their requirement is as follows...

After a new item is created

Take the items in the list and generate a new word document

Attach that word document with any other attachments to the item and email that to the client.

I was told this can be done in InfoPath but I don't see where InfoPath could automatically generate a Word Document from a list and email it somewhere. If this is possible can someone point me to an example please?

Any help is appreciated, thank you in advance.

InfoPath 2010 cannot connect to SharePoint 2010

You have installed Office 2010 beta and you are trying to connect to SharePoint 2010 from InfoPath but you get an error

PrintPocketCE Print Pocket Excel, Pocket Word and email files

Version 3.560 (May 15, 2009):

Important bug fix: a slight difference in how some devices create fonts was causing a few devices to have significantly longer print times for large print jobs.

Adjusted PocketJet printer paper feed commands

Other minor fixes and enhancements.

Version 3.559 (Mar 5, 2009):

Added support for Martel MCP78xx printers

Version 3.558 (Aug 20, 2008):

Added support for Martel MCP78xx printers

Version 3.557 (June 27, 2008):

Fixed error in Canon printer support

Fixed COM0 port selection

Version 3.556 (June 15, 2008):

Added support for Brother MW-260

Added support for Sato MB400

Version 3.555 (Aug 8, 2007):

Added support for Pentax RuggedJet 3 and RuggedJet 4 printers

Changed Epson TM-P60 support to maximum page width of 1200 dots

Version 3.551 (Aug 1, 2006):

Added Peripheral Nomad printer support

Version 3.550 (Mar 23, 2006):

Added Panasonic JT-H200PR printer support

Added Pocket Spectrum printer support

Fixed problem with WM5.0 "inverted image" problem

MS Word style comments in asp.net



I need to create a system, that will be similar to ms word style comments. So the idea is the following: on the page there are a pack of text boxes labels and so on, and user need have the way to comment each control, and save commented text, for example to DB, so the others can reed comments too.

I tried PopUpControlExtender, but it works in single way, and i cannot view all the popups in one time. Or may be i missed something and there is a way to popup all the controls at one time? 

Therefore, are there any known solutions for a discribed task, based on PopUpControlExtender or something else?



Is it possible with SQL sorted in descending order according to the word?
In Table I shrajeno Mastercard, Visa, Diners etc ...

All Visa are the first in the order, another Mastercard, etc. ...

Something does not work: ORDER BY PaymentType = 'Visa';

I would not want to work in one field PaymentId (111,222,33, etc. ..) and then use the ORDER BY.

Is this possible in such a way?

how get only two word in database?



i have a feild in database where we store data like







i want only first to word to show in textbox1 like(only PT).

Word Automation Issue in Windows Server 2008 Hosting



The problem I am posting here is that I was facing nearly 2 weeks around. Any body comes with this stuff please help.

Word Automation in sample ASP.NET(C#) application.

I am using Microsoft.Office.Inetrop.Word Assembly for automation. Here I am reading a XXX.dot template file and fill the contents with dynamic data.

When i am executing my code in localhost:someportnumber the automation is working fine and I could get expected result and when I am hosting in my inetmgr(Windows XP is my OS) it is also working fine.

But the problem is that when I am hosting in my production server(Windows Server 2008 Standard Edition) I am not able to perform automation and results in the following error.

Data: System.Collections.ListDictionaryInternal
Message: Word has encountered a problem.
Source: Microsoft Word

The code gets failed in the following line:

ApplicationClass wordApp = new Microsoft.Office.Interop.Word.ApplicationClass();

Document wordDoc = wordApp.Documents.Add(ref oTemplate, ref oFalse, ref oMissing, ref oMissing); // Error in this line

I cannot able to proceed further. Can anybody please help me in solving this issue?

Thank you.

With Regards,


Word Automation - Multiple DCOM Errors/Behavior

Before I get started, I already know that Microsoft does not support and highly discourages server-based MS Office automation.  I've read a multitude of posts and smarmy "*wink*, here's a link" replies, so I'm looking for actual help here, not condescending reprimands.

That notwithstanding, here is my problem.  I have developed a simple method that will open a local Word document, modify some header information, and then save the document as a new file.  As expected, it works great as a console/windows app, but as soon as I went to ASP.NET, DCOM jacked my world up when accessing the app remotely from a different domain account (that has access to the ASP.NET app.  For reference, my method is shown below:


1    public static string ModifyAndSaveBuildDocument(string localFilePath, BuildDocumentType docType, string buildNumber, DateTime buildDate, string projectName)
2            {
3                try
4                {
5                    ProjectConfiguration config = (ProjectConfiguration)ConfigurationManager.GetSection("ProjectConfiguration");

Charset Problem with dynamically generated Word Document


in my asp.net web application i am dynamically generating a word documnet out of a sql data. I have set the char set UTF-8 during the doument creation in code but still when i open the generated document and check it char set .. it is always windows-1252 not the one that i have set. My sql data in the document have special characters whihc can only be understandable using the UTF-8 charset otherwise its always ?T written in place of an apostrophy . Pasting my code here..

         HttpContext.Current.Response.ContentType = "application/msword";
         HttpContext.Current.Response.ContentEncoding = System.Text.UnicodeEncoding.UTF8;
         HttpContext.Current.Response.Charset = "utf-8";
         string strFileName = "Details" + ".doc";
        HttpContext.Current.Response.AddHeader("Content-Disposition", "inline;filename=" + strFileName);
        StringBuilder strHTMLContent = new StringBuilder();
        string strMessage = " ";
        DataView abstractview = (DataView)dsAbstract.Select(DataSourceSelectArguments.Empty);
        foreach (DataRowView row1 in abstractview)
            strMessage += "<table border='1' cellspacing='0' cellpadding='5' width

How to insert Image (jpeg) into MS Word Programmatically using VB.NET


Hi there,

Can someone help me on How to insert Image (jpeg) into MS Word Programmatically using VB.NET..not C#.NET??? Sad

I could hardly find any articles for the coding. Preferably using Bookmark...can i have the sample code.



Migrate VBA To C# Word 2007


few Days Back I was Invloved In a project Which was Migration VBA in Office Word 2007 to C#..

I faced Loads Of Problem (I am was Very new to Word VBA)..

So I Decided To Migrate


the above VBA Book


I have Migrated Concept and collection Section...

Hope It help SomeBody Like Who was Struggeling to Migrate VBA to VSTO

ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend