Solved

vb.Net using PDF Distiller to create a PDf

Posted on 2004-08-25
3
1,370 Views
Last Modified: 2013-12-02

I am using the following code to create pdf file from a postscript file in vb.net. It works the first time but fails the second time
the problem seems to be that the Distiller never closes.

How can I make sure that the Distiller application closes? =nothing does not seem to work



  Dim tmpFile = Path.GetTempFileName()
                Dim objDis As New ACRODISTXLib.PdfDistiller
                  objDis.FileToPDF(tmpFile, "c:\abx.pdf", "")
                    objDis = Nothing
0
Comment
Question by:JonMny
3 Comments
 
LVL 9

Author Comment

by:JonMny
ID: 11933319
I figured it out it was a garbage collection issue....

System.GC.Collect worked.
0
 
LVL 1

Accepted Solution

by:
DarthMod earned 0 total points
ID: 12142847
Submitted to PAQ with points refunded (500)

DarthMod
Community Support Moderator
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

In a previous article published here at Experts Exchange, Signature Image with Transparent Background (http://www.experts-exchange.com/Web_Development/Document_Imaging/A_12380-Signature-Image-with-Transparent-Background.html), I explained how to cre…
PaperPort (http://www.nuance.com/for-individuals/by-product/paperport/index.htm) is among the most important applications that I run on my Windows computers. I use it every day, for nearly all of my document and photo scanning, as well as most of my…
In this first video of the three-part Xpdf series, we introduce and describe Xpdf, a library containing nine command line utilities that perform various functions on PDF files. We show where the library is located and how to download it, discuss its…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

706 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now