A Microsoft Word forum. Microsoft Office Word Forum - WordBanter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » Microsoft Office Word Forum - WordBanter forum » Microsoft Word Newsgroups » Microsoft Word Help
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

WORD.EXE open multiple times in task manager



 
 
Thread Tools Display Modes
  #1  
Old July 27th 08, 10:39 PM posted to microsoft.public.word.docmanagement
jimrinflorida
external usenet poster
 
Posts: 4
Default WORD.EXE open multiple times in task manager

I have XP MCE 2002 SP3 w/Office 2003 Pro SP3 installed fresh on a new hard
drive. All Windows/Office updates available have been installed and Office is
activated. When I close Word it never truly closes in task manager. I have
also noticed that Outlook does not close either in task manager and on the
3rd time trying to open it the program freezes unless all instances are
closed in task manager. I removed Word as the editor in Outlook so that
another instance of Word would not start every time Outlook opens. I am
trying to figure why default installations of Office 2003 cause Word and
Outlook not to close (but look like the do). Outlook doesn't even have an
email account setup yet. This is home network. Very simple here. I can have
as many as 8 instances of WINWORD.EXE with all windows closed. (PPOINT,
EXCEL, and PUBL all close ok). I have a laptop with the same issues as well.
Any help would be appreciated!!
Ads
  #2  
Old July 28th 08, 02:27 AM posted to microsoft.public.word.docmanagement
alborg
external usenet poster
 
Posts: 67
Default WORD.EXE open multiple times in task manager

Hi Jim:

This behavior usually happens when through automation you invoke MS Word by
using another software, s.a. MS Access. It can also occur if MS Word closes
suddenly and unexpectedly not leaving time to remove the instance of MS Word.

In one of my Word Templates, for example, I callup MS Access, often leaving
numerous instances of MSACCESS.EXE. For this problem, I solved it by going to
the VBA platform (View- Toolbars- Visual Basic). Then going to my
application folder- My Document area I put this code:

'------------------------------------
Private Sub document_Close()
'Check if Access is running
'I need to check if Access is running and then Quit the aplication. If the
create
'option is used to open an instance, the NetOffice add-in is not
included and it is needed
'for this particular module. All other modules do not require the
NetOffice add-in and
'can use the normal CreateObject function... alborgggg
Dim accessword As Access.Application
Dim Accesswasnotrunning As Boolean
On Error Resume Next
Repeat:
Set accessword = GetObject(, "Access.Application")
If Err = 0 Then
'Access was running
Accesswasnotrunning = True
accessword.Quit
Set accessword = Nothing
GoTo Repeat
End If
End Sub
'------------------------------------

Even if there are 4 instances of MSACCESS.EXE, it'll kill them all.

Here is how the VBA code window would look like:
http://i38.photobucket.com/albums/e1.../closeform.png

What YOU can do, first of all is to delete your Normal.dot template to make
sure that it is not corrupted. If it's OK, then open normal.dot and in its My
Document area place this code:

'------------------------------------
Private Sub document_Close()
Dim oword As Word.Application
Dim Accesswasnotrunning As Boolean
On Error Resume Next
Repeat:
Set oword = GetObject(, "Word.Application")
If Err = 0 Then
'Access was running
Accesswasnotrunning = True
oWord.Application.Quit()
Set oWord = Nothing
GoTo Repeat
End If
End Sub
'------------------------------------

Alternatively, you can simply delete that one instance on close:

'------------------------------------
Private Sub document_Close()
oWord.Application.Quit()
Set oWord = Nothing
End Sub
'------------------------------------

What gets me is that I can't replicate your problem on my machine, which is
set up pretty much like yours. Theoretically, though, the above should work.

Cheers,
Al

"jimrinflorida" wrote:

