Release/Kill POWERPNT.EXE process

G

Guest

Hi
I am using the Office XP Primary Interop Assemblies (Microsoft.Office.Interop.PowerPoint.dll) to create PowerPoint presentations. This works fine, but I have notised that in the Task Manager, the Process tab, the POWERPNT.EXE still runs as a process even if I have quit my powerpoint application object and set it to Nothing in my code.

How do I shut down the powerpoint process without ending the process from the Task Manager? I like to shut down the process programatically

Best Regard
Maria Safverstro
Canopus - a part of Resco Sverige AB
 
M

Mike M.

It works fine if just automating the application. I don't know about
PowerPoint.dll. Here is what I do in VB:
' Instantiate PowerPoint
Set pApp = New PowerPoint.Application

' only close PowerPoint if there are no open Presentations
If (pApp.Presentations.Count <= 0) Then
pApp.Quit
End If

' done with this so clear it
Set pApp = Nothing

Savis said:
Hi!
I am using the Office XP Primary Interop Assemblies
(Microsoft.Office.Interop.PowerPoint.dll) to create PowerPoint
presentations. This works fine, but I have notised that in the Task Manager,
the Process tab, the POWERPNT.EXE still runs as a process even if I have
quit my powerpoint application object and set it to Nothing in my code.
How do I shut down the powerpoint process without ending the process from
the Task Manager? I like to shut down the process programatically.
 
S

Steve Rindsberg

Hi!
I am using the Office XP Primary Interop Assemblies
(Microsoft.Office.Interop.PowerPoint.dll) to create PowerPoint presentations. This
works fine, but I have notised that in the Task Manager, the Process tab, the
POWERPNT.EXE still runs as a process even if I have quit my powerpoint application
object and set it to Nothing in my code.
How do I shut down the powerpoint process without ending the process from the Task
Manager? I like to shut down the process programatically.
Check for updates to Office XP. I think there may be a recent one that addresses
the problem of the EXE staying on the process list even after PPT has been shut
down.
 
J

John Langhans [MSFT]

[CRITICAL UPDATE - Anyone using Office 2003 should install the critical
update as soon as possible. From PowerPoint, choose "Help -> Check for
Updates".]

Hello,

Do any of your presentations contain ActiveX controls? If so, this is a
known problem that is addressed in Service Pack 3 for Office XP (recently
announced).

For more information about SP-3, go to:

http://www.microsoft.com/downloads/details.aspx?FamilyId=85AF7BFD-6F69-4289-
8BD1-EB966BCDFB5E&displaylang=en

http://support.microsoft.com/?kbid=832671

John Langhans
Microsoft Corporation
Supportability Program Manager
Microsoft Office PowerPoint for Windows
Microsoft Office Picture Manager for Windows

For FAQ's, highlights and top issues, visit the Microsoft PowerPoint
support center at: http://support.microsoft.com/default.aspx?pr=ppt
Search the Microsoft Knowledge Base at:
http://support.microsoft.com/default.aspx?pr=kbhowto

This posting is provided "AS IS" with no warranties, and confers no rights.
Use of any included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top