Hi,
Can you try to remove txtFilename and use hardcoded paths? It could be your path is not correct. A same for psFilename.
Is txtFilename a string variable or textbox control? If it's textbox control then you should use "txtFilename.Text".
It could also be that that postscript file is not valid or buggy. You can check it out by trying to open it via GSView (http://pages.cs.wisc.edu/~ghost/gsview/).
Cheers,
Josip
Can you try to remove txtFilename and use hardcoded paths? It could be your path is not correct. A same for psFilename.
Is txtFilename a string variable or textbox control? If it's textbox control then you should use "txtFilename.Text".
It could also be that that postscript file is not valid or buggy. You can check it out by trying to open it via GSView (http://pages.cs.wisc.edu/~ghost/gsview/).
Cheers,
Josip