473,326 Members | 2,127 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,326 software developers and data experts.

why would one have problems closing acrodist.exe process.

Joe
in my Class1 Form:

Dim objPDFDistiller = CreateObject("PdfDistiller.PdfDistiller.1")
in my Form1_FormClosed (main form that I am closing)
System.Runtime.InteropServices.Marshal.ReleaseComO bject(objPDFDistiller)
objPDFDistiller = Nothing
Form1_FormClosed is closing any other instances like Word, release
ODBC, etc, but I have no idea how to kill acrodist.exe

Any ideas?

Jun 19 '07 #1
2 2422
I thought you had to call the Quit method to really close Word, Excel etc...
I would see if there is a Quit method in the object model and would call
this method before releasing the object...
"Joe" <jo*****@tlen.pla écrit dans le message de news:
11**********************@q69g2000hsb.googlegroups. com...
in my Class1 Form:

Dim objPDFDistiller = CreateObject("PdfDistiller.PdfDistiller.1")
in my Form1_FormClosed (main form that I am closing)
System.Runtime.InteropServices.Marshal.ReleaseComO bject(objPDFDistiller)
objPDFDistiller = Nothing
Form1_FormClosed is closing any other instances like Word, release
ODBC, etc, but I have no idea how to kill acrodist.exe

Any ideas?

Jun 19 '07 #2
Joe
unfortunately, there is no way to "Quit" acrodist.exe object inside
visual basic...

On Jun 19, 11:41 am, "Patrice" <http://www.chez.com/scribe/wrote:
I thought you had to call the Quit method to really close Word, Excel etc....
I would see if there is a Quit method in the object model and would call
this method before releasing the object...

"Joe" <joe1...@tlen.pla écrit dans le message de news:
1182264832.120170.254...@q69g2000hsb.googlegroups. com...
in my Class1 Form:
Dim objPDFDistiller = CreateObject("PdfDistiller.PdfDistiller.1")
in my Form1_FormClosed (main form that I am closing)
System.Runtime.InteropServices.Marshal.ReleaseComO bject(objPDFDistiller)
objPDFDistiller = Nothing
Form1_FormClosed is closing any other instances like Word, release
ODBC, etc, but I have no idea how to kill acrodist.exe
Any ideas?- Hide quoted text -

- Show quoted text -

Jun 19 '07 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Phil Grimpo | last post by:
I had previously explained this problem in a different thread, but now that I have an IISState log, I figured I'd re-start the thred. My situation and the log are following... I have a very odd...
0
by: Tam | last post by:
I have a problem trying to close a currently running executable. javaw.exe simply refuses to close. It is in the process list (confirmed by watching Processes in the task manager) and the code...
15
by: Mark Gillespie | last post by:
I have a class that launches a process (amongst other things). I keep track of the process handle, and just prior to the obejct being destroyed by the garbage collector, I want to kill that...
10
by: Charles Law | last post by:
For some reason, when I click the X to close my MDI parent form, the action appears to be re-directed to one of the MDI child forms, and the parent remains open. I am then unable to close the...
6
by: Don | last post by:
I'm having problems working with a streamwriter object. After closing the streamwriter and setting it to Nothing, I try to delete the file it was writing to, but I always get the following error...
5
by: Helen Trim | last post by:
I have scheduled programs that run overnight. One of them leaves a window open and this stops other users opening the program. It is a third-party application. Can I write a vb .NET program to...
8
by: cj | last post by:
I know how to write code to find, kill and closeMainWindow on all processes but I really don't want to do that. I want work with applications not processes. As you know there are a lot more...
9
by: mhearne808[insert-at-sign-here]gmail[insert-dot-he | last post by:
I'm having a number of problems with the fcntl module. First off, my system info: Mac OS X Darwin igskcicglthearn.cr.usgs.gov 8.10.1 Darwin Kernel Version 8.10.1: Wed May 23 16:33:00 PDT 2007;...
3
by: sewid | last post by:
Hi! I have a very simple windows form (Visual Basic, .NET-Framework 2.0). This is my whole code: Public Class Form1 Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.