I have XP MCE 2002 SP3 w/Office 2003 Pro SP3 installed fresh on a new hard
drive. All Windows/Office updates available have been installed and Office is
activated. When I close Word it never truly closes in task manager. I have
also noticed that Outlook does not close either in task manager and on the
3rd time trying to open it the program freezes unless all instances are
closed in task manager. I removed Word as the editor in Outlook so that
another instance of Word would not start every time Outlook opens. I am
trying to figure why default installations of Office 2003 cause Word and
Outlook not to close (but look like the do). Outlook doesn't even have an
email account setup yet. This is home network. Very simple here. I can have
as many as 8 instances of WINWORD.EXE with all windows closed. (PPOINT,
EXCEL, and PUBL all close ok). I have a laptop with the same issues as well.
Any help would be appreciated!!

  #3  
Old July 28th 08, 08:45 AM posted to microsoft.public.word.docmanagement
alborg
external usenet poster
 
Posts: 67
Default WORD.EXE open multiple times in task manager

The "oword" code will work, but there is a single error bug in my code...

'--------------------------------------------
Private Sub document_Close()
Dim oword As Word.Application
Dim Accesswasnotrunning As Boolean
On Error Resume Next
Repeat:
Set oword = GetObject(, "Word.Application")
If Err = 0 Then
'Access was running
Accesswasnotrunning = True
oWord.Application.Quit()
Set oWord = Nothing
GoTo Repeat
End If
End Sub
'------------------------------------------------

If you want it to read more logically, change the variable
"Accesswasnotrunning" to "Wordwasnotrunning"...

Cheers,
Al

"alborg" wrote:

Hi Jim:

This behavior usually happens when through automation you invoke MS Word by
using another software, s.a. MS Access. It can also occur if MS Word closes
suddenly and unexpectedly not leaving time to remove the instance of MS Word.

In one of my Word Templates, for example, I callup MS Access, often leaving
numerous instances of MSACCESS.EXE. For this problem, I solved it by going to
the VBA platform (View- Toolbars- Visual Basic). Then going to my
application folder- My Document area I put this code:

'------------------------------------
Private Sub document_Close()
'Check if Access is running
'I need to check if Access is running and then Quit the aplication. If the
create
'option is used to open an instance, the NetOffice add-in is not
included and it is needed
'for this particular module. All other modules do not require the
NetOffice add-in and
'can use the normal CreateObject function... alborgggg
Dim accessword As Access.Application
Dim Accesswasnotrunning As Boolean
On Error Resume Next
Repeat:
Set accessword = GetObject(, "Access.Application")
If Err = 0 Then
'Access was running
Accesswasnotrunning = True
accessword.Quit
Set accessword = Nothing
GoTo Repeat
End If
End Sub
'------------------------------------

Even if there are 4 instances of MSACCESS.EXE, it'll kill them all.

Here is how the VBA code window would look like:
http://i38.photobucket.com/albums/e1.../closeform.png

What YOU can do, first of all is to delete your Normal.dot template to make
sure that it is not corrupted. If it's OK, then open normal.dot and in its My
Document area place this code:

'------------------------------------
Private Sub document_Close()
Dim oword As Word.Application
Dim Accesswasnotrunning As Boolean
On Error Resume Next
Repeat:
Set oword = GetObject(, "Word.Application")
If Err = 0 Then
'Access was running
Accesswasnotrunning = True
oWord.Application.Quit()
Set oWord = Nothing
GoTo Repeat
End If
End Sub
'------------------------------------

Alternatively, you can simply delete that one instance on close:

'------------------------------------
Private Sub document_Close()
oWord.Application.Quit()
Set oWord = Nothing
End Sub
'------------------------------------

What gets me is that I can't replicate your problem on my machine, which is
set up pretty much like yours. Theoretically, though, the above should work.

Cheers,
Al

"jimrinflorida" wrote:

I have XP MCE 2002 SP3 w/Office 2003 Pro SP3 installed fresh on a new hard
drive. All Windows/Office updates available have been installed and Office is
activated. When I close Word it never truly closes in task manager. I have
also noticed that Outlook does not close either in task manager and on the
3rd time trying to open it the program freezes unless all instances are
closed in task manager. I removed Word as the editor in Outlook so that
another instance of Word would not start every time Outlook opens. I am
trying to figure why default installations of Office 2003 cause Word and
Outlook not to close (but look like the do). Outlook doesn't even have an
email account setup yet. This is home network. Very simple here. I can have
as many as 8 instances of WINWORD.EXE with all windows closed. (PPOINT,
EXCEL, and PUBL all close ok). I have a laptop with the same issues as well.
Any help would be appreciated!!

  #4  
