This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 75915 - Use ShellExecute toinvoke browser on Windows
Summary: Use ShellExecute toinvoke browser on Windows
Status: NEW
Alias: None
Product: ide
Classification: Unclassified
Component: Extbrowser (show other bugs)
Version: 6.x
Hardware: All All
: P4 blocker (vote)
Assignee: Jan Stola
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-05-04 13:03 UTC by _ rkubacki
Modified: 2015-01-28 13:47 UTC (History)
1 user (show)

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description _ rkubacki 2006-05-04 13:03:46 UTC
ShellExecuteW Windows API call is muh more reliable way how to open URI in a web
browser and we should remove our old DDE based code that communicates with
browser together with all the hacks how to find browser executable, start it and
then communicate with it. 

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/shellcc/platform/shell/reference/functions/shellexecute.asp

Also this is the approach used in Mustang (Java SE 6).
Comment 1 _ rkubacki 2006-05-25 07:38:09 UTC
I created branch shellexecute_75915

new 32-bit DLL is there w/ its source and it works. need to build 64-bit version
and fix existing tests. Also need to make sure that change in ExtBrowser are OK
and it is enough to have SimpleExtBrowser as a template.
Comment 2 _ rkubacki 2007-06-26 21:52:32 UTC
Synced with trunk. Trunk tagged with shellexecute_75915_merge1

Mostly:
SPL -> CDDL
ErrorManager -> Logger
Positioning on layers
Comment 3 _ rkubacki 2009-06-22 04:18:30 UTC
This will be obsolete when NetBeans start to require Java 6. OTOH this is a distant future.