msword

Embed MS Word in asp3 Web Page

Does someone knows how can i Embed MS Word in asp3 page? TY ...

Word 2003 - How to use a Macro to Change styles?

Is it possible to create a Word 2003 Macro to change the font style of certain segments of a document? For example, say I have a document that has a large portion of text as bold italic and 12 point font. I'd like to replace all text with these characteristics with underlined 14 point font. I've already done some searches on Google,...

Sign a Word VBA project/file via command line or other form of automation

Is there a way to automate code signing a VBA project in a Word 2003 and/or Word 2007 document? By automate I mean via a command line utility or via Word VBA automation? Motivation: I would like to code sign several Word templates as part of an automated daily build and distribution cycle. Right now we have to do this manually by openi...

Understanding WordProcessingML tags and avoid unnecessary tags

Hi, I am using MS Word API to generate .docx which contains the data fetched from DB, in which i am applying the respective styles, fonts, symbols, etc. If the data fetched from the DB is quite huge, then there is a problem in displaying those data in the .docx file. I found that internally MS Word 2007 will write some content through ...

New ActiveXObject('Word.Application') creates new winword.exe process when IE security does not allow object to be created

We are using MS Word as a spell checker for a few fields on a private company web site, and when IE security settings are correct it works well. (Zone for the site set to Trusted, and trusted zone modified to allow control to run without prompting.) The script we are using creates a word object and closes it afterward. While the objec...

How to check a character font and replace it in Microsoft Word Add-In?

I want to create an add-in for Word to convert between Vietnamese character sets but I don't how to scan each character in document and check its font to convert (there are many charsets and fonts in VN) after has converted I want to replace origin character with the converted character. ...

Cannot execute cut-n-paste VBScripts

I have been going mad trying to figure out why my scripts weren't working, until I started copying and pasting sample source code directly from a few websites only to have it fail there as well. I am getting the following error in my VBScripts: C:\temp\vbs\script.vbs(19, 53) Microsoft VBScript compilation error: Expected statement' ...

Best way to distribute form that can be printed or saved?

I need to develop a simple form (intended only for printing) to be filled in by arbitrary end users (i.e. no specialized software). Ideally, I'd like the end-user to be able to save their inputs to the form and update it periodically. It seems that (at least without LiveCycle Enterprise Suite) Adobe Reader won't save data input in a PDF ...

=rand(100,60) - MSOffice Problem

Oho ! Have you tried this one ?? Very simple office utility question. The question is something like this. Open Microsoft word ( 2003 or 2007 ) whatever you use. After opening the word. Let's have a new empty blank document. ( It's up to you to have it or not ) Press enter to go to a new line. now type "=rand(100,60)" in new line No...

How to get print out of a ms word file from java application....

Print ms word file (myfile.doc) to get printed from java application.... ...

Excel VBA MailMerge question

http://stackoverflow.com/questions/1357121/executing-word-mail-merge-from-excel-macro Is there anyway to set it up to send the mailmerge to the printer rather than create a new file? ...

Replace text in Word Document via ASP.NET

How can I replace a string/word in a Word Document via ASP.NET? I just need to replace a couple words in the document, so I would like to stay AWAY from 3rd party plugins & interop. I would like to do this by opening the file and replacing the text. The following attempts were made: I created a StreamReader and Writer to read the fil...

.NET Framework generates strange DCOM error

Hello, I am creating a simple application that enables merging of key-value pairs fields in a Word and/or Excel document. Until this day, the application has worked out just fine. I am using the latest version of .NET Framework 4.0 (since it provides a nice wrapper API for Interop). My sample merging method looks like this: public by...

Determine whether a Canvas has been inserted into each page in Word

Hi, Currently i have a code which will print OMR Mark on each pages. Basically i insert a Canvas into each page and subsequently an OMR Mark Line Series are inserted into the Canvas. Recently i found an issue that somehow one of the canvas is placed out of a page and it appears at the previous page instead of the current page. Below i...

How can I change the colourindex of a word in a string for msword using Win32:OLE?

I am actually trying to change the color index for the first word with braces in an array so they show up in the right color in Word 2003. For example, if I have an array like this: @array=" (This) is (perl), perl is a great (language), we can do anything with perl, (perl) feels us great." I need th...

MSWord automation:Get file contents after it was saved

I have an application that uses MSWord automation to edit some documents, after they save and close word I need to grab the modified file and put it back on the repository, there is only one scenario where I can't get it to work and that is when the user makes changes to the file, selects to close word and selects yes to save the file t...

How to open Microsoft Word by function call?

I want to accomplish a few tasks: Open a Word document through my program in C# and create a document path to read or write to. Change the formatting of text in the Word document as if I wanted the Word window to give me the text in RTF format or plain text or docx (supported formats) Retrieve the text in my given format such as RTF fr...

Microsoft office 11.0 (Word & Excel) Object Library work with Office 12 (Word & Excel) for VB6

Hi all friend; I have an application using VB6 and I use Microsoft Word 11.0 object library and Microsoft Excel 11.0 object library to use for the report purpose. But there are some computer in my work place using Microsoft Office 2007, so they cannot generate the report (with excel chart) from my application. I try to use late bindin...

MS Word paste into tinymce - retain tabulators

Hi, I have a 5 year old web application which runs tinymce 2.0.5.1 In this version it is possible - in IE 6,7,8 only to paste from MS Word and retain the tab characters. What we have done is to add a callback: paste_insert_word_content_callback : "findtabs" function findtabs(type, content) { if (type == "before"){ content ...

Generated HTML word document not displaying image correctly

I'm trying to add an image to a generated html word document that is embedded in a classic ASP page. The code looks something like this: <% Response.ContentType = "application/msword" %> <html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word...