Old July 29th 08, 06:40 PM posted to microsoft.public.word.docmanagement
jimrinflorida
external usenet poster
 
Posts: 4
Default WORD.EXE open multiple times in task manager


This happens even if Word is opened and then closed with no documents ever
being opened or created.

Winword.exe and Outlook.exe never close correctly. I did a search for this
problem and tried the different fixes ( close program from file menu )( turn
off and/or remove addins and com's ) nothing seems to work.


Thanks Jim



"alborg" wrote:

Hi Jim:

This behavior usually happens when through automation you invoke MS Word by
using another software, s.a. MS Access. It can also occur if MS Word closes
suddenly and unexpectedly not leaving time to remove the instance of MS Word.

In one of my Word Templates, for example, I callup MS Access, often leaving
numerous instances of MSACCESS.EXE. For this problem, I solved it by going to
the VBA platform (View- Toolbars- Visual Basic). Then going to my
application folder- My Document area I put this code:

'------------------------------------
Private Sub document_Close()
'Check if Access is running
'I need to check if Access is running and then Quit the aplication. If the
create
'option is used to open an instance, the NetOffice add-in is not
included and it is needed
'for this particular module. All other modules do not require the
NetOffice add-in and
'can use the normal CreateObject function... alborgggg
Dim accessword As Access.Application
Dim Accesswasnotrunning As Boolean
On Error Resume Next
Repeat:
Set accessword = GetObject(, "Access.Application")
If Err = 0 Then
'Access was running
Accesswasnotrunning = True
accessword.Quit
Set accessword = Nothing
GoTo Repeat
End If
End Sub
'------------------------------------

Even if there are 4 instances of MSACCESS.EXE, it'll kill them all.

Here is how the VBA code window would look like:
http://i38.photobucket.com/albums/e1.../closeform.png

What YOU can do, first of all is to delete your Normal.dot template to make
sure that it is not corrupted. If it's OK, then open normal.dot and in its My
Document area place this code:

'------------------------------------
Private Sub document_Close()
Dim oword As Word.Application
Dim Accesswasnotrunning As Boolean
On Error Resume Next
Repeat:
Set oword = GetObject(, "Word.Application")
If Err = 0 Then
'Access was running
Accesswasnotrunning = True
oWord.Application.Quit()
Set oWord = Nothing
GoTo Repeat
End If
End Sub
'------------------------------------

Alternatively, you can simply delete that one instance on close:

'------------------------------------
Private Sub document_Close()
oWord.Application.Quit()
Set oWord = Nothing
End Sub
'------------------------------------

What gets me is that I can't replicate your problem on my machine, which is
set up pretty much like yours. Theoretically, though, the above should work.

Cheers,
Al

"jimrinflorida" wrote:

I have XP MCE 2002 SP3 w/Office 2003 Pro SP3 installed fresh on a new hard
drive. All Windows/Office updates available have been installed and Office is
activated. When I close Word it never truly closes in task manager. I have
also noticed that Outlook does not close either in task manager and on the
3rd time trying to open it the program freezes unless all instances are
closed in task manager. I removed Word as the editor in Outlook so that
another instance of Word would not start every time Outlook opens. I am
trying to figure why default installations of Office 2003 cause Word and
Outlook not to close (but look like the do). Outlook doesn't even have an
email account setup yet. This is home network. Very simple here. I can have
as many as 8 instances of WINWORD.EXE with all windows closed. (PPOINT,
EXCEL, and PUBL all close ok). I have a laptop with the same issues as well.
Any help would be appreciated!!

  #5  
Old July 30th 08, 01:22 PM posted to microsoft.public.word.docmanagement
alborg
external usenet poster
 
Posts: 67
Default WORD.EXE open multiple times in task manager

Then simply add this close statement for BOTH Outlook and Word!

Cheers,
Al

"jimrinflorida" wrote:


This happens even if Word is opened and then closed with no documents ever
being opened or created.

Winword.exe and Outlook.exe never close correctly. I did a search for this
problem and tried the different fixes ( close program from file menu )( turn
off and/or remove addins and com's ) nothing seems to work.


Thanks Jim



"alborg" wrote:

Hi Jim:

This behavior usually happens when through automation you invoke MS Word by
using another software, s.a. MS Access. It can also occur if MS Word closes
suddenly and unexpectedly not leaving time to remove the instance of MS Word.

In one of my Word Templates, for example, I callup MS Access, often leaving
numerous instances of MSACCESS.EXE. For this problem, I solved it by going to
the VBA platform (View- Toolbars- Visual Basic). Then going to my
application folder- My Document area I put this code:

'------------------------------------
Private Sub document_Close()
'Check if Access is running
'I need to check if Access is running and then Quit the aplication. If the
create
'option is used to open an instance, the NetOffice add-in is not
included and it is needed
'for this particular module. All other modules do not require the
NetOffice add-in and
'can use the normal CreateObject function... alborgggg
Dim accessword As Access.Application
Dim Accesswasnotrunning As Boolean
On Error Resume Next
Repeat:
Set accessword = GetObject(, "Access.Application")
If Err = 0 Then
'Access was running
Accesswasnotrunning = True
accessword.Quit
Set accessword = Nothing
GoTo Repeat
End If
End Sub
'------------------------------------

Even if there are 4 instances of MSACCESS.EXE, it'll kill them all.

Here is how the VBA code window would look like:
http://i38.photobucket.com/albums/e1.../closeform.png

What YOU can do, first of all is to delete your Normal.dot template to make
sure that it is not corrupted. If it's OK, then open normal.dot and in its My
Document area place this code:

'------------------------------------
Private Sub document_Close()
Dim oword As Word.Application
Dim Accesswasnotrunning As Boolean
On Error Resume Next
Repeat:
Set oword = GetObject(, "Word.Application")
If Err = 0 Then
'Access was running
Accesswasnotrunning = True
oWord.Application.Quit()
Set oWord = Nothing
GoTo Repeat
End If
End Sub
'------------------------------------

Alternatively, you can simply delete that one instance on close:

'------------------------------------
Private Sub document_Close()
oWord.Application.Quit()
Set oWord = Nothing
End Sub
'------------------------------------

What gets me is that I can't replicate your problem on my machine, which is
set up pretty much like yours. Theoretically, though, the above should work.

Cheers,
Al

"jimrinflorida" wrote:

I have XP MCE 2002 SP3 w/Office 2003 Pro SP3 installed fresh on a new hard
drive. All Windows/Office updates available have been installed and Office is
activated. When I close Word it never truly closes in task manager. I have
also noticed that Outlook does not close either in task manager and on the
3rd time trying to open it the program freezes unless all instances are
closed in task manager. I removed Word as the editor in Outlook so that
another instance of Word would not start every time Outlook opens. I am
trying to figure why default installations of Office 2003 cause Word and
Outlook not to close (but look like the do). Outlook doesn't even have an
email account setup yet. This is home network. Very simple here. I can have
as many as 8 instances of WINWORD.EXE with all windows closed. (PPOINT,
EXCEL, and PUBL all close ok). I have a laptop with the same issues as well.
Any help would be appreciated!!

 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
WORD.EXE open multiple times in task manager jimrinflorida Microsoft Word Help 1 July 27th 08 10:38 PM
Word Mail Merge, Print Selected Pages or Sections Multiple Times ksb31535 Mailmerge 1 February 28th 07 08:13 AM
Displaying the Task Pane at all Times Thomas M. Microsoft Word Help 3 May 25th 06 04:02 PM
Same Doc open multiple times Kinjalip Microsoft Word Help 1 April 6th 06 02:14 PM
Why is EZP on my toolbar multiple times in Word? Marko Microsoft Word Help 4 June 26th 05 09:27 PM


All times are GMT +1. The time now is 07:48 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
Copyright 2004-2019 Microsoft Office Word Forum - WordBanter.
The comments are property of their posters.