Events not firing!

B

- B@rney

Hi Guys'n Dolls!

I'm currently developing a "client/server" application consisting of an
ASP.NET server application and a COM Add-In on the client.

The ASP.NET application takes a WordML .xml template on the server, reads
some data from a database, maps the data into XML tags in the WordML
template, and Response.Writes the XML document out as
"application/octet-stream" with Response.AppenHeader("Content-Disposition"
"Attachment; filename.....).

Then in the C# Add-In I need to catch an event telling me that this new
document is available and make a decision based on the filename whether to
display a button allowing the user to POST the file back to the server.

This filename-detection works fine when I just open a (.doc) document from
the server, but when I use my ASP.NET server based solution no events fires
in Word (except OnStartupComplete). But I need to wait until the document is
opened to get its filename...

Anyone have an idea?


- B@rney
___________________________
http://www.sharepointdemo.biz/
http://www.sharepointdemo.biz/blogs/bjarne/
 
B

- B@rney

OK - some more info...

If I open Word before I click the link to the document, I get all events. If
I start it directly I don't...

Weird!
 

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