Partners Contact US Site Map Blog
A professional PDF Converter, PDF Writer, PDF Creator, PDF Editor, HTML Converter, Postscript Converter, AutoCAD DWG Converter, as well as PCL Converter, etc.  

PDF to Vector Converter FAQ

1. Are there any known problems or restrictions that would cause "DLL-incompatible" like exceptions to occur? The servers are Windows 2008 (R1) both 32 bit as well as 64 bit.
A: This problem maybe caused by DEP settings on your Windows 2008 system, please turn off DEP for "pdf2vec.exe" application to try again, please refer to following steps about how to turn off DEP in your Windows 2008 system,

1. Click "Start"
2. Select "Control Panel"
3. Select "System"
4. Click the "Advanced" tab
5. In the "Performance" region select "Settings"
6. Click the "Data Execute" tab in the dialog box that opens
7. Select "Turn on DEP for all programs and services except for those I select"
8. Click "Add"
9. The open dialog box will open. Browse and select "pdf2vec.exe" application in your computer,
10. Click "Open"
11. Click "Apply"
12. Click "Ok"
13. Reboot

OK, you can run "pdf2vec.exe" without any problem now.
 
2. How to call pdf2vec.dll from C# code to convert PDF files to SWF files?
A: Please refer to following C# code,

using System;
using System.Runtime.InteropServices;
using System.IO;
namespace VeryDocTestApp
{
    public class SWFConverter
    {
        public SWFConverter()
        {
        }
        [DllImport("pdf2vec.dll", EntryPoint = "VeryPDF_PDF2Vector", SetLastError = true,
        CharSet = CharSet.Ansi, ExactSpelling = true, CallingConvention =
        CallingConvention.StdCall)]

        public static extern int VeryPDF_PDF2Vector(string strCommandLine);
        public int ConvertPdfToSWF()
        {
            int nRet = VeryPDF_PDF2Vector("pdf2vec -swfburst C:\test.pdf C:\out.swf");
        }
    }
}
 
3. How to call PDF2Vec.exe from VB.NET code directly?
A: Please refer to follwoing VB.NET code,

Dim startInfo As System.Diagnostics.ProcessStartInfo
Dim pStart As New System.Diagnostics.Process

startInfo = New System.Diagnostics.ProcessStartInfo("C:\pdf2vec.exe")
startInfo.Arguments = "C:\test.pdf C:\out.swf"
pStart.StartInfo = startInfo
pStart.Start()
pStart.WaitForExit() 'Your code will wait at here until pdf2vec.exe exit
 
Helpful links:
How to call PDF to Vector Converter Command Line (pdf2vec.exe) from C#, ASP, PHP, etc. web program languages?
 
Keywords:
PDF TO WMF :: PDF TO EMF :: PDF TO POSTSCRIPT :: PDF TO PS :: PDF TO EPS :: PDF TO SVG :: PDF TO SWF :: PDF TO XPS :: PDF TO HPGL :: PDF TO PCL :: ACROBAT TO EMF :: ACROBAT TO EPS :: ACROBAT TO FLASH :: ACROBAT TO HPGL :: ACROBAT TO PCL :: ACROBAT TO POSTSCRIPT :: ACROBAT TO PS :: ACROBAT TO SVG :: ACROBAT TO SWF :: ACROBAT TO WMF :: ACROBAT TO XPS
 
See Also:
PDF to Image Converter :: PDF Extract TIFF :: HTML Converter :: PDFcamp Printer :: DocConverter COM :: PDF to Word Converter :: PDF to Text Converter :: Image to PDF Converter :: Image to PDF OCR :: PDF to HTML Converter :: AutoCAD DWG and DXF to PDF Converter :: PCL to PDF Converter :: Document Printer (docPrint) :: VeryPDF PDF Editor :: PDF Password Remover :: Encrypt PDF :: PDF Split-Merge :: PDF Stamper :: VeryPDF PDFPrint :: Advanced PDF Tools :: PDF Editor Toolkit :: Text to PDF Converter :: PowerPoint to Flash :: PowerPoint Converter

Home | Site Map | VeryPDF.com | VeryPCL.com | Contact | Blog
Copyright © 2002- VeryDOC.com Company. All Rights Reserved.