[Last Call] Learn about multicloud storage options and how to improve your company's cloud strategy. Register Now

x
?
Solved

vb.Net using PDF Distiller to create a PDf

Posted on 2004-08-25
3
Medium Priority
?
1,408 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

Visualize your virtual and backup environments

Create well-organized and polished visualizations of your virtual and backup environments when planning VMware vSphere, Microsoft Hyper-V or Veeam deployments. It helps you to gain better visibility and valuable business insights.

Question has a verified solution.

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

PaperPort is a popular document imaging/management product from Nuance Communications (http://www.nuance.com/). It is in widespread use by both individuals (http://www.nuance.com/for-individuals/by-product/paperport/index.htm) and businesses (http:/…
A long time ago (May 2011), I have written an article showing you how to create a DLL using Visual Studio 2005 to be hosted in SQL Server 2005. That was valid at that time and it is still valid if you are still using these versions. You can still re…
In this second video of the Xpdf series, we discuss and demonstrate the PDFimages utility, which, in a single command, is able to extract all the images from a PDF file and save each one in a separate image file (PBM, PPM, or JPG). Download and inst…
In this third video of the Xpdf series, we discuss and demonstrate the PDFtoText utility, which converts PDF files into plain text files. Download and install the software.: You may have already downloaded and installed the Xpdf tools while watching…

650 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