|Error when opening PDF file in eclipse browser with Adobe Reader X(10.0) [message #660710]
||Mon, 21 March 2011 10:24
Registered: March 2011
In my project, I need to open a PDF in my application. I do this using SWT browser (pls refer below code snippet.) This use to work fine untill Adobe 9, but with Adobe Reader X (10.0) I get error when I try to open second PDF file. The error message is "There is a problem with Adobe Acrobat/Reader. If it is running, please exit and try again (523:523). After few mins, I get another pop as "Acrobat failed to connect to a DDE server".
I notice that with Adobe 9, the task manager didn't list seperate process if I load multiple PDF files in the browser but with 10X, Adobe creates multiple processes and doesn't delete previous ones. This might be the issue.
Any advice is highly appreciated.
browser = new Browser( parent, SWT.NONE );
URI uri = previewFile.toURI();
String url = uri.toURL().toString();
browser.setUrl( url );
browser.setBounds( browser.getParent().getClientArea() );
catch( MalformedURLException e )
logger.error( e.getClass().getName(), e );
Powered by FUDForum
. Page generated in 0.01528 seconds