|
|
Re: application not found when trying to open an external browser [message #448277 is a reply to message #448127] |
Thu, 20 April 2006 11:12 |
Benjamin Messages: 21 Registered: July 2009 |
Junior Member |
|
|
Hello ,
yes the first time it worked, but it opened a mozilla browser, I uninstalled
mozilla because I wanted the application to open explorer browser, but it
didn't work I get a message box saying 'application not found'. Probably it
is something with the registry, I guess mozilla has a bug in their uninstall
and eclipse has just a bad error reporting message, there was no exception
just a message box pop up which is also something a bit strange.
Thank you,
Benjamin
----- Original Message -----
From: "Paul Webster" <pwebster@ca.ibm.com>
Newsgroups: eclipse.platform.rcp
Sent: Wednesday, April 19, 2006 4:29 AM
Subject: Re: application not found when trying to open an external browser
> Are you saying it used to work, and then you uninstalled the browser and
> now it doesn't work?
>
> PW
"Benjamin" <benny@databaserepublic.com> wrote in message
news:c052f4347686ac4137374a5233eb9391$1@www.eclipse.org...
> Hello,
> I have the following code:
>
> [code]
> url = new URL("http://www.yahoo.com");
> String myId = "eclipse.pdtf.example";
> IWorkbenchBrowserSupport browserSupport =
> PlatformUI.getWorkbench().getBrowserSupport();
> try {
> IWebBrowser browser = browserSupport.createBrowser(myId);
> browser.openURL(url);
> } catch (Exception e) {
> // TODO Auto-generated catch block
> System.out.println(e.getMessage()); e.printStackTrace();
> }
> [code]
>
> when I ran it I get a message box saying '... application not found' when
> I ran it the first time it worked, but opened my 'mozilla' browser. After
> I uninstalled the browser I get this message.
>
> Any thoughts?
> Thank you,
> Ben
>
|
|
|
Powered by
FUDForum. Page generated in 0.03207 seconds