Calling C# Windows App from MSWord

A

Andrew Mercer

Hi,

I hope someone can help me with the following question;

Scenario:

I currently have a standalone C# windows app that builds, populates, saves and
opens MSWord documents on users machines. When the user closes each word
document (after saving new/editing the text) the windows app uploads each
document back to a central server using a webservice. The app knows when the
word document has been closed by constantly checking for the existence (or
not) of the ~$ file for the relevenat word file.

I am now trying to do a similar thing when opening each word file on a USB
key. However in response to another question on another of these Newsgroups I
understand that ~$ files are not created for word documents opened on
removable media.

Question: I believe in the past I read somewhere that it is possible for
(some) actions done in word to call/invoke code in a separate standalone
(bespoke) windows app.

Is this true? Can some one point me in the correct direction?

Hoped for scenario;

1. Word document opened as now using standalone windows app to populate
certain data/bookmark fields.

2. User manually alters word document.

3. User closes word document. At this point code is invoked in my standalone
app to upload the altered file to the server.

I hope this is understandable.

Thanks again for any help you can provide.

Regards Andrew
 

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