Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsVB SyntaxEnterprise DevelopmentDatabase AccessControlsCOMWin APICrystal ReportDeploymentGeneralGeneral 2
Related Topics
VB.NET / ASP.NETMS SQL ServerMS AccessOther Database ProductsMore Topics ...

VB Forum / COM / May 2004



Tip: Looking for answers? Try searching our database.

Winword.exe Instance in Task manager

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
NEtsdpace news - 05 Apr 2004 02:44 GMT
Hi All,

I have created an itranet site which creates various doc's using a word mail
merge via OLE.  It currently created the source data file, opens the merge
source file, completes the merge to a new file, saves the file and opens it.
The problem is when the word doc is closed an instance of winword stays in
the task manager on the server.  This prevents me from creating any new docs
until I manually kill the instance in the task manager.  There must be
something I have missed or not doing etc.

Any help would be greatly appreciated.

Thank you
Taras Pich - 28 May 2004 20:49 GMT
Try adding this after you close word
System.Runtime.InteropServices.Marshal.ReleaseComObject(wdApp)

Assumes you created the object like this

wdApp = CreateObject("Word.Application")

> Hi All,
>
[quoted text clipped - 9 lines]
>
> Thank you
 
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



©2009 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.