Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » Error when opening PDF file in eclipse browser with Adobe Reader X(10.0)
Error when opening PDF file in eclipse browser with Adobe Reader X(10.0) [message #660710] Mon, 21 March 2011 10:24
Naveen  is currently offline Naveen Friend
Messages: 1
Registered: March 2011
Junior Member
Hi,

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.

Thanks,Naveen

browser = new Browser( parent, SWT.NONE );
try
{
URI uri = previewFile.toURI();
String url = uri.toURL().toString();
browser.setUrl( url );
browser.setBounds( browser.getParent().getClientArea() );
browser.refresh();
}
catch( MalformedURLException e )
{
logger.error( e.getClass().getName(), e );
}
Previous Topic:Display.getDefault().syncExec(...) deadlock?
Next Topic:any online help like MSDN for eclipse download
Goto Forum:
  


Current Time: Tue Apr 07 13:11:08 GMT 2020

Powered by FUDForum. Page generated in 0.01528 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top