Custom.dll in forms 4.5

Can someone give me an example of personalization of custom.dll to modify the list of value on a field ?
I'm in forms 4.5 and Oracle Applications 11.0.3
Regards.

Questions about customizing Applications apps should be entered in the Apps forum.
Please reenter this question there. Try OA Framework

Similar Messages

  • How to use a custom.dll in forms 6i

    Hi,
    i have made a small dll using a icon-making software, that software has made a .dll of the icon I made in that software
    Now i want to use that .dll in my forms 6i. (client/server)
    the dll contains only one icon named 'Icon1'
    would any one please tell me how can I call that icon in that .dll to view in my forms button at run time..
    is this possible..??
    just for clarification, for security reasons I am not using the .ico of that icon diect from hardisk in my button thats why i made a .dll of that so that the user may not be able copy my icon
    thanks in advance,

    Here is the doc
    Doc ID:      Note:99824.1
    Subject:      How to Display User-Defined Cursors and Icons in Forms
    Type:      BULLETIN
    Status:      PUBLISHED
         Content Type:      TEXT/X-HTML
    Creation Date:      23-FEB-2000
    Last Revision Date:      30-OCT-2002
    PURPOSE
    The purpose of this note is to explain how to display customized
    cursors and icons in Forms 6.0 on Windows platform (32 bits).
    Assumption is made that resources are stored in a DLL, which is
    available in the path at runtime.
    It is mandatory to store the cursor in a DLL to make it available
    with Forms: .cur cursor files cannot be directly loaded from the
    file system.
    On the other hand, icons .cio files can directly be read from the
    filesystem by Forms Runtime. However we will focus on icons which are
    stored in a DLL.
    The article is divided into two main parts:
    - how to build a resource-only DLL with Visual C++ 5.0
    - how to display the cursor and the icon in Forms 6.0
    SCOPE & APPLICATION
    The intended audience needs to have basic knowledge in Forms Builder
    and also in Visual C++ (or any other Win32 compiler).
    A typical environment is Forms 6.0, Visual C++ 5.0 and Windows NT.
    WHAT IS A RESOURCE ?
    A resource can be considered as some extra binary information that can
    be added to an executable file. Windows resources are for example icons,
    cursors, menus, dialog boxes, keyboard-accelerator tables and much more.
    Resources are usually stored in a .rc file, which is compiled by the
    resource compiler in order to provide a .res file. These compiled resources
    can then be appended to a binary executable file or a DLL.
    For instance, Visual C++ 5.0 includes a resource editor which allows you to
    draw your icons and your cursors, and store them in a resource file.
    Part I - BUILDING A RESOURCE-ONLY DLL
    Consider the following setup:
    - myicon.ico: icon file
    - mycur.cur: cursor file
    The objective of this section is to build a DLL called proj.dll which
    contains both the icon and the cursor. This operation requires several steps.
    Step 1: Create a project
    In Visual C++, select menu File->New... In the dialog box, choose the Projects
    tab and pick "Win32 Dynamic Link-Library". Fill the project name (e.g. Proj)
    and the location (e.g. c:\MyProjects). Check 'Create new workspace', check
    Win32 as target platform and click on OK.
    This creates a directory c:\MyProjects\Proj, where necessary .rc and .cpp
    files can be stored. Place the .ico and .cur files in this directory too.
    Step 2: Add a resource file to the project
    Create a proj.rc file, edit it and make sure it contains the following lines:
    testcur CURSOR DISCARDABLE "mycur.cur"
    testico ICON DISCARDABLE "myicon.ico"
    This is the resource file. Using the Project->Add to Project->Files... menu,
    select the proj.rc file and add it to the current project.
    Step 3: Add a dummy C++ file to the project
    Create a proj.cpp file, edit it and make sure it contains the following lines:
    #include <windows.h>
    extern "C"
    BOOL WINAPI DllMain (HINSTANCE hInstance, DWORD dwReason, LPVOID)
         return 1;
    This creates an entry-point in the DLL. This function does nothing but is mandatory
    to have a DLL after the build of the project.
    Add the proj.cpp file to the project as described in Step 2.
    Step 4: Choose the target type
    At this moment, you can choose if you need a 'DEBUG' or a 'RELEASE' flavour of
    the DLL. As there is not much to debug in this DLL, the 'RELEASE' flavour is
    recommended. Furthermore, it is much more compact.
    Using the Build->Set Active Configuration... menu, choose the Proj - Win32 Release
    as the active configuration.
    Step 5: Build the DLL
    Now, it is time to compile the resource file, compile the C++ file, link both
    together and build the proj.dll DLL. This operation is performed by using the
    Build->Rebuild All menu.
    After a short time, you should see "Proj.dll - 0 error(s), 0 warning(s)" in
    the Visual C++ message window. This means that the DLL was built successfully.
    Step 6: Place the DLL in the appropriate directory
    The proj.dll file is currently located under the c:\MyProjects\Proj\Release
    directory. Copy it in an appropriate directory which is reachable in the
    runtime environment path.
    Part II - USING THE ICON AND CURSOR IN THE FORM
    At this stage the DLL is created and can be used in the Form application.
    Again, this is a multi-step procedure.
    Step 1: Load the DLL in the Forms Runtime environment
    Assuming the proj.dll DLL is placed in a directory pointed by the
    PATH environment variable, below is the piece of PL/SQL code which loads
    the DLL into the Forms Runtime environment. This code can be placed in the
    WHEN-NEW-FORM-INSTANCE trigger for example:
    declare
         hDLL     ORA_FFI.LIBHANDLETYPE;
    begin break;
         --Preload the DLL so the cursor and Icons can be found.
         -- I'm assuming the DLL is in the path here
         hDLL := ORA_FFI.LOAD_LIBRARY(NULL,'proj.dll');
    exception
         when ORA_FFI.FFI_ERROR then
              for i in 1..TOOL_ERR.NERRORS LOOP
                   message(TOOL_ERR.MESSAGE(i));
              end LOOP;
    end;
    Step 2: Display the cursor stored in the DLL
    Now, you may want to change the cursor when the user clicks on
    a specific button. This is an example of code that could be set
    in the WHEN-BUTTON-PRESSED trigger:
    set_application_property(CURSOR_STYLE,'<proj>TESTCUR');
    <proj> refers to the proj.dll. Please note the < and > signs
    which are mandatory there. TESTCUR is the name of the cursor resource
    as defined in the proj.rc file.
    Step 3: Display the icon stored in the DLL
    You may also want to change the icon of an iconic button after
    some specific end-user action. The appropriate code for that is:
    set_item_property('IBUTTON',ICON_NAME,'<proj>TESTICO');
    IBUTTON is a PushButton, with the Iconic property set to Yes.
    TESTICO is the name of the icon resource as defined in the proj.rc file.
    Asim.

  • Calling dll from form 6i

    Hi
    i am using oracle 8i database and form 6i in client sever mode. Can I call a custom dll form oracle forms.
    Can any one please help , how to do it.
    Prashant

    first register the dll into registry through regsvr32.exe
    then u can u use it as Activex object and its prcedures so known as methods availabe to invoke in forms 6i
    import ActiveX Control methods and events:
    1     Choose ProgramOLE Importer to display the OLE Importer dialog box.
    2     Select the desired OLE Class, then select the desired OLE methods and events.
    3     Click OK.
    Hope it helps!
    Message was edited by:
    Fiz Dosani
    Message was edited by:
    Fiz Dosani

  • Custom Interactive adobe form as template in PMS

    Hi Experts,
    In PMS i want to use custom interactive adobe form as template instead of standard.My issue is after creating Int.Adobe form how we can call custom form instead of standard form?
    Any BADI's i have to use?
    How we can map the fields?
    Please help me.
    Regards,
    Arun.

    Hi Arun
    Step 1: Go Tcode: OOHAP_BASIC
                Enchancement Area -  AP     Print Layout
                Define your Enhancement
                Example:
                ZPRINT     XXX print form
                PMP                          PMP PDF
                SMARTFORM     Print Appraisal Documents: Old (with Smart Forms)
                STANDARD     Standard
    Step 2: Go Tcode: PHAP_CATALOG
                On your Template under Layout Tab
                Further - Print Layout -> Plug in your Custom Print Form
    You should be all set.
    Thanks
    RAjdeep

  • Oracle ADF 11g – Authentication using Custom ADF Login Form Problem

    Hi Guys,
    I am trying to Authenticate my adf application using custom Login Form.
    following this..
    http://www.fireboxtraining.com/blog/2012/02/09/oracle-adf-11g-authentication-using-custom-adf-login-form/#respond
    But my Login Page is not Loading.I think its sending request in chain.my jdev version is 11.1.1.5.Any Idea.
    Thanks,
    Raul

    Hi Frank,
    I deleted bounded code and In another Unit Test I created a simple login.jspx page and applied form based authentication but still facing same problem means something wrong in starting.
    My login.jspx page is
    <?xml version='1.0' encoding='UTF-8'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1"
              xmlns:f="http://java.sun.com/jsf/core"
              xmlns:h="http://java.sun.com/jsf/html"
              xmlns:af="http://xmlns.oracle.com/adf/faces/rich">
      <jsp:directive.page contentType="text/html;charset=UTF-8"/>
      <f:view>
        <af:document id="d1" >
          <af:form id="f1" >
            <af:panelFormLayout id="pfl1">       
              <af:inputText label="USERNAME" id="it1"
                            />       
              <af:inputText label="PASSWORD" id="it2"
                              />
              <af:commandButton text="LOG IN" id="cb1" />
              <f:facet name="footer">       
              </f:facet>                 
            </af:panelFormLayout>
          </af:form>
        </af:document>
      </f:view>
    </jsp:root>
    Don't know wht real problem is

  • Accessing custom dll from Servlet

    Hello,
    I am trying to load a custom dll in iWS4.1SP9 but I seem no able to find the dll.
    Where do I have to place it on the system? I have placed it in WinNt/system32 dir but still could not find it.
    I was sucessful in loading the dll when running as a stand-alone app. What is the difference?
    Thanks,
    Nuri

    Hi !
    In your code i think there is a simple mistake in creating the IntialContext
    for example:
    public Context getInitialContext() throws NamingException
              try{
                   System.out.println("url received here is "+url);
                   Hashtable ht= new Hashtable();
                   ht.put("java.naming.factory.initial", "weblogic.jndi.WLInitialContextFactory");
                   ht.put("java.naming.provider.url", url);
                   //return new InitialContext(hashtable);
                   return new InitialContext(ht);
              catch(NamingException namingexception)
                   Debug.log("We were unable to get a connection to the WebLogic server at " + url);
    Debug.log("Please make sure that the server is running.");
    return null;
    This intial context is dependent on Application Servers,where exactly placing your EJB's.
    In general....
    Properties prop=System.getProperties();
    prop.put....
    IntialContext context=new IntialContext(prop);
    Like this it should be....
    I hope this will solve your problem,

  • Custom Master Detail form not working In EBS

    Custom Master Detail form not working In EBS
    Hi all,
    I have two custom tables -- 1) XXX_DIE_Headers
    2) XXX_DIE_LINES
    I developed a Master Detail form based on above tables. XXX_DIE_Headers is the Master Block (Single record) & XXX_DIE_LINES is the detail block ( Multi line block ).
    Yes, I used Appstand,Template.fmb for developing this form. The Master block has three fields out of which Two are required fields and i have given initial value for them.
    As i deployed it in APPS(EBS),everything about it is working fine (insert,delete,master-detail behaviour) except querying.
    When i press F-11 , It pops up a message "Do you want to save changes you have made" Choice - yes,no,cancel.
    I don't want this message to pop up.
    The scenario is :- I open the form.( without entering ) Press F11 . The message Pops up.
    Please give me suggession on how to work it around so as form directly goes to query mode ,without popping the message.
    regards
    ravi

    It seems that you are changing a database value in your form, do you have any changes in WHEN-NEW-FORM-INSTANCE???
    what the form is trying to tell you that you have changed something, do you want to save it?
    I suggest you debug your form and see what's happening step by step.
    Tony

  • How to use a variable value set from custom dll in dataset

    Hi,
    I've inherited a SSRS report that I need to add some functionality to.  I'm setting a variable, ADAuthorizations, from a custom dll 
    ADAuthorizations is a string of all AD groups a user is a member of and I need to use this as a filter in a dataset.  I've tried using this variable as shown in the query below but I'm getting an error "The expression used for the parameter 'Unit_Permissions"
    in the dataset "Unit_Permissions" includes a variable reference.  Variable values cannot be used in query parameter expressions."  Is there another way I should go about doing this?   
    = "SELECT UnitCode, UnitName " &
      "FROM dbo.VW_Unit_Permissions " &
      "WHERE UserId in (" & Variables!ADAuthorizations.Value & ")" &
      "ORDER BY UnitName "
    Thanks,
    Robert

    Please follow below steps,
    1. Create a custom code to get all the users in an array,
    Public Function getUserName() As String()
       dim Users(1) as string
       Users(0) = "user1"
       Users(1) = "user2"
    return Users
    End Function
    2. Create dataset using the below query,
    SELECT UnitCode, UnitName FROM dbo.VW_Unit_Permissions ORDER BY UnitName
    3. Add a parameter @User and set properties : (Datatype as text, Allow multiple values, Visible)
    Under "Available Values" select specify values and set the label and values as expression.
    =Code.getUserName()
    4. Similarly for "Default values" as
    =Code.getUserName()
    5. Go to tablix properties and select the filter tab and set the properties as below,
    - Select Expression "UserId" i.e =Fields!UserId.Value
    - Operator as "IN"
    - Value as =Parameters!User.Value
    6. Preview the report.
    Regards, RSingh

  • Custom New/Edit Forms not mobile supported

    Hi All - I have created custom New/Edit Form in SPD. When I am trying to browse these in mobile view - It is giving error: The following error is not mobile supported: /lists/<listname>/<customnewform.aspx>
    In PC view it opens the same URL properly with no issues.
    Also,
    In mobile view - When click on New Item opens Default OOTB New/Edit Forms and not the custom forms.
    In PC View - Since I set CustomNew/EditForm as default. Click on New Item opens Custom forms.
    How can I set the default - my custom form for mobile view?
    Please suggest.
    Regards,
    Khushi
    Khushi

    Hi Khushi,
    SharePoint will detect the device you are using to access SharePoint site and determine the view it displays. By default, you are using mobile view in a mobile device.
    On mobile device, please go to site settings > switch to PC views, see if custom list view works.
    If it works, we could disable mobile view by executing command :
    disable-spfeature -identity MobilityRedirect -url
    http://sp/sites/sitename
    More options to deactivate mobile view:
    http://academy.bindtuning.com/deactivate-sharepoint-2013-mobile-view/
    Please also refer to how to customize mobile list view and form pages:
    http://msdn.microsoft.com/en-us/library/office/bb861936(v=office.14).aspx
    Regards,
    Rebecca Tu
    TechNet Community Support

  • HTML5 DOCTYPE in custom WPC web form

    Hello,
    we are implementing a custom WPC web form along following SAP documentation:
    http://scn.sap.com/docs/DOC-22253
    The new web form incorporates JS-Scripts from an open source project (Galleria.io).
    However, this JS-Application requires a HTML5 DOCTYPE, which needs to bedefined in the root of an HTML document. At runtime of the web form the HTML5 DOCTYPE is missing and the JS-Application is not properly running.
    I found following SAP note "1713259 - PRT support for HTML5 doctype" which focuses on this topic. It mentions two possible options:
    - Enable HTML5 DOCTYPE for entire portal environment,
    - ... or enable HTML5 DOCTYPE only for custom portal applications.
    However we only want to enable HTML5 DOCTYPE for the WPC component runtime.
    Is there any option to enable this via configuration in WPC... or any other ideas?
    Best regards
    Mario

    Hi Mario!
    You could personalize your form adding this at the begining of your XLST WPC:
    <meta http-equiv="X-UA-Compatible" content="IE=edge"> <!-- for example -->
    Also, you could set in your base iview portal template the document browser mode:
    Browser Document Mode – How to set the IE Compatibility View from server side.
    This forces use a determinated browser in portal.
    Hope this helps,
    Kind regards!

  • Customizing Workflow and Forms

    Hi
    I have a Approval Workflow with 3 outcomes: Approve: Revise and Reject. I added another outcome such as Revise. 
    I find by default on one Approval Form in the Workflow using SPD. I need to add another Form which will send back the Comments to the Initiator to Revise the form and resend it back to the Approver.
    Kindly let me know for any pointers. 
    Thanks
    Regards
    Santosh
    Santosh

    Hi,
    According to your post, my understanding is that you want to create an form to get the users’ comments for the initiator approval.
    Per my knowledge, it’s by design that we can’t directly modify the approval task form in SharePoint 2013.
    As a workaround, you can create a new task content type to apply it to the task process action in SharePoint workflow.
    Also, you can try to create a new list to add user information and custom the list form, create a SharePoint 2013 Approval Workflow for this new list to assign the tasks to the corresponding users, then you can get their corresponding users’ comments for
    the initiator approval.
    For more information, you can refer to:
    http://blogs.msdn.com/b/sharepointdesigner/archive/2012/09/14/how-to-manipulate-the-task-form-with-sharepoint-designer-for-new-task-actions.aspx
    http://jamilhaddadin.com/2011/12/03/implementing-workflow-using-infopath-2010-and-sharepoint-designer-2010/#3
    https://www.youtube.com/watch?v=ADc-0VoS4ZA
    Thanks,
    Yumi Fu
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]

  • Way of customizing oracle forums without custom.pll and form personalizatio

    HI,
    I know that form customization is done thru custom.pll and form personalization.what about customization of events which are not found in custom.pll.how can we take care of those events.

    You will have to modify the specific trigger inside the original fmb, and with every patch, redo your changes again. But i don't think thats supported by oracle (maybe you get a more detailed answer in the eBusiness-forums OA Framework )

  • Customized Bulk Action Form

    I saw that there are multiple unanswered questions about this, so I am assuming the answer is no but wanted to give it a shot. Is there any way to customize the Bulk Action form besides building an entirely different workflow? For example, I want to remove certain fields and add a checkbox which would save a variable into the workflow. I see bulkop.jsp, which instantiates BulkOpForm, so I gather it's not a form that can be modified. Is there maybe a point where I could merge into the standard bulk process after giving my own frontend? I'd rather not resort to reimplementing the file parsing and all that.

    If bulk action is launched by user who has 'Customer - Tabbed User Form' as User Form, this form will be applied
    You can specify at your form what workflow to launch. Just add field
    <Field name='viewOptions.Process'>
    <Expansion>
    <s>Customer - Update Workflow</s>
    </Expansion>
    </Field>

  • CALL dll FROM form 6i

    Hi I have to call a dll which returns some message by accepting a file name as input.
    The plateform is Oracle form 6i deployed on oracle AS , and Oracle 8i DB as backend.
    Kindly suggest , what can be best startegy-
    call dll using form 6i in client server .
    call dll using 3 tier deployement.
    or make an ASP or JSP application
    Please suggest.
    Prashant

    Calling DLL using form 6i
    Regards,

  • Customized Adobe interactive form as appraisal template

    Hi Experts,
    We want to use customized Interactive adobe forms as appraisal template for appraisee,same should be forwarded to appraiser to his MSS UWL.Can we do this?
    Also can we change the web layout from BSP to Webdynpro Abap?
    Please help me to solve this issue.
    Regards,
    Arun.

    Hi All,
    In web layout i am getting only 'STANDARD' option.
    In print layout i am getting standard pdf,instead of this i want to use custom adobe interactive form.How this can be done?
    Also the same adobe form i want to get in ESS and MSS.Is it possible?
    Please help me.
    Regards,
    Arun.
    Edited by: ARUN.NAREIN on Dec 1, 2011 11:04 AM

Maybe you are looking for

  • Problems with FCP and Nvidia GeForce 8600M GT video card

    Not sure if this should be in the MacBook Pro forum or this one... I am having trouble with the GeForce 8600M GT video card while editing in final cut pro (and after effects). I have talked with numerous people at applecare, but they say that they ar

  • HELP! Empty iPod!

    I downloaded several more songs from my iTunes library to my iPod nano, and it came very close to being full. A message popped up on the screen about "syncing" my iPod, not sure what it was. I must have messed around with my playlists too much, becau

  • SMP 2.3 sp4 Synchronization in the native application on HTTPS

    Hi I have a big problem with synchronization on port 443 / https. This is the architecture. At the Relay Server I have installed a trusted certificate in IIS. I do not know what I need to use the certificate in SMP and application code.

  • Navigation problem with back button in module pool

    Hi everyone, I have a scenario in module pool programming in which i need help. I have an i/p filepath screen where the user inputs his/her file and clicks on validate button provided in the toolbar. After that it goes to the next screen which displa

  • Where oh where did my audio go?

    I recently purchased a Presonus Firebox for v/o work. I was trying to cut audio in GarageBand to import into FCP. After a few days (and many posts) I was finally able to get a signal to GB. Now that I have that issue solved, I'm having issues with au