msword

Check wherever WordprocessingDocument is empty

Hi, all! How to check from WordprocessingDocument wherever word document is empty? ...

Modify embedded Excel workbook in Word document via VBA

I have a Word document with two embedded Excel files (added using Insert -> Object -> Create From File) which I wish to modify using Word VBA. I have got to the point where I am able to open the embedded files for editing (see code below), but am unable to get a handle on the Excel workbook using which I can make the modifications and sa...

Accessing Word documents in a Rails app

I have a number of documents (mainly Word and Excel) that I'd like to make available to users of my Rails app. However, I've never tried something like this before and was wondering what the best way to do this was? Seeing as there will only be a small number of Word documents, and all will be uploaded by me, do I just store them somewhe...

Progress bar using Office VBA

I have a small programme that opens and closes a number of different word documents while it runs. It loads some documents from the web so it takes a little while and I'd prefer to let the user watch a little progress bar or at least have a message in a form telling them to wait. I can't seem to be able to keep that form on top of all o...

MOSS 2007 Wiki Export to MS Word or PDF

Hello, I've started using MOSS 2007's wiki feature for storing the ongoing technical documentation related to a project I'm working on, and it occurred to me after I started writing a few pages that there's no easy way to export out all of the pages into one document. For those of you familiar with MOSS 2007, any ideas how this might b...

vba simple database query from word

This is basic stuff, but I'm somewhat unfamiliar with VBA and the Word/Access object models. I have a two column database of about 117000 records. The columns are 'surname' and 'count'. I want a user to be able to type SMITH in a textbox and hit submit. I then want to run something like SELECT table.count FROM table WHERE surname = str...

Extracting data from MS Word

I am looking for a way to extract / scrape data from Word files into a database. Our corporate procedures have Minutes of Meetings with clients documented in MS Word files, mostly due to history and inertia. I want to be able to pull the action items from these meeting minutes into a database so that we can access them from a web-inter...

How can I include value of sharepoint's version column in a word document?

I'm trying to work out a way to display the contents of the version column from sharepoint (i.e. the value that changes every time a file is checked in) as a field (or something similar) inside of a word document. Ideally, I'd like to know how to configure sharepoint so I could click something like "Insert > Quick Parts > Document Prope...

Adding Wordnet.net dictionary in c#

How can i add Wordnet dictionary or msword dictionary in my application?I am developing the Application in .NET C#. Its very urgent ! thanx F ...

How to display PDF or Word's DOC/DOCX inside WinForms window?

Hello, I'm wondering what's the best option to display a pdf/doc document inside form in my c# winforms app. This control should only allow do display preview. Edtiting documents should be forbidden. I'm looking for free solution. The best option would be to attach a few separate *.dlls to solution but it's not a requirement. ...

C# (or VB6) Convert Word doc to Tiff

Hi all, I'm working on a VB6 application that is used by over a hundred users. It generates a Word document, then saves a TIFF image of the document in a database. Currently, it simply sets the printer to Microsoft Office Document Image Writer, "prints" the document to a set location, then imports the resulting TIFF file into the data...

How can I flag source code in an MS Word document to not spell check?

Sometimes, for what ever reason, I copy source code into either a word document, or an email ... which in Outlook, I believe, is using Word. Anyway, it would be nice if I could spell check the english part of my document without having to manually ignore each and every source code token. Is there an option, or some type of style format...

Insert Button into Word Document

Is it possible to insert a button into a word document and call as macro on click of this button. Please let me know if you have any similar ideas and also the procedure to do it. ...

HTML formatting Problem : MS Word Document Generation with OpenOffice 2.4

I am using Openoffice.org to convert HTML document into a Microsoft Word document. We used divs to create a formatting block, but Openoffice is ignoring it. So we are forced to use tables and those, too are spilling out of the generated Word document on the right side. So i was wondering if there was any other way, where I can have form...

fill text elements in flash from word document (segments)

I need to get text segments from separate word documents into flash text elements. Is this possible? If so how? ...

Document-Rendering in Java

I want to render MSWord, PDF, HTML, etc to an image (e.g. TIFF) from server-side Java. Most available products are shareware printer drivers, and so not suited to a commercial server app: I'd like the library which is robust, well-supported, performant, and concurrent. Any suggestions for open-source or commercial libraries? ...

How do you capture the text on the first page of a Microsoft Word document?

Using VB.NET how do you capture the text on the first page of a Microsoft Word document? I've imported the Word 12 interop library (for Word 2007), and I know how to use the document.range function, but how do you know which page you're on when you're selecting text? ...

How do you create a two-column Word document where each column is a different file?

Is it possible to create a two-column Word document, where each column shows a different file? I would like to print out a text in different languages, original and translation, side by side to learn a foreign language, but I cannot figure out how to do it. ...

Get the diff of a two MSWord doc files and output to html

How can you get the diff of two word .doc documents programatically? Where you can then take the resulting output and generate an html file of the result. (As you would expect to see in a normal gui diff tool) I imagine if you grabed the docs via COM and converted the output to text you could provide some diff funcitonality. Thoughts? ...

How to programmatically insert comments into a Microsoft Word document?

Looking for a way to programmatically insert comments (using the comments feature in Word) into a specific location in a MS Word document. I would prefer an approach that is usable across recent versions of MS Word standard formats and implementable in a non-Windows environment (ideally using Python and/or Common Lisp). I have been looki...