Web browser launched from B1

hey All,
I have done a nice bit of research on the topic of opening a web browser via the UI API in the B1 client. I cannot seem to find any examples or working code to do this. Yes there are samples of active x controls but none of them ever seem to work.
Does anyone have some sample code or logic that I could use to launch an windows form with an active x control web browser from the B1 client?
Any help is appreciated
Curtis

Hi Curtis,
Does the following article help you at all?
http://support.microsoft.com/default.aspx?scid=kb;en-us;Q305703
Strictly speaking, it doesn't open a webpage in a SBO form or a windows form, it opens your default browser.
Kind Regards,
Owen

Similar Messages

  • Browser launch from Servlet

    Hi,
    In my servlet code, am forming an URL and then launching it in system default browser using below code -
    public static void openURL(String url) {
    String osName = System.getProperty("os.name");
    try {
    if (osName.startsWith("Mac OS")) {
    Class fileMgr = Class.forName("com.apple.eio.FileManager");
    Method openURL = fileMgr.getDeclaredMethod("openURL",
    new Class[] {String.class});
    openURL.invoke(null, new Object[] url);
    else if (osName.startsWith("Windows"))
    Runtime.getRuntime().exec("rundll32 url.dll,FileProtocolHandler " + url);
    else { //assume Unix or Linux
    String[] browsers = {
    "firefox", "opera", "konqueror", "epiphany", "mozilla", "netscape" };
    String browser = null;
    for (int count = 0; count < browsers.length && browser == null; count++)
    if (Runtime.getRuntime().exec(
    new String[] {"which", browsers[count]}).waitFor() == 0)
    browser = browsers[count];
    if (browser == null)
    throw new Exception("Could not find web browser");
    else
    Runtime.getRuntime().exec(new String[] {browser, url});
    } catch (Exception e) {
    Say, servlet is on server A. When i invoke it locally (server A), it launches URL in browser but when i invoke servlet remotely (server B), it still launches url in browser on server A and not on B.
    Any idea how can i redirect the response to the remote browser ??
    Thanks,
    Deepak

    Deepak2001 wrote:
    What i am interested in knowing is how to redirect the response back to client from where the request originally generated.This question is too vague. Please elaborate. All what I can think about is that you just need HttpServletResponse#sendRedirect().

  • Script in JavaScript does work properly on every web browser apart from Firefox (After FF update the script stopped working properly).

    Hello,
    script was always working correctly on every web browser. Unfortunately after (probably) last update Firefox stopped handling with it.
    Script is the part of forum based on popular MyBB (http://www.mybb.com/). I put a screenshoot below, which should easily show how did the script work.
    http://screenshooter.net/data/uploads/ug/tg/dyre.jpg
    After clicking on any icon (e.g. bold "B") it shows "[undefined=undefined]" and then clicking shows no effects.
    Errors from "WWW console" after icon clicking:
    TypeError: mnu is undefined - line 641
    TypeError: tag is undefined - line 1163
    Here I posted problematic script:
    http://pastebin.com/D8HmLEKK
    Best regards!

    See [[/questions/939971]]

  • Browser launch from JSP

    {color:#0000ff}Hi,
    {color}
    In my jsp code, am forming an URL and then launching it in system default browser using below code -
    public static void openURL(String url) {
    String osName = System.+getProperty+("os.name");
    try {
    if (osName.startsWith("Mac OS")) {
    Class fileMgr = Class.+forName+("com.apple.eio.FileManager");
    Method openURL = fileMgr.getDeclaredMethod("openURL",
    new Class[] {String.*class*});
    openURL.invoke(*null*, new Object[] url);
    else if (osName.startsWith("Windows"))
    Runtime.+getRuntime+().exec("rundll32 url.dll,FileProtocolHandler " + url);
    else { //assume Unix or Linux
    String[] browsers = {
    "firefox", "opera", "konqueror", "epiphany", "mozilla", "netscape" };
    String browser = null;
    for (*int* count = 0; count < browsers.length && browser == null; count++)
    if (Runtime.+getRuntime+().exec(
    new String[] {"which", browsers[count]}).waitFor() == 0)
    browser = browsers[count];
    if (browser == null)
    throw new Exception("Could not find web browser");
    else
    Runtime.+getRuntime+().exec(*new* String[] {browser, url});
    catch (Exception e) {
    {color:#0000ff}Say, JSP is on server A. When i invoke it locally (server A), it launches URL in browser but when i invoke jsp remotely (server B), it still launches url in browser on server A and not on B.
    Any idea how can i redirect the response to the remote browser ??
    Thanks,
    Deepak {color}

    Crossposted and already answered: [http://forums.sun.com/thread.jspa?threadID=5320443].
    Don't crosspost. It is rude in terms of netiquette and wastes other's time.

  • Why doesn't my Thunderbird allow me to go to my web browser (Google) from a link in a message? Using Windows XP, and Google browser

    For the past couple of day I have not been able got to links from Thunderbird to my web browser. I am using Google browser, this is with all my email providers, Google, Yahoo and Windstream. I am not sure when the update was installed.

    https://support.mozilla.org/en-US/kb/Hyperlinks-in-Messages-Not-Working

  • RichTech's Atomic Web Browser Missing From The App Store

    Can anyone please check and see if they are able to locate and download this alternative browser on their iPad? I'm with a friend and we were trying to load apps on their new iPad and if you click on an outside link or try to search for it you get no results. It's like it's missing from the App store entirely.

    Looks like Atomic Web browser was pulled from the App Store due to the use of private APIs in violation of Apple's policy:
    http://appadvice.com/appnn/2011/03/atomic-web-browser-removed-app-store/

  • Change Web Browser Title from Applet throw by JInitiator

    Hi,
    I'm developing an Oracle application with Oracle Form Builder and I would need to change browser title from my Applet, when a procedures throws when I press a button.
    Thanks a lot.

    If you use SeparateFrame=true, you can use WebUtil_SeparateFrame.SetTitle

  • Can't open web browser in solaris 10

    I'm on the java desktop for solaris. I click on the browser it acts like it is going to open and then nothing happens. Is there something else I need to set up.
    Thanks In Advance
    aslaton

    Right click on the Web Browser launcher and check the Properties for the launcher. Make sure what ever command is set to run exists on the filesystem (I believe it's set to /usr/sfw/bin/mozilla by default). Also, you can try running whatever command is set in the launcher from a terminal window, this way you should see if there is any error reported back.

  • Bean always on top with Enh Web Browser javabean?

    Hi everyone,
    I am trying to implement the Enhanced Web Browser javabean from the javabean community site in my applicaton. For reference sake, here's a link to it: http://forms.pjc.bean.over-blog.com/article-5029633.html
    I have been able to get the javabean to work and it displays webpages just fine. However, once it does display the web page when I move another form's window over it, the web browser bean stays on top and doesnt go underneath the other form's window as a window normally would. The form itself that contains the javabean, does get covered up... it's just the javabean portion that always stays on top. Note that also when the screen is just blank with no url/webpage it works like a normal form and if I move another form over it, it is hidden as usual.
    I am using Forms 10.1.2.3 and Java 6.10.
    Has anyone else had this problem or know of a workaround?
    Thanks,
    Nathan
    Edited by: user634656 on Dec 12, 2008 7:31 AM

    Hi Nathan,
    sorry I can not help you, but I am interesting to check this demo.
    I have tried the JDIC Browser incl. Oracle Maps with Swing and it works fine:
    http://www.free-dev.com/lomaps/launch.jnlp
    but I get a error from JDIC in the certified cache trying to start as WebStart.
    Can you write a short DoList of deployment this Enhanced Web Browser javabean please ?
    Many thanks,
    Friedhold

  • How do you make a web browser?

    I would like to make a Web Browser of my own but how did you make FireFox?

    Read this:
    http://thepattysite.com/window_sizes1.cfm
    You don't want to try to launch your site to full screen,
    honest, as you'd
    drive your (potential) visitors away.
    Jo
    "Steve Zavodny" <[email protected]> wrote in
    message
    news:escrfa$s7$[email protected]..
    > How do you make a web browser launch your site to a
    specific size or even
    > full screen?
    > Thanks...

  • Launch a default web browser from my java application

    Hello,
    I have been trying to launch my default web browser from my java application, but am unable do it. Right now, I am using ---- "Runtime.getRuntime().exec("cmd /c start <url>"); to launch my webbrowser. It launches the browser but displays the command prompt for a second or so, and then replaces my already existing page with the new url.
    Is there any way for me to launch the url in a completely new browser each and every time. And I don't want the command prompt to show up for a sec. Please help...!
    Thanks in advance.
    -BusyBusyBee

    If by any chance your application is an Applet, you can use this to open a new browser window:
    getAppletContext().showDocument(new URL(theUrl), "_blank");
    But, you probably would have specified if that were the case. Oh well. Hope it helps someone!
    -sheepy.

  • Any new ideas for launching web browser from application

    I have searched the forums trying to find a new way of launching a web browser from a java application. The problem I am having is that on Unix and Linux systems, at least the variety I have access to (not quite sure on what that variety those are as they are not my systems or systems I control), the common method of using Runtime.getRuntime().exec(STRING) with either netscape or mozilla does not work. While using the Runtime.exec method is not the same as a console, I did try on these systems "netscape + A_WEB_ADDRESS" (or mozilla) and it did launch the respective browser with the page, so it appears that at least from the console level, those commands are valid.
    All the forums seem to say that the Runtime.exec method is the way to go. All the source code I have found through links from the forum say the same thing. I have voted on this bug:
    http://developer.java.sun.com/developer/bugParade/bugs/4210168.html
    and the feedback there does seem to indicate that there is similar trouble out there. Below is the code I am using. It does work on Win2000,XP, and Mac OSX. The application is not supported on earlier systems, and as it stands it will not work on Win 95,98, nor ME. Only small modification should be needed for work on those OSs, but as I no longer personally use those OSs, I cannot be sure.
    private void openNativeBrowser(String url) {
    // not the browser itself is started, i only call something like
    // start http://www.javasoft.com
    // and then the standardbrowser will be started ...
    StringBuffer call = new StringBuffer();
    System.err.println(System.getProperty("os.name"));
    System.err.println(System.getProperty("user.dir"));
    try {
    // which OS ?
    String operatingSystem = System.getProperty("os.name");
    // how to call the OS
    if (operatingSystem.toLowerCase().indexOf("windows") > -1)
    call.append("cmd /c start ").append(url);
    else
    if (operatingSystem.toLowerCase().indexOf("mac") > -1)
    call.append("open ").append(url + " &");
    else if(operatingSystem.toLowerCase().indexOf("linux") > -1)
    // use Script 'netscape'
    call.append("mozilla ").append(url).append(" &");
    else
    call.append("netscape ").append(url).append(" &");
    System.err.println(call.toString());
    // start it ...
    Runtime.getRuntime().exec(call.toString());
    catch (Exception e) {
    System.out.println(e.getMessage());
    e.printStackTrace();
    As I said, if you have a new way to call the broswer that seems to work on either Unix or Linux, please post it, point to it, or explain it.
    Aaron

    there is a shell script on Linux called htmlview that you can launch like this:
    String[] cmd = {"htmlview", "http://java.sun.com"};
    try {
        Runtime.getRuntime().exec(cmd);
    } catch (IOException ioe) {
        // do something
    }which will open the default browser. Don't think this is available on other *NIX though, although the script itself would probably work so you could include it with your app (/usr/bin/htmlview).                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • How to launch my java application in a web browser?

    Hi. I try to launch my java application, e.g. "HellowWorld.java", using web browser.
    1. How can I change my java application program to java applet in general way?
    I read "Java: An Introduction to Computer Science and Programming, Third Edition"
    by Walter Savitch and found page 803 - "Converting a Swing application to an applet".
    My question is how I can know which class should be removed or not such as using JApplet instead of JFrame. Are there general rules about this?
    2. I found "AWT only" tutorial had some example lauching application using "AppletButton".
    How can I use this method to launch "HelloWorld.class"?
    http://java.sun.com/docs/books/tutorial/information/download.html#OLDui
    (after extracting zip file) -> ../OLDui/layout/card.html
    3. (continued 2) Can I use above method to embed applet into web browser?
    For example, java Swing application -> applet using "AppletButton" -> web browser using "<applet></applet>" tag.
    I'd appreciate any partial anwers of these questions or other suggestions.
    Thanks.

    Thanks! Here is what I got from your help.
    * HelloWorldSwing.java is a 1.4 example that
    * requires no other files.
    import javax.swing.*;  
    import java.awt.*;                //for Container class    
    //  public class HelloWorldSwing {
       public class HelloWorldSwingToApplet extends JApplet {
         * Create the GUI and show it.  For thread safety,
         * this method should be invoked from the
         * event-dispatching thread.
    //    private static void createAndShowGUI() {
          private void createAndShowGUI() {
            //Make sure we have nice window decorations.
    //        JFrame.setDefaultLookAndFeelDecorated(true);
            //Create and set up the window.
    //        JFrame frame = new JFrame("HelloWorldSwing");
    //        frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
         Container frameApplet = getContentPane();
            //Add the ubiquitous "Hello World" label.
            JLabel label = new JLabel("Hello World");
    //        frame.getContentPane().add(label);
         frameApplet.add(label);
            //Display the window.
    //        frame.pack();
    //        frame.setVisible(true);
          public void init() {
           createAndShowGUI();
    /*    public static void main(String[] args) {
            //Schedule a job for the event-dispatching thread:
            //creating and showing this application's GUI.
            javax.swing.SwingUtilities.invokeLater(new Runnable() {
                public void run() {
                    createAndShowGUI();
    }

  • ASDM doesn't run from application, but runs from web browser

    Not sure what the deal is.
    All of our firewalls are running 8.4(7.22) and ASDM 7.2.2.
    The primary campus firewall works fine when running Program Files-->ASDM launcher
    Our VPN firewalls only allow access to ASDM when launched from a web browser. Attempts to connect through the ASDM application respond with "Unable to connect to x.x.x.x".

    If the devices are using the default self-signed certificate dynamically generated during boot-up they could have rebooted and thus changed their certificates (which would then have to be trusted anew by Java).
    To avoid this, we generally try to use persistent certificates on the ASAs.
    If that's the case for your, it's a good opportunity to generate a new certificate (using a 2048-but RSA key if you don't already have one) and bind it to the interface(s) you manage from.

  • Video Streaming on Web Browser from Web Camera

    How to run Web Camera on to the Web Browser through JAVA and JMF?

    How to run Web Camera on to the Web Browser
    through JAVA and JMF? As someone who has written dozens of applets, and
    helped debug hundreds of them, I can tell you that
    applets are not for beginners.
    Whenever I must have an applet that is any more
    than completely trivial, I will code it as a combined
    application/applet, if only for making testing faster
    and easier.
    Further, if you have a working application, it can be
    'launched from a link', just like an applet, but using
    web start.
    I suggest you put aside the applet idea for the
    moment, and concentrate on doing this in an
    application.
    When that is working, you can decide whether
    to launch it using web start, or embed it as an
    applet in a web page.
    Here is an example of launching JMF (the
    player) using web start.
    http://www.javasaver.com/testjs/jmf/#test5
    As far as coding for a web cam, a quick Google leads to..
    "Here is the source code to JMF Webcam app + saves jpeg"
    http://forum.java.sun.com/thread.jspa?threadID=247253
    2 notes:
    1) I found that URL for the web cam code using
    Google. I have never dealt with web cams myself.
    2) Normally I ignore threads with no dukes. I am
    usually pretty busy, and dukes indicate how
    important a thread is - to whoever is asking.
    So, if you want to complete this task faster, you might
    - search for answers first.
    - add dukes to any question, to indicate interest.
    HTH

Maybe you are looking for

  • RE: My DV6-6b27nr said my hard drive not exist HELP!

    I just purchased a laptop hp dv6 and tried to boot up and it said that I don't have a hard drive and I need an operating system. I check the drive and it has no error on my desktop and everything seems to be in order. Can my connection sata wire goes

  • Missing: Outline & Full Page Icons in Tool Bar

    The Tutorials show three Icons in a row at top left of tool bar: "View"Icon then "Full Page" Icon and then "Outline" Icon. Instead I have the old "08 format" of View Icon then "Section" Icon (which is now in a new location). Did they change the desig

  • Collective release of entry sheets in ML85

    Hi, When releasing multiple entry sheets in ML85, system posts one material document irrespective of vendor or purchase order. Where do i control this situation if i want one material document for one entry sheet? Regards, Adhi

  • Partial Retirement Error

    Hi, Asset Partial Retirement Transactions were posted to 3 Assets in the FY 2006, which was affected only in FI. Retirement values were not deducted from the APC & Depreciation was being changed on the value of APC without deducting the retirement va

  • NetBeans 6.9 bogging down as code gets bigger

    Sorry if this is slightly off-topic, but I notice that NetBeans IDE seems to increasingly bog down the longer my code gets...that is, my typing out-paces the changes in the editor (and I'm not a fast-typist!). Is there a tweak I can do to help this?