473,807 Members | 2,763 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

why would one have problems closing acrodist.exe process.

Joe
in my Class1 Form:

Dim objPDFDistiller = CreateObject("P dfDistiller.Pdf Distiller.1")
in my Form1_FormClose d (main form that I am closing)
System.Runtime. InteropServices .Marshal.Releas eComObject(objP DFDistiller)
objPDFDistiller = Nothing
Form1_FormClose d 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 2442
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.p la écrit dans le message de news:
11************* *********@q69g2 00...legr oups.com...
in my Class1 Form:

Dim objPDFDistiller = CreateObject("P dfDistiller.Pdf Distiller.1")
in my Form1_FormClose d (main form that I am closing)
System.Runtime. InteropServices .Marshal.Releas eComObject(objP DFDistiller)
objPDFDistiller = Nothing
Form1_FormClose d 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.p la écrit dans le message de news:
1182264832.1201 70.254...@q69g2 000hsb.googlegr oups.com...
in my Class1 Form:
Dim objPDFDistiller = CreateObject("P dfDistiller.Pdf Distiller.1")
in my Form1_FormClose d (main form that I am closing)
System.Runtime. InteropServices .Marshal.Releas eComObject(objP DFDistiller)
objPDFDistiller = Nothing
Form1_FormClose d 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
1981
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 situation here. I have an administration page, where based on a users permissions, a recordset is called from the SQL server which has a list of paths to "Module Menus". Each of these menus are then placed into the page by calling...
0
1140
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 *does* find it... but closing it has no affect. Ive tried this code closing other items, running notepad instances for instance, and that works sweetly... whats wrong? Im running .NET 1.1 and VS2003. System.Diagnostics.Process procs; procs =...
15
2784
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 process. Basically, if some exits my application, I don't want any stray background applications running created by instances of my class. I tried calling the kill() method on the process handle in the class's destructor, but the handle must have...
10
4032
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 application. What should happen, is that the main MDI form should close, taking the child forms with it. There is code to loop through the child forms, remove the controls on each of them, and then close the form, but this code should execute only...
6
10221
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 message: "The process cannot access the file "whatever" because it is being used by another process." I've even tried opening another file using the same streamwriter object before deleting the original file, but it's no use. Something keeps...
5
21977
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 add to the schedule to close it? What object can be used to reference another application? TIA -- Helen
8
1504
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 processes running than applications and many processes are critical to Windows running. For instance right now Task Manger show 3 applications running on my computer but maybe 40 processes. How can I do this?
9
5432
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; root:xnu-792.22.5~1/RELEASE_I386 i386 i386 Python 2.5.1 (built from source) OK, the weirdness:
3
1405
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 System.EventArgs) Handles Button1.Click Dim myThread As New System.Threading.Thread(AddressOf testThread)
0
9719
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10624
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
10374
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10111
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
6877
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5546
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5684
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4330
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3853
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.