HELP FOR OPEN IE FROM BUTTON CLICK ?

Hello All,
i make a jframe i want to open internet explorer window for particuler site by button
click any body tell me plz.
Thanks ...
Arif.

See this Application below, use it in your application
//to open an application during the run time use runtime
//n no of applications can be opened during the run time
import java.awt.*;
import java.io.*;
public class RT
public static void main(String str[])
try
Runtime rt = Runtime.getRuntime();
rt.exec("notepad"); //exit or execute
// rt.exec("wordpad");
rt.exec("c:/progra~1/netscape/communicator/PROGRAM/NETSCAPE.EXE");
/* Process p = exec(perl xyz.pl);
DataInputStream dis = new DataInputStream(p.getInputStream());
System.out.println(dis.readLine()); */
catch ( Exception e)
e.printStackTrace();

Similar Messages

  • Value Help for a field from custom table in BSP

    Please let me know, the procedure to create value help for a field from a custom table in BSP using HTMLB.
    Thanks

    hi prodigy,
    check this code using drop down list.
    <b>layout for first page</b> 
    <htmlb:dropdownListBox id                = "ddlist"
                                  table             = "<%=t_mara%>"
                                  nameOfKeyColumn   = "matnr"
                                  nameOfValueColumn = "matnr"></htmlb:dropdownListBox>
    <b>event Oninitialization event of first page</b>
    SELECT MATNR UP TO 10 ROWS
      INTO TABLE T_MARA
      FROM MARA.
    <b> event Oninputprocessing event</b>
    **Load the manager class
    CLASS CL_HTMLB_MANAGER DEFINITION LOAD.
    DATA: V_EVENT TYPE REF TO CL_HTMLB_EVENT.
    DATA: DATA TYPE REF TO OBJECT.
    DATA: V_DATA TYPE REF TO CL_HTMLB_DROPDOWNLISTBOX.
    CALL METHOD CL_HTMLB_MANAGER=>GET_EVENT
      EXPORTING
        REQUEST               = RUNTIME->SERVER->REQUEST
      RECEIVING
        EVENT                 = V_EVENT
    IF V_EVENT->NAME = 'button' AND
       V_EVENT->EVENT_TYPE = 'click'.
    DATA ?= CL_HTMLB_MANAGER=>GET_DATA( REQUEST =
                                          RUNTIME->SERVER->REQUEST
                                          NAME     = 'inputField'
                                          ID       = 'matnr'
        V_DATA ?= DATA.
    IF V_DATA IS NOT INITIAL.
         V_MATNR = V_DATA->SELECTION.
    ENDIF.
    NAVIGATION->SET_PARAMETER( NAME = 'v_matnr' VALUE = V_MATNR ).
    NAVIGATION->GOTO_PAGE( 'detail.htm' ).
    ENDIF.
    <b>in the onInitialization event for detail page</b>SELECT MATNR
           ERSDA
           ERNAM
           LAEDA
           AENAM
           VPSTA
           PSTAT
           LVORM
           MTART
      FROM MARA
      INTO TABLE T_MARA
    WHERE MATNR = V_MATNR.

  • Simulate Copy-From Button Click on Delivery Document

    Hi Friends,
    How can I 'programmatically' click on Copy From button, and then select the Sales Order?
    (I could get a forum post to capture the Copy From button click in the delivery document, but I want to do clicking also programmatically)
    I could click on the Copy-From button programmatically.
    After that, till I manually click on "Sales Order", control is not returned to the program (It acts similar to a message box:( )
    Do you know any ways to acheive it?
    Thanks.
    Regards,
    Geetha

    Hello Rajkumar,
    I came upon this thread but did not find it to be quite complete (and see that you were looking for a similar answer).  I just wanted to let you know how I am using "Copy To" to copy a Sales Order into an A/R Invoice.  I realize you are desiring a "Copy From" but I believe the steps will be the same (and believe others will value seeing this).  I know there is discussion above that the copy to is a matrix but I found the simplest approach is to just treat it like a combobox.  Here is my code in C#:
    // Declare my variables
    SAPbouiCOM.Form oForm = null;
    SAPbouiCOM.Item oItem = null;
    SAPbouiCOM.ComboBox oCombo = null;
    // Set my form to the currently active form
    oForm = SBO_Application.Forms.ActiveForm;
    // Simulate a "Click" on the Copy To (for A/R Invoice)
    oItem = oForm.Items.Item("10000329");  // This is the Item Number for Copy To
    oCombo = (SAPbouiCOM.ComboBox)oItem.Specific;
    oCombo.Select("A/R Invoice", SAPbouiCOM.BoSearchKey.psk_ByDescription);  //If I want to copy to an A/R Down Payment, I simply change the "A/R Invoice" to "A/R Down Payment"
    In short, by using the combo and "Selecting" the parameter I want, my belief is that SAP automatically initiates the remainder of the work.  Hope this helps you (and others).

  • How can I get help for ADE downloads from the public library.   I am suddenly getting error messages

    How can I get help for ADE downloads from the public library.  It worked for years and now I am getting error messages.   I cannot find any practical help

    If you are trying to open the book on a device, try using the latest DL Reader on Android and iOS
    https://play.google.com/store/apps/details?id=com.datalogics.dlreader&hl=en

  • Open MXML component + button click

    Hi,
    I have an MXML component within my Flex 2 Application, and
    within this component I have a button which when clicked, I want to
    "go / link to" (open) another MXML component.... e.g.:
    <mx:Application.......>
    <mx:panel............>
    <mx:button label="open other page" click="open the other
    MXML component etc..."/>
    </mx:panel>
    </mx:Application>
    Additionally I want to be able to pass a variable (on the
    same button click) to the component that is being opened on the
    button click, and use this variable within the second
    component......
    Could anyone suggest the best method of going about this?
    Thanks,
    Jon.

    In general all of the components of an application are
    created at start up. You then use view states and navigation
    containers to display the component when needed. If you want to
    create a component then check out this subject 'Creating deferred
    components' in the docs. Primarily you worry about deferred
    creation of objects if you want to reduce the file size of your
    swf. View states would be one way to handle the display of the
    components.

  • Open a report from button click/javascript

    Hi,
    Does anyone know if there is a way to call a report from a button click? Or through javascript? I set the report to Display Results > Link - within the dashboard and then did a view source on it and found the function that calls the report from the hyperlink.
    This is the code:
    return DashboardReportLink('saw.dll?PortalGo&amp;_scid=v-x8QJloqTY&amp;PortalPath=/shared/Plan\x2520Setup\x2520Audit\x2520Tool\x2520/_portal/Plan\x2520Setup\x2520Audit&amp;Page=Historical&amp;NavFromViewID=d\x253adashboard\x257ep\x253acp4tq3p9brn77o6o\x257er\x253a8a2g9nltmkrtra9n&amp;Path=/shared/Plan\x2520Setup\x2520Audit\x2520Tool\x2520/Archive\x2520Reporting/Run\x2520Historical\x2520Report&amp;Action=PromptStart&amp;Options=frdc', 'd:dashboard~p:cp4tq3p9brn77o6o~r:8a2g9nltmkrtra9n','Dashboard&amp;PortalPath=/shared/Plan\x2520Setup\x2520Audit\x2520Tool\x2520/_portal/Plan\x2520Setup\x2520Audit&amp;Page=Historical', false)
    I added this function to the end of my javascript but when i click the button it just opens a blank page with
    http://la820119:9704/analytics/saw.dll?PortalGo
    as the url.
    Any help would be appreciated

    Hi,
    So i have been trying out a few things and the following url works to open the default view of the request:
    window.location='saw.dll?Go&Path=/shared/Plan Setup Audit Tool /Archive Reporting/Run Historical Report&Options=dfr';
    I just replaced 'Dashboard' in the code provided with the 'Go' and it started to work :)
    What i need to do though is have this work for the session variables set up on the dashboard. I have 7 prompts which a user can use to filter a request. Each is assigned to a session variable that is used to call a stored procedure. Originally i thought that by setting the variables and then calling the report from the url that the session variable values i set would be used in the request. What seems to be happening is that the variables get set and then, on calling the url, they are reset to the defaults and the report is run.
    Any help in solving this would be very much appreciated
    Una

  • Need help placing tracking script on button click

    Howdy.
    We're trying to track the button clicks on a landing page we're producing. I've got the "landing page" script in the header via the page properties but now I need to put script on a button that fires when the person clicks the button. Any help would be greatly appreciated!
    website: maysweb.tamu.edu/open-enrollment
    script:
    <script type='text/javascript'>
    // Conversion Name: Finance & Accounting - Non-Finance Managers button
    var ebRand = Math.random()+'';
    ebRand = ebRand * 1000000;
    //<![CDATA[
    document.write('<scr'+'ipt src="HTTP://bs.serving-sys.com/Serving/ActivityServer.bs?cn=as&ActivityID=1&rnd=' + ebRand + '"></scr' + 'ipt>');
    //]]>
    </script>
    <noscript>
    <img width="1" height="1" style="border:0" src="HTTP://bs.serving-sys.com/Serving/ActivityServer.bs?cn=as&ActivityID=1&ns=1"/>
    </noscript>

    Anyone got any ideas on this?

  • How to get iterator used on jsff from button clicked on jspx

    Hi All,
    I am using jdeveloper 11.1.1.5.
    I have a bounded task flow and inside that I have a jsff and I have added one iterator in its bindings. Now I have dragged that jsff on my jspx page as a region.
    I have a button on my jspx page I want to find the iterator of the jsff on button click.
    How to find it.
    Please help.
    -- NavinK

    Thanks Timo for your reply.
    Does that mean We have to add the same iterator in the bindings of jspx as well ?
    In my case I have added the iterator to my jspx page but I am getting the error described in InputText value is not getting updated in Iterator
    Please help.
    --NavinK                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Unable to open page from buttons within firefox IE whereasothers explorers can

    In the firefox opened page when button for opening new sight within the page is clicked there is no effect and the page does not open wheras in inetrnet explorer same page can be opened please advice. For example in fire fox opened page when submitting information there is no change and the new page does not open.
    == This happened ==
    Every time Firefox opened
    == after updating firefox

    Start Firefox in [[Safe Mode]] to check if one of your add-ons is causing your problem (switch to the DEFAULT theme: Tools > Add-ons > Themes).
    See [[Troubleshooting extensions and themes]] and [[Troubleshooting plugins]]
    If it does work in Safe-mode then disable all your extensions and then try to find which is causing it by enabling one at a time until the problem reappears.
    You can use "Disable all add-ons" on the [[Safe mode]] start window to disable all extensions.
    You have to close and restart Firefox after each change via "File > Exit" (Mac: "Firefox > Quit"; Linux: "File > Quit")

  • Need help for record deletion from custom table

    Hi friends
    I have to write a custom program which will be generic to delete any table record with date field.
    This program needs to be generic (should be able to delete records from any custom table) in nature with selection screen parameters as:
    Table Name and Number of Days prior to which records are deleted, both mandatory.
    Program Flow:
    1.     From number of days calculate date before which records are deleted, ( current date u2013 no. of days = past date).
    2.     Custom table have date field, delete records prior to that date.
    3.     Program may be scheduled for background job, put default values for both fields. No. of days should not be less than 60.
    4.     Classical Report output with number of records deleted.
    My query is how will I know the name of the Date field so that I can write a DELETE query.
    If I use 'DDIF_FIELDINFO_GET' it gives me all field names but how to filter out?
    with regards
    samikhya

    Hi
    I have added  field on the selection screen as p_fieldname and got the F4 help for it , so that the user will get the field name run time as per the table name.
    Now I am facing problem while writing the DELETE query.
    I wrote like
    DELETE (fp_tab)
    where (fp_fieldname) LE date
    It is not working. I also tried with taking a string to concatenate fp_fieldname, LE and date to l_string
    when I write like this:
    DELETE (fp_tab)
    where (l_string) , sy-subrc is getting 4 and no records are getting deleted.
    I do not understand where the dynamic Delete is failing??
    with reagards
    Samikhya

  • BPC 7.5: FX rate for opening balance from different category

    Hi,
    I have three categories in my system, ACTUAL, ESTIMATE and BUDGET. When we submit ACTUAL data, we also submit a forecast for the year end period (DEC in our case). We also have currency rates for FORECAST for the DEC period.
    We are now working on the budget and the opening balances (business rule) are coming from the forecast since we obviously do not yet have actuals.
    This copying works fine (CATEGORY_FOR_OPE on BUDGET is set to FORECAST).
    However, when we run a currency conversion, we have a problem. The opening balances are set to convert at the previous year end rate which is fine. But the system uses the BUDGET category rates whereas we want it to use the FORECAST rates. But only for the opening balances, all other flows should be converted using the BUDGET rates.
    Is it possible when using the currency conversion business rule, to use the FORECAST rates from the previous year end for opening flows but BUDGET rates for all other flows?
    Thanks,
    Arnold

    Hi Arnold,
    Yes this can be done.
    Basically in your FX business rule table you need to have your opening flow/acctdet to use the formula [AS_IS]. This will take the group currency value from the previous period (in your case the last period of year -1 in the FORECAST category) and enter that value in the group currency field in the current year for BUDGET.
    Note - If you are doing detailed balance sheet planning and you need it to always to balance to 0, then you will also need to put a line in your business rule to take [END]-[AS_IS] to the currency translation reserve. Otherwise this [AS_IS] value in GC will mean your GC balance sheet will be out of balance.
    Hope this solves your issue.
    Tom.

  • Search Help for Company Code from Backend

    Hi experts,
    How can I make a SH for company code from backend system? I already made a SH for account assigments from backend with USAGE_SH_F4  functioanality, but i don't know whether I can use it for Company code or not? And how?
    Best Regards,
    Mikhail.

    I need functionality where I will manually maintain backend system, and then I need bind search help for this backend system with my input field for web dynpro. For Account Assignment I use this: http://scn.sap.com/community/srm/blog/2014/01/08/standard-account-assignment-search-helps-in-custom-srm-developments
    But what should I use for company code?

  • Problem in A/R invoice Page for Opening Report  from ARD

    Hi All Experts ,
    I face one problem in my exciece Addon ,
    I have Create one Custom button name is showreport in A/R invoice page
    i want to click  on this button open one A/R invoice report name like RG23D
    but this work only when i run  from source
    but when i create ARD for this Source and I run ARD then Report not open from A/R invoice Page .
    ( Client  have SAP8.8 PL17 )
    Please give me solution for this Problem ASAP .
    Thanks
    Kalpen patel

    Hi Kalpen patel,
    Welcome you post on the forum.
    What report is this, a crystal report or something else?
    Thanks,
    Gordon

  • Help for Process Priority (STOP buttons)

    I , I have a problem with my program.
    I make the acquisition with a device connected to GPIB.
    I want to have my main program with 2 For Loop and a stop button which stop the program and the device.
    The problem is that, if the program is doing an acquisition and is in a For loop, I can press stop button and nothing happens until the end of the for loop.
    I can stop with main stop red button but my device is not Off.
    I tried an event structure but it don’t works.
    The goal is to have a stop process priority to the acquisition process.
    I attached my structure of program. I only need to keep the 2 For Loop.
    Event structure and while Loop can be removed.
    I use LV2012 sp1f5 but I can upgrade to LV2014 if really necessary
    thanks in advance for your help.
    Solved!
    Go to Solution.
    Attachments:
    priority_process_LV2012.vi ‏16 KB
    Capture.JPG ‏114 KB

    Rigth click on the border of the loop you want to leave and add the conditional terminal.
    Place the Stop button inside the loop.
    Greetings from Germany
    Henrik
    LV since v3.1
    “ground” is a convenient fantasy
    '˙˙˙˙uıɐƃɐ lɐıp puɐ °06 ǝuoɥd ɹnoʎ uɹnʇ ǝsɐǝld 'ʎɹɐuıƃɐɯı sı pǝlɐıp ǝʌɐɥ noʎ ɹǝqɯnu ǝɥʇ'

  • Little help for calling report from a form

    hi,
    I AM NOT ABLE TO CALL THE REPORT WITH THE FOLLOWING CODE. PLEASE TELL ME WHERE I AM DOING WRONG! THANKS A LOT!!
    It is Oracle 9i and Reports 6i.
    -> I have a form with only one BUTTON.
    -> I have a REPORT with only one USER PARAMETER 'P_1' which is a number.
    -> I have only one query INSIDE the report. It is "SELECT * FROM EMP WHERE EMPNO = :P_1'
    -> I added the report to form in the OBJECT NAVAVIGATOR of FORM and the NAME OF REPORT is 'REOPRT4'
    here is the code on the form:
    ================================
    When_button_pressed
    DECLARE
    vid report_object;
    vname varchar2(100);
    BEGIN
    vid := find_report_object('Report4');
    vname := run_report_object(vid);
    END;
    ==================================
    -> the FORM and REPORT are in "c:\helloworld" directory.
    -> the error I am getting is 'internal pl/sql error'
    -> I WANT THE USER TO ENTER THE RUNTIME PARAMETER FOR THE REPORT AT RUNTIME, so no need to worry about supplying the parameter through code!!!
    Thank You very much. I appreciate your kind help!!

    I think that you have to add some code, see page 15 in this:
    http://otn.oracle.com/products/forms/pdf/277282.pdf
    Helena

Maybe you are looking for

  • 10.4.6 Update Didnt mesh well

    I am posting this topic to see if I was the only person who encountered issues when upgrading to 10.4.6 on their MDD system. Once I upgraded (I even erased the drive and used the combo update on the fresh install) my computer wouldnt stay on for more

  • I keep getting "Error Subject token invalid" when I try to activate HBO GO on my Apple TV 3.

    I keep getting "Error Subject token invalid" when I try to activate HBO GO on my Apple TV 3. Everything else is activating fine. My ISP is XFinity. Anyone seen this? I have done a complete reset and restore, and have the latest software.

  • Attaching a GIF image

    Hi all,        Does anyone know how to attach a gif image to a  email.I am working in APO-ABAP. Regards Ahasan

  • Delete users account

    Hello , anytime I tries to sign in  my skype   showed me the different users account : I want  to delete those users,how to do that??? Thanks

  • OAAM 10.1.4.5 installation with weblogic 10.1.3

    Hello, While deploying OAAM/OARM application on weblogic I am getting following errors; weblogic.application.ModuleException: [HTTP:101216]Servlet: "BharosaScheduler" failed to preload on startup in Web application: "oarm.war". java.lang.ExceptionInI