c# create ms word without pop the word up

  • Thread starter Thread starter Ang
  • Start date Start date
A

Ang

Hi,

I'm writing the code to create a word doc, I referenced this link's code
:
http://support.microsoft.com/kb/316384/en-us

But when i click the button, it will show the doc page but i want to
change to save as without pop the doc up (for those PC without Ms word)

I add the code oWord.ActiveDocument.Save() at the end, it works for
"save as" but still have a doc popup, what can i do to complete this?
many thanks.

Ang.
 
Ang said:
Hi,

I'm writing the code to create a word doc, I referenced this link's code
:
http://support.microsoft.com/kb/316384/en-us

But when i click the button, it will show the doc page but i want to
change to save as without pop the doc up (for those PC without Ms word)

You can not use "MS Word automation" as described in the KB article without
Word being installed!

Willy.
 
I do the same thing too, but it just show the popup word after "save as"
process....

Btw, is it possible that if i open an old file, clear all its contents
and insert the new data, which won't give any word popup?

(still searching how to remove content)
 

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

Back
Top