Executing a Word macro for printing

S

Steef D.

Hi, we've created a webapplication which sends a Word-document
as a stream of bytes to a client using Internet Explorer,
Internet Explorer recognizes the stream as a Word-object and
opens Word. The document containts a macro handling the
Document_Open() event which in turn immediately prints the
document. If you store this document and open it interactively,
the event gets fired and the document gets printed. It seems
that sending the document as a stream of bytes and opening
it fails in firing the Document_Open() event so it won't get
printed

Any takers ?
 
A

Alvin Bruney [MVP]

phew
this is more of an word automation problem. i suspect you would find more
help in the office automation newsgroups.

off the top of my head, i would think that the document isn't getting
serialized correctly (specifically the macro embedded in the document).
 
S

Steef D.

I know it is related to automation but since the document is opened in
Internet Explorer I thought I give it a try over here. The document is
serialized correctly.

Anyway, thanks for your reply.
 

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