Y
Youss33
I have a problem printing a word document from an ASP.NET application.
the Application doesn't send an error back but the document is not printed and the document is kept open by the application (I can't kill the winword procees: access denied).
her is the code i use:
oWordApp = New Word.ApplicationClass
oWordDoc = oWordApp.Documents.Add("d:\\coucou2.doc")
oWordDoc.Activate()
oWordDoc.PrintOut()
oWordDoc.Close()
oWordApp.Quit()
What is going wrong?
thanks for helping me out there.
Youss
the Application doesn't send an error back but the document is not printed and the document is kept open by the application (I can't kill the winword procees: access denied).
her is the code i use:
oWordApp = New Word.ApplicationClass
oWordDoc = oWordApp.Documents.Add("d:\\coucou2.doc")
oWordDoc.Activate()
oWordDoc.PrintOut()
oWordDoc.Close()
oWordApp.Quit()
What is going wrong?
thanks for helping me out there.
Youss