J
Joe Lalor
I am trying to automatically open a word document in an asp.net application. It
works fine on the local host, but when I deploy on a W2003 server, the
winword process starts (I can see it in the task manager on the server), but
the document doesn't open on the client. If I define the document as the
target of a hyperlink on my asp.net page, it opens fine when I click on it.
I've
tried using :
System.Diagnostics.Process.Start("c:\test.DOC")
(System.Diagnostics.Process.Start("notepad.exe") also doesn't work)
and
Batch.appWord = New Word.Application
Batch.docWord = Batch.appWord.Documents.Open("c:\test.doc")
What am I doing wrong?
Thanks
works fine on the local host, but when I deploy on a W2003 server, the
winword process starts (I can see it in the task manager on the server), but
the document doesn't open on the client. If I define the document as the
target of a hyperlink on my asp.net page, it opens fine when I click on it.
I've
tried using :
System.Diagnostics.Process.Start("c:\test.DOC")
(System.Diagnostics.Process.Start("notepad.exe") also doesn't work)
and
Batch.appWord = New Word.Application
Batch.docWord = Batch.appWord.Documents.Open("c:\test.doc")
What am I doing wrong?
Thanks