word not visible

  • Thread starter Thread starter fizmon
  • Start date Start date
F

fizmon

I am really stumped. I am trying to create a new document or trying to
open an existing document locally on a Windows 2000 server thru VB.net
with Word XP (nothing fancy). Everything seems to work fine and I can
see a Word document open on my computer when I try it on my pc. When I
use the same program on the server, I don't recieve any errors, I can
see winword.exe running thru task manager and the document is open
because I can see the Word temp file also on the server. so everything
seems to be okay but word is just not visible. the instance of Word is
not on the taskbar either. If I open Word on the server from Word
itself everything is okay including seeing Word on the taskbar. I have
tried to cascade the windows etc. to no avail and yes word is set to
visible in code. I have used dcomcnfg to add permissions to the Word
instance, set it to open as Administrator, folder permissions, document
permissions and just about every permission known. If anybody has any
thoughts I sure would appreciate it because I am at the end of the
rope.
TIA,
Richard
 
Do you get anything in your task manager / running processes ? I'm thinking
that the instance of word isn't running in a UI thread for some reason.
 
Yes, I can see winword.exe in task manager/running processes and I can
see the temp file in the directory where the document is stored. So the
document is open just not visible to the user. for what its worth I do
have another app on that server that uses Word where an instance is
created and then the document is filled with data and then streamed to
the user but word is never needs to be visible on the server.
 
Why not just create file in code, save to a UNC, then
process.start(UNC\filename.doc)?
 
Thanks - that does work but I sure would like to know why a typical
creation of an instance doesn't. It is something on that server in the
way it is set up. I created the same environment using vmware and it
worked just fine. go figure. Again thanks for your input.
 
Back
Top