?
Solved

vb.Net using PDF Distiller to create a PDf

Posted on 2004-08-25
3
Medium Priority
?
1,399 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Certified OpenStack Administrator Course

We just refreshed our COA course based on the Newton exam.  With 14 labs, this course goes over the different OpenStack services that are part of the certification: Dashboard, Identity Service, Image Service, Networking, Compute, Object Storage, Block Storage, and Orchestration.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I. Introduction In a previous article (http://www.experts-exchange.com/Web_Development/Document_Imaging/A_6537-PaperPort-Upgrade-How-to-download-and-install-updated-versions-of-PaperPort-11-and-12.html) (now deprecated), I discussed how to upgrad…
This article shows how to convert a multi-page PDF file into multiple image files, with one image file created for each page of the PDF. It does this by utilizing an excellent, free software package called GraphicsMagick. The solution is amazingly s…
This video is the first in a two-part series that discusses PaperPort's "Send To Bar" feature . This first video tutorial explains the purpose of the Send To Bar, how to use it, and how to hide unwanted items that are automatically created on it whe…
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…
Suggested Courses

770 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