I am working on a pdf creation project.
Where i am generating the pdf using iTextSharp. Previously i was using a PdfCreator Dll. But had problem of not supported exception.
Hence I am now doing that in an exe instead.
Now problem is I am invoking the exe using following code.
Expand|Select|Wrap|Line Numbers
- System.Diagnostics.ProcessStartInfo info = new ProcessStartInfo(filePath,fileName );
- Process pdfCreationProcess = new Process();
- pdfCreationProcess.StartInfo = info;
- pdfCreationProcess.Start();
- pdfCreationProcess.WaitForExit();
- pdfCreationProcess.Close();
Please help me in this,
Thanks,
Sachin