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/
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/