How to Open MSExcel in forms

hello,
i would like to open MSExcel when i hit a button.
i used this command that follows ,, Host('Excel.exe'); nothing hapenned when i hit the button.
could someone help me?

If you are using form 10, you can use webutil function:
client_host('cmd /c excel.exe');Hope it helps you,
Fabrizio
If this answer is helpful or correct, please mark it. Thanks.

Similar Messages

  • How to open a entity form in a new window using openEntityForm() method.

     How to open a entity form in a new window using openEntityForm() method.

    As far as I'm aware, there isn't a supported way to do this in the client-side API. You could use window.open instead
    Microsoft CRM MVP - http://mscrmuk.blogspot.com/ http://www.excitation.co.uk

  • How to open a pdf form with fdf data

    Hi all,
          I am working on a new project. In that, I have to load a PDF contract form with FDF data on Internet Explorer Window.
    I don't know how to do it. Actually I tried using this format on the URL (while loading the respective page)
    http://www.example.org/pdf_file_name.pdf#FDF=http://www.example.org/fdf_file_name.fdf
    But it opened as an empty pdf document. . Actually I need it with the fdf data.
    Can anyone know any other way to do this?
    Or is this not possible to open a pdf form with fdf data in a browser?
    Thanks in advance
    Annamalai

    @ Bernd. It still opens a text file
    Here's my FDF file sample
    %FDF-1.2
    %âãÏÓ
    1 0 obj
    <<
    /FDF << /Fields
    <</V (07/22/2009)/T (Loan_Note_Date)>><</V (22.29)/T (Loan_AnnualPercentage_Rate)>></V ()/T (Seller_ESignatureArea1_Date)>><</V (GA Dealer)/T (Seller_Signer_FullNameTitle)>><</V ()/T (ThirdParty_ESignatureArea1_Date)>>
    /F (MARSMFLZ.pdf)/ID [ <1f0b6b55f345db39e8246247138fe562><e960588530b0d06d35cd618b34d4c314>
    ]>>
    >> endobj
    trailer
    <<
    /Root 1 0 R
    >>
    %%EOF
    (I have uploaded the related pdf file before.)
    Just now I got an idea to use WScript (the code is written in javascript)
    ws = new ActiveXObject("WScript.shell");
    ws.Run('"AcroRd32.exe" "C:\\annukar\\Refi\\Refinance_Module\\Forms\\Contract.fdf"', 1, true);
    this opens my fdf document in Acrobat reader using command prompt.
    I have a doubt now, can i use some string in place of "C:\\annukar\\Refi\\Refinance_Module\\Forms\\Contract.fdf" in the above command?
    I mean something like fdf_file = "C:\\annukar\\Refi\\Refinance_Module\\Forms\\Contract.fdf"
    and replace ws.Run('"AcroRd32.exe" fdf_file,1,true). I tried it but it doesn't work Any idea's? Since the path will not remain the same always. So i need to change it

  • How to open a MD form in insert mode when calling from URL ?

    I have a MD form and I want to open it in 'insert' mode when I click on the URL.
    How can I do that ?
    thanks,
    Mainak

    I think somebody has asked the same questions earlier but I cannot find the link to that message. Please can anyone help me ?
    How to open a form in Insert mode from url link ?
    Mainak

  • How to open A Windows Form from Crystal Reports

    Hello All
    We are using crystal Repors 10 with Visual studio .Net 2005. Our requirement is to open the Windows Form when a user click on the respective Hyperlink. Simillarly popping up the MessageBox when clicking hyperlink.
    How this is possible, I will be really thankful to anyone who solves my problem

    Depending if this is a web or win app, you have different solutions.
    Web or win, use hyperlinks and redirect to an aspx page (I think hyperlinks are supported in CR 10.2).
    Win, use events as described in the sample app csharp_win_viewer_events.zip / vbnet_win_viewer_events.zip. I have never used the events to pop up a new form, but you should be able to do this.
    BTW.; make sure you have sp 1:
    https://smpdl.sap-ag.de/~sapidp/012002523100006007872008E/crvs05sp1.exe
    Ludek
    Follow us on Twitter http://twitter.com/SAPCRNetSup

  • How to open word document form html container url iam getting internal_error while opening file

    Hi all,
    By using below code i am able to download word document file from html container. But before downloading i need edit these document to add Macro.
    I am unable to open word document.
    CREATE OBJECT G_HTML_CONTAINER
          EXPORTING
            CONTAINER_NAME = 'PDF'.
       CREATE OBJECT G_HTML_CONTROL
          EXPORTING
            PARENT = G_HTML_CONTAINER.
    * Convert xstring to binary table to pass to the LOAD_DATA method
        CALL FUNCTION 'SCMS_XSTRING_TO_BINARY'
          EXPORTING
            BUFFER     = LV_CONTENT
          TABLES
            BINARY_TAB = LT_DATA.
    data_tab = LT_DATA ).
    * Load the HTML
        CALL METHOD G_HTML_CONTROL->LOAD_DATA(
           EXPORTING
             TYPE         = 'application'
             SUBTYPE      = 'DOC'
           IMPORTING
             ASSIGNED_URL         = LV_URL
           CHANGING
             DATA_TABLE           = LT_DATA
           EXCEPTIONS
             DP_INVALID_PARAMETER = 1
             DP_ERROR_GENERAL     = 2
             CNTL_ERROR           = 3
             OTHERS               = 4 ).
    * Show it
        CALL METHOD G_HTML_CONTROL->SHOW_URL( URL = LV_URL
          IN_PLACE = 'X' ).
    Before file download i want edit the file for that i am using below class.
    PROXY TYPE REF TO I_OI_DOCUMENT_PROXY.
    by using (get_document_proxy) method  getting proxy .
    call method control->get_document_proxy
    exporting
    document_format   = 'x'
    document_type      = 'Word.Document'
    register_container  = 'x'
    importing
    document_proxy     = proxy
    after these.
    call method proxy->open_document
    exporting
    document_url    = lv_url
    open_inplace    = 'x'
    hear i m getting retcode as INTERNAL ERROR
    can any one suggest me how to open document from html container.
    Thanks and reagards
    jogu yadav

    I got resolution
    Thanks and regards,
    Jogu yadav

  • How to open the PDF form in the same browser window

    Hi All,
       I have created a webdynpro application to display a PDF form.The form is displayed in the new window.I want it to be displayed in the same window.
    How to make the PDF form to be displayed in the same window
    Thanks
    Ponnusamy P

    Hi Ponnusamy
    Earlier there was <b>_self</b>  as the target property for LinkToURLUIElement, but it is not available anymore,instead we need to use exit plugs
    there is one way to do
    1) Create a viewset of type Grid in your window
    2) Create a new view with iFrame added to it
    3) Specify number of columns/rows as per your requirement
    to the viewset  Suppose 1 Column and 2 Rows
    4) In the second row embed  your view which has iframe
    Using Plugs[Inbound and Outbound] you can view your PDF in the same window.
    This is not solution but this is one of the way to achieve your need
    Best Regards
    Chaitanya.A

  • How to open a JClient Form from another JClient Form in different project?

    Sir,
    In my application, there are two model projects Ma and Mb, and two view projects Va and Vb. There two forms Fa and Fb in Va and Vb respectively.
    Now I like to open form Fb within form Fa. How can I do that?
    Please give me some code so that I can fully understand. Thanks a lot.
    Regards
    Stephen

    Here is how I got it working
    1. open the projects and make sure the Dependencies are checked for the other project
    2. open the JClient client project that contains the calling form
    3. select the databinding.cpx file and you see that one datacontrol is used
    4. To add the other datacontrol (the other BC project) select an attribute from it in the data control palette and drop it to the calling JClient panel.
    5. Delete the create item because all that we care for is to get the the second data control registered in the project's cpx file
    6. Open the databinding.cpx file of the second (the called JClient project) and copy everything between the <containee> elements into the clipboard. Note that you can have one or more of them
    For my example, the databinding.cpx content of the second JClient project contained the following binding reference
    <Containee
    id="FormUIModel"
    ObjectType="BindingContainerReference"
    FullName="mypackage3.FormUIModel" >
    </Containee>
    7. Open the databinding.cpx file of the calling project in a text editor and paste the content of the clipboard to it. Save the file.
    8. Add the following code to a button that calls the JClient form in the other project (in my example the called form has a name of "Form" and is in a packe mypackage3 that I imported
    Form frm = new Form();
    frm.setBindingContext(panelBinding.getBindingContext());
    frm.setVisible(true);
    The reason you have to do all this is because the binding context is passed from one form to the other, which means that its databinding.cpx file need to contain all the binding information.
    You could make your life a lot simpler if you don't use two model projects. But this is your design decision and i can only tell you how to get it working.
    Frank

  • How to open Batch Details Form using a LinkedButton?

    Hi all,
    I just want to know how can I open the Batch Details system Form, using a LinkedButton from my user form.
    Just like the Batch Number Transaction Report window, from the Batch Column.
    It's difficult because this document don't have the ObjectType.
    Thanks a lot.
    Cheers
    David

    Solved!
    I did this:
    From the MatrixLinkPressedEvent:
    if (pVal.BeforeAction)
                        switch (pVal.ColUID)
                              case "column":
                                BubbleEvent = false;
                                AddOnApplication.Application.ActivateMenuItem("12290");//Form for Batch Details
                                form.EnableMenu("12290", true);
                                bool _runThread = true;
                                while (_runThread)
                                    Thread.Sleep(500);
                                    try
                                        ((SAPbouiCOM.EditText)AddOnApplication.Application.Forms.ActiveForm.Items.Item("40").Specific).Value = _dtGrid.GetValue("ItemCode", pVal.Row - 1).ToString();
                                        ((SAPbouiCOM.EditText)AddOnApplication.Application.Forms.ActiveForm.Items.Item("62").Specific).Value = _dtGrid.GetValue("Batch Hide", pVal.Row - 1).ToString(); ;
                                        AddOnApplication.Application.Forms.ActiveForm.DefButton = "38";
                                        AddOnApplication.Application.SendKeys("{ENTER}");
                                        _runThread = false;
                                    catch (Exception){}
                                    finally
                                        _runThread = false;
                                        form.Freeze(false);
    And that's it.
    Hope this help to someone
    Cheers

  • How to open an order form of a particular order in edit mode

    hi
    i need to open a order's order form in edit mode so that it can be approved or any other operations done on that.
    there is an similar post but the soln s nt available fr the abve mentioned prob
    " i dont knw what are the exact parameters that should be assigned in ordfind so that it will lead to the ordhead"
    thank u in advance for any guidance that cud be provided.

    I m using oracle appln server 10g forms. I m trying to open tat form using a url.. generally i m accessing via a java program where i m giving tis url.

  • How to open report from form

    I'm tring to open report from a form
    using Run_report_object built_in on 9i
    and i get error messages
    such "you did not specify repor name "
    and "REP-0110 unable to open file
    REP-1070 error while openning or saving document "
    I get a look on the help and i found an enviroment parameter called
    "Reports25_path" that un seted on my computer (Windows XP) and I must put my report file in its location
    what can i do to open my report from a form ?
    thank yuo for help .
    I'll be gratfull if you send answer on my e-mail [email protected]

    Forms/Reports Integration 6i (6.0.8)
    http://www.oracle.com/technology/products/forms/pdf/277282.pdf
    Forms/Reports Integration 9i (9.0.2)
    http://www.oracle.com/technology/products/forms/pdf/frm9isrw9i.pdf
    Forms/Reports Integration 10g (9.0.4)
    http://www.oracle.com/technology/products/forms/pdf/10g/frm10gsrw10g.pdf

  • How to open a paramter form in a active window

    I am calling a report from a form but the parameter form of the report does not show in active window . its been displayed but in the back ground. how to show this in active window.
    thanks for your help.

    when i looked in the code there was no code present for any triggers . the code is empty. I am using oracle 10g release 1 version.

  • How to open Modal list form in SharePoint 2013

    Hi,
    in SharePoint 2010 the following opens a new item form in a Modal dialog, but in SharePoint 2013 it opens the form in a new window:
    <input onclick="javascript:NewItem2(event, &#39;http://intranet.pcycnsw.org.au/activities/pcycbrandedprograms/toipadmin/Lists/Courses/Item/newifs.aspx&#39;);javascript:return false;" type="submit" target="_self" value="Add a Course"/>
    In SP 2010 you get a nice pop up modal dialog and the user doesn't leave the page they launched the dialog from.
    In SP 2013 the same code works, but doesn't open the form modally - instead it opens the form in a full page.
    What is the equivalent method for SP 2013 so that I can get the form to open in a modal pop up like in SP2010?
    Mark

    Hi Kelly
    You can run this javascript line from the modal:
    window.top.location.reload();
    or
    parent.location.reload();
    Please mark it as helpful if it helps you solving your problem
    Amit Kotha

  • How to open a system form

    Hi,
    I am urgently in need of help on opening a system from a user form. I want to use a link arrow on a matrix and go to a particular record on the system form.
    For example I'd like to go to the record with deposit number 16 on the deposit screen.
    Thanks.
    Tayo

    Hello Tayo,
    you just need to create an arrow, define it taget (Form type) and link it to a cell or a texte box that contains the id (16 in your case)
    Dim oItem As SAPbouiCOM.Item
    Dim oLink As SAPbouiCOM.LinkedButton
    Set oItem = oForm.Add("A", it_LINKED_BUTTON)
    oItem.Linkto = "YourTexteBox"
    Set oLink = oItem .ExtendedObject
    oLink.LinkedObject = lf_lf_Deposit
    In a matrix, you need to change oitem to Column object.
    I think there is a sample in the UI sample called 06.MatrixAndDataSources that have a sample of linked button in a Matrix
    Message was edited by: Sébastien Danober

  • How to open WD- Adobe form open in new window -without Portal header

    Hi,
    In my WD application -MAINVIEW , I made 2 different groups under ROOTUIELEMENTCONTAINER
    GROUP1 -Selection fields with search button - with ROW LAYOUT
    GROUP2 -INTERACTIVE FORM - with FLOW Layout
    Basically when we click the Search button I get the form in the same view underneath GROUP1.
    I am calling this WD application in Portal by giving the hyperlink via BSP application.So when they run the WD application now With portal headers it is still becomming heightwise small area.
    Is there a way with which we can open form in completely new window  without the Portal Headers?
    Rgds
    Vara

    yes.. you can launch the form from a selection screen into a new window...
    I am using this to launch an editable PDF from a selection screen into a new window. This code is placed on the event handler of my Create button on the selection screen.
      DATA: str TYPE string,
            l_window1 TYPE REF TO if_wd_window_manager,
            l_cmp_api TYPE REF TO if_wd_component,
            result TYPE REF TO if_wd_window,
            lt_parms TYPE TIHTTPNVP,
            ls_parms like LINE OF lt_parms.
      ls_parms-name  = 'OPERATION'.
      ls_parms-value = 'C'.
      APPEND ls_parms to lt_parms.
      CALL METHOD cl_wd_utilities=>construct_wd_url
        EXPORTING
          application_name = 'your_wd_application_here'
          in_parameters = lt_parms               " <- any URL parameters you need to send
        IMPORTING
          out_absolute_url     = str.
      l_cmp_api = wd_comp_controller->wd_get_api( ).
      l_window1 = l_cmp_api->get_window_manager( ).
      result = l_window1->create_external_window(
        URL = STR ).
      result->open( ) .
    You have to be aware, though, that you will lose ALL your context data b/c you are opening a new user session. That's why I had to use url parameters to pass data to my form.

Maybe you are looking for

  • BW Error: No Data returned by XI

    Hello I am working on an BW(proxy) XI (synchronous)XMII scenario. The scenario is working fine in the DEV environment. I have transported objects to QA when BW is running the query it is givng an error which states no data returned by XI. Is the erro

  • Sales order not showing in VKM1 & VKM3

    Hi All, Sales document blocked for credit check, Status (VBUK) "B" is updated. But sales document number is not showing in VKM1 and VKM3  release t codes.  Header Credit status : Not approved. Pricing and documents perfectly completed. No issue logs

  • Blue List Boxes

    I noticed that others have posted regarding this question, but haven't seen any answers.  I'll give it a try. I am using Adobe Acrobat 8 on a Vista 32 system.  When creating list boxes in fillable forms, the background of the list box field shows and

  • Is windows worth it for gaming??

    i'm curious to know, for anyone that has installed a windows partition onto their MB or MBP if it would be worth it for cheaper gaming // wider selection of games... i dont really want to install windows too much because i hate it, but if it will let

  • Tag 'dmnd': Tag size is not correct msg in Colorsync Utility

    When I press the verify button in the Colorsync Utility, I get the path to my ICC Profile /Library/Printers/Epson/InkjetPrinter/ICCProfiles/Pro38.profiles/Contents/Resour ces/Pro3800 3800C 3850 standard.icc and then Tag 'dmnd':Tag size is not correct