msword

Uploading doc files

Does anyone know of examples of major sites that will allow uploading of docs files to there system, I am thinking of allowing this upload but I'm worried about the posibility of users uploading viruses. I'm worried that someone uploading a virus to the site could affect it's reputation. Should I just allow pdf's instead or have to hav...

Conversion between docx / doc / rtf and lightweight markup

I am looking for a tool or set of tools to convert between file formats D and M where D is a format handled by MSWord, in order of preference, docx, doc, rtf M is a lightweight markup, such as markdown, textile, txt2tags, it can be an esoteric one there is a way to generate html from M conversion is two-way, it's done both from D to M,...

How to call a macro on a button click in a word document

Hi, I'm new to macro programming in VB, and what I'm trying to do is clone a row in my word document when a button is clicked. I've made an attempt as shown in the picture below. What do I need to do to make the addTwoDependants() subroutine run when the button is clicked? ...

Cleaning up 'smart' characters from Word in Ruby

I need to clean up various Word 'smart' characters in user input, including but not limited to the following: – EN DASH ‘ LEFT SINGLE QUOTATION MARK ’ RIGHT SINGLE QUOTATION MARK Are there any Ruby functions or libraries for mapping these into their ASCII (near-) equivalents, or do I really need to just do a bunch of...

How do I programatically turn off the wavy red lines in a Microsoft Word document via VBA?

Is there anyway to disable spell checking on a per document basis via VBA for MS Word? ...

MsWord weird identification of language when reading UTF8 text file

Hi, I have to merge a document in MsWord 2003 that includes some Thai characters, to do it I dump the information using UTF-8 charcode. That kind of works ok. Problem is that when I open this text file in MsWord (as it is my DataSource for the merging), it identifies some english characters as if they were foreign language (so not bein...

Having formatting issue in creating a word document from a copy of another word document

The application I support is creating an amalgamted Word document by copying couple of Word documents in one document right after each other. The problem is the format of the some of the fields of the document that gets appended is changed in amalgamated document while the amalgamated document is the copy of AppendDocument (imagine if w...

is it is possible to add office word in vb .net2008??

hello, i am doing an project it needs office word as a part of it and is it is possible to add office word in my vb.net 2008 application ..please explain with example... ...

mail-merge HTML from a database into MS Word

project: Using VB.NET to build a winforms database interface and work-automation app. I am using this editor for the users to enter their text in the database interface environment that will both load/save/show them what they are working on in the form and also mail-merge into a Word document waiting for the content. I can do the first ...

Transposing tables in place in Word using VBA

I'm trying to write a method to transpose tables in Word using Visual Basic and the Excel object model. However, I'm having trouble using paste special with the copied Word object, since its not just plain text. Is it possible to force a plain text paste with transpose? Is there a better way to do this? My current code is as follows: ...

OLE Automation to launch MS Word and bring to front

What is the "correct" (recommended) method for connecting to a running instance of MS Word and bringing this application to the front? I am doing something like the following from a VBA app: ... objWord = GetObject ("Word.Application") if (objWord is nothing) then objWord = CreateObject("Word.Application") end if objWord.Activate() ob...

how do we open a word file using vb script

could anyone plz tell me how to open word files using vbs windows scripting. I tried out these two set of vbs, but windows script Host error ("The system cannot find the file specified", errorcode: 80070002) is getting displayed eventhough the file exists at the specified location. the first vbs i tried out: Dim sAppPath Dim sPrgFolde...

how can we open a word file with specific page number in c sharp?

how can we open a word file with specific page number. can anybody plz help me..?? this is the the code i used to open the file: public static Application Open(string fileName) { object fileNameAsObject = (object)fileName; Application wordApplication; try { wordApp...

Looking for a sample/example for Adobe Air (flex) app to generate a word document.

Like the title said, I'm looking to generate a word doc (or something word can read formatted) from an Adobe Air application. My second alternative would be to generate an HTML doc and format it like the word document but it would be more convenient to use a word processor. I eventually will tie this to a database (probably php). Any ...

MS Word filtered HTML image text displays poorly when saved from windows 7

We are writing a plugin for MS word 2007 and 2010. That plugin has a step that saves the document out as a filtered web page. When you do this, any text inside of a shape is turned into an image. (We set the option to save as a PNG). The problem is, that when we save the files out with MS Word on an XP machine, things work great. Th...

"Invalid Merge Field" Error In DATABASE Field

I am trying to create a table based on an Access file. Using the the DATABASE field I get an "Invalid Merge Field" error if I try to exclude the ID from the import. If I delete the field as the dialog suggests, it creates a table but has an extra empty column where the ID would be. Even if I remove the column manually, it comes back on a...

insert excel sheet in word 2003 and keep formulae?

Hi Is it possible to insert an excel sheet, formulae and all, into word and keep the functionality of the formulae within word? thanks ...

Open remote document and save back to remote server

I have programmed a web app for my office that runs on the server. All of our documents are on the server as well. I would like to be able to have the user browse a folder on the server through my web app, open it in an editor (online or desktop), be able to edit it and save it back to the server, in the location where it was opened from...

How can I extract a specific table and copy from MS Word to Excel in Perl?

I have an MS Word 2003 file which contains several tables in it and I want to extract a specific table contents. For example, tables will be coming under some sections and I want to extract the contents of the table that are coming under section 6 alone and no other table contents, I want copy those contents to an new Excel sheet with fo...

PRoblem :- word document showing content with special characters

showing special characters, in word document , chk attachment , plz.. i want to remove that special characters , ...