Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » Program.launch bug?
Program.launch bug? [message #440006] Tue, 20 July 2004 14:59 Go to next message
Eclipse UserFriend
Originally posted by: bryanyu.dualforcesolutions.com

Calling:

Program.launch("http://www.something.com");

would launch the default browser.... but would also generate an error
(im on windows XP).. is this a bug?

the error:

'Windows cannot find 'http://www.something.com'. Make sure you typed the
name correctly.......'

bryan
Re: Program.launch bug? [message #440016 is a reply to message #440006] Tue, 20 July 2004 23:23 Go to previous message
No real name is currently offline No real nameFriend
Messages: 13
Registered: July 2009
Junior Member
Well, Program.launch(String filename) should only be called on files
according to the API, which means it probably shouldn't be launching the
browser.
It's a pain, but maybe you can create a temp something.txt with the text:
[InternetShortcut]
URL=http://www.something.com

Rename it something.url, run it and then delete it.
-Tej

Mark Bryan Yu wrote:

> Calling:
> Program.launch("http://www.something.com");
> would launch the default browser.... but would also generate an error
> (im on windows XP).. is this a bug?
> the error:
> 'Windows cannot find 'http://www.something.com'. Make sure you typed the
> name correctly.......'
> bryan
Previous Topic:Word OLE Woes
Next Topic:Thin client and grid computing
Goto Forum:
  


Current Time: Thu Apr 25 13:59:50 GMT 2024

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

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

Back to the top