Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / General / September 2005

Tip: Looking for answers? Try searching our database.

word not visible

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
fizmon - 07 Sep 2005 18:01 GMT
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
Clamps - 07 Sep 2005 21:24 GMT
webforms or winforms?

> 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
[quoted text clipped - 14 lines]
> TIA,
> Richard
fizmon - 07 Sep 2005 21:48 GMT
winforms
Clamps - 07 Sep 2005 21:54 GMT
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.

> winforms
fizmon - 07 Sep 2005 22:03 GMT
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.
Clamps - 07 Sep 2005 22:15 GMT
Why not just create file in code, save to a UNC, then
process.start(UNC\filename.doc)?

> 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.
fizmon - 08 Sep 2005 02:53 GMT
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.

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.