Solved

vb.Net using PDF Distiller to create a PDf

Posted on 2004-08-25
3
1,389 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

Space-Age Communications Transitions to DevOps

ViaSat, a global provider of satellite and wireless communications, securely connects businesses, governments, and organizations to the Internet. Learn how ViaSat’s Network Solutions Engineer, drove the transition from a traditional network support to a DevOps-centric model.

Question has a verified solution.

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

This article was inspired by a question here at Experts Exchange (http://www.experts-exchange.com/Software/Photos_Graphics/Images_and_Photos/Q_28629170.html). The requirements stated in that question are (1) reduce the file size of a large number of…
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…
In this fifth video of the Xpdf series, we discuss and demonstrate the PDFdetach utility, which is able to list and, more importantly, extract attachments that are embedded in PDF files. It does this via a command line interface, making it suitable …
Microsoft Office Picture Manager is not included in Office 2013. This comes as quite a surprise to users upgrading from earlier versions of Office, such as 2007 and 2010, where Picture Manager was included as a standard application. This video expla…

705 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