Open external web browser

Hi,
Is there a way to open a web page in the default external browser without using system specific command. i.e. I want users to be able to click on an icon in my gui and be redirected to a web page in MS Explorer.
Thanks,
Stephane

In an applet you can use getAppletContent().showDocument()
Here's a link to what you don't want to do
http://www.javaworld.com/javaworld/javatips/jw-javatip66.html
Maybe this. I haven't looked at it
http://sourceforge.net/projects/browserlauncher/

Similar Messages

  • Opening a web browser from an After Effects script

    Hi,
    This may be a stupid question, but is there any way to open a web browser with a URL from an AE script, other than explicity lanuching the browser app via a sys.callSystem() command?
    I'm asking because obviously scripts need to run on both Windows and MacOS, and the user's default/preferred browser isn't necessarily going to be IE or Safari. That and I'd need to find the file path of the browser anyway somehow.
    It's to display external help.
    Thanks,
    Christian

    system.callSystem() can launch a URL without specifying the specific app. This code user's default browser. The last line is the main deal, the other stuff keeps it universal for PC and MAC.
    //CHECKS FOR USER OS
    function osCheck(){
              var op = $.os;
              var match = op.indexOf("Windows");
              if(match != (-1)){
                        var userOS = "PC";// User is on PC
              }else{
                        var userOS = "MAC";// User is on MAC
              return userOS;
    // RUNS OS CHECK FUNCTION
    var userOSVer = osCheck();
    //DEFINES PC OR MAC TERMINAL SYNTAX
    if(userOSVer == "MAC"){
              var urlLaunchCode = "Open";//Mac based
    }else{
              var urlLaunchCode = "Start";//PC based
    //ONCLICK FUNCTION FOR YOUR URL BUTTON CONTROL
    //urlLaunchCode = Open or Start / " " = keeps a space character separator / "http://myurl.com" = Defines the actual URL path
    myURLButton.onClick = function(){system.callSystem(urlLaunchCode + " " + "http://forums.adobe.com/thread/993523?tstart=0")};

  • Links in my email are not opening in web browser. They are bringing the browser up, but not taking me to sites.

    Links in my email are not opening in web browser. They are bringing the browser up, but not taking me to sites. What do I need to do?

    Me too but it's happening on my iMac after I did a software update this morning which included fixes in Mail it said. My Mail was fine before the update!

  • Cannot open application, web browser(default nokia...

    hello everybody..
    I want to ask about my phone nokia 5130c xpressmusic.
    I have some problem in my mobile.
    I cannot open application, web browser(default nokia), radio, and music player.
    How to solve that problem?
    thank you for your answer and attention.

    What does it say if you want to open the application? I think you should restore the factory settings!!!! If it doesn't work then update your software!!!!
    Alif

  • When I open a new tab, an unwanted website opens instead of my desired home page. THIS IS ONLY AN ISSUE WITH NEW TABS; (opening the web browser AND clicking on the home button frings me to my desired home page.)

    When I open a new tab, an unwanted website opens instead of my desired home page. THIS IS ONLY AN ISSUE WITH NEW TABS; (opening the web browser AND clicking on the home button frings me to my desired home page.)
    I have attached the url of the unwanted site.

    Use this add-on [https://addons.mozilla.org/en-US/firefox/addon/custom-new-tab/ '''Custom new tab'''].

  • How to open a web browser from java

    Hi
    Would anybody please help me with this. I need to open a web browser from my java app but I don't know. What method I can use?
    Thanks.
    Hung.

    You can use the Runtime class for this. It can run any command. So, you can run the .exe file of your Web browser.
    The following code will run Internet Explorer (assuming iexplorer.exe is in C:\Program Files\Internet Explorer):
    import java.lang.Runtime;
    public class Explore{
    public static void main(String[] args) {
    try{
    Process p = Runtime.getRuntime().exec("C:\\Program Files\\Internet Explorer\\iexplore");
    }catch (Exception e) {
    System.out.println("Exception: " + e);

  • Opening a web browser from a Java prog

    I am writing a pseudo-wordprocessor, and would like to be able to set a JMenuItem's action so that when a user clicks it, the system default web browser opens with the web page that I have selected. (e.g. open up a "Help" web page).
    The JavaDoc/tutorial doesn't seem to have anything on running external programs from within a Java program, so does nayone know how this is done?

    If you don't want to go the Java Runtime route and make your program a bit more cross-platform friendly, you could use the JEditorPane to render an html page directly in your application (assuming of course that you're using Swing).

  • How to open a web browser from an windows phone app

    Hi everyone,
    I am pretty new to Windows Phone 7, and now what I am trying to do is to create a simple app. When a user click to start this app, a browser will open and show the content of a webpage from a specific address.
    I tried to use a webbrowser object, but it seems like that doesn't sport cookies. So I need my app to open a real web browser (maybe IE mobile) to do the job.
    Thank you.

    copying from stackoverflow: "If you want to embed a browser window inside your application then use  the WebBrowser control.  Add an instance of the WebBrowser control to  your form then you can reference it in code using the name you
    give  it.  (Default name is "webBrowser1")"
    Microsoft MVP J# 2004-2010, Borland Spirit of Delphi 2001

  • My adobe docs will no longer open in Reader...when I click on them they automatically open in web browser, however, I cannot view them on the browser either...help!

    All of my adobe docs now show up as white items instead of the regular red pdf doc they used to show up as.  When I double click on the pdf doc, it opens in the web browser, however, I cannot view the doc from the browser either.

    See http://windows.microsoft.com/en-us/windows/change-file-open-program#1TC=windows-7

  • Captivate (5) project won't open in Web Browser

    Hello,
    Since a few weeks I can't open my projects in the web browser. Accept one of the projects (only questionslides), i have been searching for differents in the setttings but i couldn't find any differtens. When I publish the project in a .swf still the project won't open.
    When I will get a preview in Web Browser or publish, the project is opening in the Web Browser and it looks like the project fade in and out in not even a second. A quick view of the background is visible . But i don't get any massage of error of something. And the page turn white.To preview the project in capitvate is no problem.
    I hope somebody could help me out.
    Roanne

    Hello,
    I do not know if you have Text Animations in your project? If yes, probably you are having issues due to the latest Flash Player. There is a hotfix to be found in this Captivate blog post:
    Solution for Captivate ...
    Lilybiri

  • Force a pdf to open in web browser

    Is there a way to make a media (pdf file) open in a web browser rather then download?

    To do that you'd have to change the mime type on the response which you
    can't do.
    M: 0415 193775
    E: [email protected]
    W: www.twoblokeswithapostie.com
    S: mariogugi
    On Fri, Sep 26, 2014 at 2:28 PM, Liam Dilley <[email protected]>

  • How can I stop Quicktime movies opening my web browser?

    Sorry if this has allready been brought up but I spent an hour searched the forums for an answer (And longer on google).
    My issue is that certain unsavory people seem to be exploiting an ability of quicktime to launch the default web browser and goto a page they designate. This unfortunately mean often I will download a movie (Named something it isn't typicly), run it and suddenly have 10 internet explorer windows pop up opening assorted **** sites, sites demanding spyware and malware installations and on at least one occasion site containing scripts to automaticly install a virus on loading.
    I'd like to how I can prevent this from happening short fo outright not using quicktime. Is there an option to disable a movies ability to link to web pages or a feature to block their attemtps to do so?
    Thanks.

    No. I don't have any viruses or spyware and I havn't been hijacked either. Look a little background on me, I work in tech support dealing with such issues for a living. Regardless I've had this happen on brand new computers I've set up and for the sake of been thorough in eliminating that idea as a possibility I followed every step and recommendation your links gave me and they turned up nothing.
    The problem is a function of certain .mov files which basically activate an imbeded hyperlink within the file, opening the default browser and loading whatever site the link lead to. If I could find a tame one that didn't send you to pornographic sites etc. I'd be happy to host it for you to test out yourself but frankly the only .mov files I've seen that do it are usually **** films themselves named something else (For instance one was named SydneyOlympics2004Opening) with the intention of luring unsuspecting victims into downloading them and running them in quicktime forcing them to load all these malicious pages. It's fine for me on my home network where the security settings are setup so hazardous sites can't actually do anything and the addition of pornographic images to my temporary internet folder has no concequences but at work that could get you fired and heavily fined in goverment employment.
    On a side note how another program could respond to a .mov file playing in quicktime opening web pages specific to that file and at set points in the movies timeline is beyond me. It would have to be a plugin for quicktime.

  • SLD page cant open in web browser

    Drear Friends
       I have installed ECC6 IDES server,  when I wish to open my SLD page it gives me page cannot be displayed message in web browser.  where my ECC Exchange infrastructure related page is displayed in web browser and other links such as Integreation builder "configuration( Repository)" ,  "Design (Integration Directory)", and Integration Monitoring "Runtime workbench" is displayed in web browser.
    Only System Landscape is not displaying. 
    XI link : http://ecc6:50400/rep/start/index.jsp ( all other links workfine here except SLD link )
    SLD link : http://ecc6:30000/sld/index.html
    I have checked SLD in sldchek transaction code that shows me errors describe below:
    14.05.2008                                                          Exchange Infrastructure: Test LCR Connection                                                                 1
    Properties of RFC destination SAPSLDAPI     
    RFC host:          %%RFCSERVER%%
    Program id:        SAPSLDAPI_UNICODE
    gateway host:     iwdf3054    <----
    I didnt supplied this, i supplied this "ecc6 "
    gateway service: sapgw00    <----
    I didnt supplied this, dont know about it where it comes and what it is.
    Testing the RFC connection to the SLD java client...
    RFC ping returned exception with message:
    Error when opening an RFC connection     
    Summary: Connection to SLD does not work     
    => Check SLD function and configurations     
    Now checking access to the XI Profile     
    Properties of RFC destination LCRSAPRFC
    RFC host:          %%RFCSERVER%%
    program id:        LCRSAPRFC_UNICODE
    gateway host:    iwdf3054 <----
    I didnt supplied this, i supplied this "ecc6 "
    gateway service: sapgw00<----
    I didnt supplied this, dont know about it where it comes and what it is.
    Testing the RFC connection to the SLD java client...
    RFC ping returned exception with message:
    Error when opening an RFC connection
    For your information
    During Installation I did "Register in Central existing SLD (Default) and then I passed
    SLD Host: ecc6
    SLD Port: 30000
    SLD Data supplier user: SLDDUSER
    Password : *****************
    Self Registration of ABAP Engin in Central SLD
    SLD Gateway host : ECC6
    SLD gateway instance number: 04
    SLD ABAP API User: SLDAPIUSER
    Password : ******************
    this is what i passed during installation phase.
    I have checked in SM59 with above mentioned RFC destination foud errors which I am mentioning below.
    Logon     Connection Error
    Error Details     Error when opening an RFC connection
    Error Details     ERROR: hostname 'iwdf3054' unknown
    Error Details     LOCATION: SAP-Server ecc6_ECC_04 on host ecc6 (wp 2)
    Error Details     DETAIL: NiPGetHostByName: hostname 'iwdf3054' not found
    Error Details     CALL: gethostbyname
    Error Details     COMPONENT: NI (network interface)
    Error Details     COUNTER: 75
    Error Details     ERROR NUMBER: 11004
    Error Details     ERROR TEXT: WSANO_DATA: Valid name, no data record of requested type
    Error Details     MODULE: ninti.c
    Error Details     LINE: 320
    Error Details     RETURN CODE: -2
    Error Details     SUBRC: 0
    Error Details     RELEASE: 700
    Error Details     TIME: Wed May 14 17:09:05 2008
    Error Details     VERSION: 38
    please help me to solve my problem.. any help will be appreciated.
    Regards
    Naeem

    Dear Santosh
       Thank you for your prompt reply and help, 
       Please see my Host file information:
    For example:
         102.54.94.97     rhino.acme.com          # source server
          38.25.63.10     x.acme.com              # x client host
    127.0.0.1       localhost
    10.10.10.1      ecc6.myweb.com  <---- this is my FQDN as well..
    well I need to understand with wich information i am supposed to create new connections... i dont know anythng about Gateway service...
    i have only gateway host name which is ECC6.
    and if i skip it again i need the program_id for the connection which i dont have...  the connection need to be work automatically and type T if I am not wrong...  help by providing more information on values to create a connection as per my doubt.. i apprecaite your reply alot
    now please justify my problem...
    Regards
    Naeem

  • Adobe Acrobat documents continue to open in web browser...

    Hi,
    I have a situation with 
    Web application general setting "Browser File Handing" set to strict in the general settings. Also tried changing to permissive, does not help.
    Site collection "Open Documents in Client Applications by Default" feature Enabled
    Document library advanced setting "Default open behavior for browser-enabled documents" set to Open in the client application.
    The documents still open in the browser. Any suggestions? Can serverfiles.xml help?
    Regards,
    Arsalan.

    There is no server-side solution. This is a client-side application configuration. It is basically an ActiveX plugin that Adobe Acrobat installs to handle opening documents in the browser, SharePoint has no control over it.
    Trevor Seward
    Follow or contact me at...
    &nbsp&nbsp
    This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs.

  • Download Manager Not Opening In Web Browser

    Operating System:
    - OS X (10.4.8)
    Web Browser(s) Affected:
    - Safari v2.0.4 (419.3)
    - Mozilla Firefox v2.0
    Description of Problem:
    When attempting to download a file, the download manager fails to open and the file is instead sent to the browser as a URL.
    Example:
    When clicking on http://www.website.com/foobar.dmg instead of download manager opening and transferring the file to the local drive, it is instead opened in a new browser tab/window as a URL and is never downloaded.
    It does not matter whether the file is dmg, tar, zip, etc. This happening in both my Safari and Firefox browsers (which makes me think it's something OS specific).
    Any suggestions would be greatly appreciated.
    Thank you,
    SoulGrind

    Hi SoulGrind,
    It does not matter whether the file is dmg, tar, zip, etc. This happening in both my Safari and Firefox browsers (which makes me think it's something OS specific).
    Or possibly plug-in specific? Did you happen to install SpeedDownload at some point as this sounds like the symptom of a bad install.
    Try uninstalling SpeedDownload via the installer file over at http://www.yazsoft.com/sitepages/download.html - it has an uninstall option. To download it, you should be able to right click/control click on the file link to obtain the file.
    Good luck!

Maybe you are looking for

  • Open sales orders and open deliveries and open billing doc to sap from legesy

    Dear all i have some open sales orders and open deliveries and open billing doc are there in the legesy system so i want to know how to transfer the doc to sap by using lsmw plz tell me

  • BA required in BI Report

    Hi All, We have a vendor overdue analysis report developed in BI. In this report custome want us to add one more column that is Business Area.From which table i can link this BA. I have tried with BSEG table but it is not the correct one. Can anyone

  • Using iWeb to publish to .mac and separate web page

    Hi all, I have a rather complicated question. I am in the process of developing three web pages: 2 pages will be developed with iWeb and hosted off of .mac. For the third website, I have purchased a domain name and would like to publish it with iWeb.

  • WD ALV: Image in server cache does not appear in Excel

    Hello WD Experts! I have a Web Dynpo ALV table with material master data. One column contains the image of the product or a "sorry, no picture" image, if no specific material image exists. The images are not available as MIME objects, hence I load th

  • Audio Wave in Timeline

    I am pretty sure one time I had it so the audio in the timeline had the wave that goes along with it which helped line up the video with the audio. How can I do this? Thanks.