Importing Vb Dll in Oracle Forms 6i

If any one have idea importing vb dll in oracle forms 6i. If any one have idea to Use ORA_FFI package or any other way.

The Forms Builder Help is the best source of information. It has plenty of examples too, like this one I copied from the Help:
/* Find foreign library handle for
   a given library name */
BEGIN
   libhandle := ora_ffi.find_library
            ('mylib.dll');
END;

Similar Messages

  • Import OLE methods in Oracle Forms 6i

    Hi,
    I am experiencing some problems to import OLE methods in Oracle
    Forms 6i.
    In Forms 6i, I select Program->Import OLE Library Interfaces
    menu option. After the Import OLE Library Interfaces dialog box
    appears, I can see the OLE Class that I would like to access
    but none of its methods or events.
    Why the methods and events do not appear?
    Thanks in advance.

    If all you want to do is extract the documents from the Long Raw columns, you can use UTL_FILE to extract the binary content to the file system. You would have to loop through the records in your table to extract each file. Take a look at article Export BLOB Contents Using UTL_FILE that I googled. Granted, this article discusses exporting a BLOB not a Long Raw, but the concept is the same and you should be able to modify the code sample in the article to work with your Long Raw columns.
    Hope this helps,
    Craig B-)
    If someone's response is helpful or correct, please mark it accordingly.

  • Error while importing java class into oracle forms 10g

    Hi
    I have generated a web service client using jdeveloper 10g. It consists of complex type methods. I am trying to import the class files using java importer in oracle form 10g. I am able import all of them successfully except one. That one is the main method. Please see the error and suggest me how to overcome this error.
    Exception occurred: java.lang.NoClassDefFoundError: oracle/jdeveloper/webservices/runtime/WrappedDocLiteralStub
    Thanks in advance

    Do you see oracle/jdeveloper listed in "Import Java Classes" when you try to import?
    If not, make sure you add C:\DevSuiteHome_1\jdev\lib\jdev.jar to FORMS_BUILDER_CLASSPATH in registry
    Also excetion indicates: oracle/jdeveloper/webservices/runtime/WrappedDocLiteralStub
    If you typing it - type: oracle.jdeveloper.webservices.runtime.WrappedDocLiteralStub

  • Importing Access Data into Oracle Forms through Forms 10g

    Sirs,
    How can i import the data of Access file into Oracle tables.
    i have the tables in access of approx 10 how can it be imported in oracle with same data structure.
    ThanX in advance

    DECLARE
    kAccess client_ole2.obj_type;
    kdb client_ole2.obj_type;
    ktables client_ole2.obj_type;
    krec client_ole2.obj_type;
    kcurr client_ole2.obj_type;
    begin
    kaccess:=client_ole2.create_obj('Access.application);
    kdb:=client_ole2.invoke_obj(kaccess,'open','D:\acc.mdb');
    ktables:=client_ole2.get_obj_property(kdb,'tables',1);
    //then process teh data of the table which is at 1 using another
    krec:=client_ole2.invoke_obj(ktables,'count');
    for s in 1 .. krec
    loop
    /// code for sinserting the current records data into the oracle tables.
    kcurr:=client_ole2.get_obj_type(ktables,'recordset',s);
    // then access each filed in kcurr and then insert in oracle table
    end loop;
    end;
    the above code is not tested your can alter any syntatical error if any.

  • Need to Call VB DLL from Oracle forms 6i.  Please help.

    Dear Friends,
    I am having a DLL which is created in VB. DLL having one function, that function having some IN parameters and it will return Char or Number.
    Please tell me how to call, send IN Parameter and Get out value.
    Advance Thanks.
    Best Regards,
    S.Mariappan.

    I am using ORA_FFI to register the library sucessfully, but getting error "PDE-DFF004 Can't find function clstest.ShowPopup in library C:\temp\testdll.dll", when register the function.
    Has anyone successfully call a VB DLL using ORA_FFI.
    Thanks.
    -- Register the library
    dll_handle := ora_ffi.load_library('C:\temp\','testdll.dll');
    -- Register the function and parameters
    test_handle := ora_ffi.register_function(dll_handle, 'clstest.ShowPopup', ora_ffi.C_STD);
    ora_ffi.register_return(test_handle, ora_ffi.C_INT);

  • Oracle form 6i in client server mode to call web service

    Hi,
    I am using oracle form 6i running in client server mode. My database version is 8.1.7.4. Now I am required to call an external web service. Is it possible to call web service without the existence of application server or web server? Please help!

    I have tried the method illustrated by the Form 10g Demo. However, when I select the Import Java Classes from the pull down menu, I have got the following error:
    PDE-UJI002 Unable to find the required Java Importer Classes.
    My Oracle Form version is as follows:
    Forms [32 Bit] Version 6.0.8.19.2 (Production)
    Oracle8i Enterprise Edition Release 8.1.7.0.0 - 64bit Production
    With the Partitioning option
    JServer Release 8.1.7.0.0 - 64bit Production
    Oracle Toolkit Version 6.0.8.19.1 (Production)
    PL/SQL Version 8.0.6.3.0 (Production)
    Oracle Procedure Builder V6.0.8.17.0 Build #863 - Production
    PL/SQL Editor (c) WinMain Software (www.winmain.com), v1.0 (Production)
    Oracle Query Builder 6.0.7.1.0 - Production
    Oracle Virtual Graphics System Version 6.0.5.38.0 (Production)
    Oracle Tools GUI Utilities Version 6.0.8.11.0 (Production)
    Oracle Multimedia Version 6.0.8.18.1 (Production)
    Oracle Tools Integration Version 6.0.8.18.0 (Production)
    Oracle Tools Common Area Version 6.0.8.18.0
    Oracle CORE Version 4.0.6.0.0 - Production
    Please help !

  • Running oracle form 6i or reports from 9iAS Portal

    Where I can find the most accurat and deatil information how to
    run form6i or reports from 9iAS Portal.
    How to integrate Designer developed forms, reports ,sql scripts
    web forms from designer 6i into
    9iAS Portal.Do I have to go to OC4J.
    or is there other solution?
    Thanks For All Help I can get.

    I have tried the method illustrated by the Form 10g Demo. However, when I select the Import Java Classes from the pull down menu, I have got the following error:
    PDE-UJI002 Unable to find the required Java Importer Classes.
    My Oracle Form version is as follows:
    Forms [32 Bit] Version 6.0.8.19.2 (Production)
    Oracle8i Enterprise Edition Release 8.1.7.0.0 - 64bit Production
    With the Partitioning option
    JServer Release 8.1.7.0.0 - 64bit Production
    Oracle Toolkit Version 6.0.8.19.1 (Production)
    PL/SQL Version 8.0.6.3.0 (Production)
    Oracle Procedure Builder V6.0.8.17.0 Build #863 - Production
    PL/SQL Editor (c) WinMain Software (www.winmain.com), v1.0 (Production)
    Oracle Query Builder 6.0.7.1.0 - Production
    Oracle Virtual Graphics System Version 6.0.5.38.0 (Production)
    Oracle Tools GUI Utilities Version 6.0.8.11.0 (Production)
    Oracle Multimedia Version 6.0.8.18.1 (Production)
    Oracle Tools Integration Version 6.0.8.18.0 (Production)
    Oracle Tools Common Area Version 6.0.8.18.0
    Oracle CORE Version 4.0.6.0.0 - Production
    Please help !

  • Integrate XMLP APIs with Oracle Forms

    Hi,
    I want to integrate XML Publisher's APIs with Oracle Forms. I have done the following to achieve this.
    1. Built a Java class to
    a.Handle the Data extraction from Database using the data template
    b.Convert the RTF to XSL-FO format
    c.Render the report by merging the xsl and the data xml files
    2.Created a jar file of the java class file
    3.Imported these classes into Oracle Form, using Jimporter
    All works fine, when I execute the form in a client-server architecture.
    But am getting the 105101 non-ORACLE exception if I run the form, when the form is deployed in an Application Server. I have set the classpath to all the xmlp APIs (xdocore.jar, xmlparserv2-904.jar, and the jar of my java class) in the .env file and also in the system's classpath.
    Could someone please clarify what else has to be done to set this right. Also, as I am relatively new to Java, can anyone clarify, the java class what I have used should be a servlet in case my Form is accessed via an Application Server or just the java class would serve the purpose.
    Thanks,
    Suresh

    Hi,
    I was able to resolve this, after I went through few threads in the same forum. I set the classpath to i18nAPI_v3.jar, collections.jar, versioninfo.jar files in the .env file apart from the xdocore.jar and xmlparserv2-904.jar.
    Now am able to execute the form and everything works fine!!
    Thanks,
    Suresh

  • C# DLL Calls in Oracle Forms 6i

    Dear all,
    I want to call a C# ( C Sharp) functions in Oracle Forms 6i , How it is possible , If any body knows give me a suggestion...
    C# Codes
    using System;
    using System.Collections.Generic;
    using System.Text;
    namespace MathFunctions
    public class AddClass
    public static int Add(int a, int b)
    return (a + b);
    same codes I want to call using Oracle Forms 6i . ... ( AddClass.Add(10,20) ) value should return 30.
    C# Developer created the DLL file and given to me , I am not able to attach the DLL , anybody interest I can send the DLL through E-mail ,
    Regards,
    Veera.
    [email protected]

    The Forms Builder Help is the best source of information. It has plenty of examples too, like this one I copied from the Help:
    /* Find foreign library handle for
       a given library name */
    BEGIN
       libhandle := ora_ffi.find_library
                ('mylib.dll');
    END;

  • How to import data from CSV file into a table by using oracle forms

    Hi,
    I have a CSV file and i want to insert in oracle database in a table by using a button in oracle forms.
    the user can select CSV file by using open dialog .
    can any one help me to find method to make import and select file from the client machine ?
    thx.

    1. create table blob
    CREATE TABLE IB_LOVE
      DOC          BLOB,
      CONTRACT_NO  VARCHAR2(20 BYTE)                NOT NULL
    )2. use the code below to insert:
           INSERT INTO ordmgmt.ib_love
                       (contract_no, doc
                VALUES (:control.contract_no_input, NULL
           lb$result :=
             webutil_file_transfer.client_to_db (:b2.file_name, v_file_blob_name, v_col_blob_name,
                                                 'CONTRACT_NO = ' || :control.contract_no_input);
           :SYSTEM.message_level := 25;
           COMMIT;
           :SYSTEM.message_level := 0;3. use the code below to download
         if :control.CONTRACT_NO_INPUT is not null then
              vboolean :=   webutil_file_transfer.DB_To_Client_With_Progress(
                               vfilename,  --filename                       
                              'IB_LOVE', ---table of Blob item                       
                              'DOC',  --Blob column name                       
                              'CONTRACT_NO = ' || :CONTROL.CONTRACT_NO_INPUT, ---where clause to retrieve the record                       
                              'Downloading from Database', --Progress Bar title                       
                              'Wait to Complete'); --Progress bar subtitle  client_host('cmd /c start '||vfilename);
              client_host('cmd /c start '||vfilename);                 
         else
              errmsg('Please choose contract no');
         end if;4. use the code below to open file dialog
    x:= WEBUTIL_FILE.FILE_OPEN_DIALOG ( 'c:\', '*.gif', '|*.gif|*.gif|', 'My Open Window' ) ;
    :b2.FILE_NAME:=X;

  • Using Oracle Forms Importing Data From SQL Server into Oracle Tables.

    Dear All,
    We are using Oracle Forms 10g in windows XP and having OAS 10g and Oracle database 9i.
    How can we import data from SQL Server 2005 into Oracle tables using Oracle Forms?
    Thanks & Regards
    Eidy

    I have no idea what "Oracle Hetrogenius Services" is, so I can't help you with that, sorry.
    SQL Developer might also assist you. SQL Developer can connect to SQL Server as well as Oracle and has some tools for migration. See the documentation for details:
    http://download.oracle.com/docs/cd/E12151_01/doc.150/e12156/toc.htm
    For additional help on using SQL Developer for this task, please consult Support or the SQL Developer forum: SQL Developer
    Hope this helps,
    Jacob

  • Import Java Classes - How manipulate Java List in Oracle Form

    Good afternoon,
    I call a Web Service from Oracle Application Server 10g Forms Services but the object returned by the method is a java list. I created a stub/skeleton with JDeveloper and the communication between WebService and Oracle form works fine. The problem is how to desencapsulate the list within ORA_JAVA. I imported java.util.List it does not solve my problem.
    Method called: public List DecryptToken(Context context, String token) throws Exception
    This list will have in List.get(0) -> Context object
    List.get(1) -> String
    List get(2) -> String
    List get(3) -> Param []
    Thanks for your help.
    best regards,
    TT

    hi,
    try java stored procedure loop ur java list and get data in "type table" of requried data type
    and use it as u desired.
    piyush

  • Import  oracle forms into portal

    Can anyone please give me some pointers in importing forms created by orcale forms into portal?

    There is no direct way to import your Oracle Forms into Oracle Portal, as the Forms within our Portletbuilder components are of a smaller, simpler functionality set than that provided within Oracle Forms.
    What I would recommend is to invoke your Oracle Forms from Portal by integrating Forms with Oracle Single-Sign-On (SSO). Integration of Oracle Forms with Oracle SSO is described in Chapter 5 of the Oracle9iAS Forms Services Deployment Guide, available here on OTN:
    http://otn.oracle.com/products/forms/pdf/B10170_01.pdf
    Hope this helps.
    Best Regards,
    Harry

  • About importing oracle.forms.properties ...

    Dear all,
    I do have some problems when importing these:
    package oracle.forms.demos;
    import oracle.forms.properties.ID;
    import oracle.forms.handler.IHandler;
    import oracle.forms.ui.CustomEvent;
    import oracle.forms.ui.VBean;
    Here are the problems' details:
    \cmp\FDialogPJC.java:5: package oracle.forms.properties does not exist
    import oracle.forms.properties.ID;
    ^
    \cmp\FDialogPJC.java:6: package oracle.forms.handler does not exist
    import oracle.forms.handler.IHandler;
    ^
    \cmp\FDialogPJC.java:7: package oracle.forms.ui does not exist
    import oracle.forms.ui.CustomEvent;
    ^
    \cmp\FDialogPJC.java:8: package oracle.forms.ui does not exist
    import oracle.forms.ui.VBean;
    ^
    \cmp\FDialogPJC.java:10: cannot resolve symbol
    symbol : class VBean
    location: class oracle.forms.demos.FDialogPJC
    public class FDialogPJC extends VBean
    ^
    \cmp\FDialogPJC.java:13: cannot resolve symbol
    symbol : class IHandler
    location: class oracle.forms.demos.FDialogPJC
    private IHandler mHandler;
    ^
    \cmp\FDialogPJC.java:14: cannot resolve symbol
    symbol : class ID
    location: class oracle.forms.demos.FDialogPJC
    private static final ID SHOWFILEDIALOG = ID.registerProperty("showfile
    dialog");
    ^
    \cmp\FDialogPJC.java:15: cannot resolve symbol
    symbol : class ID
    location: class oracle.forms.demos.FDialogPJC
    private static final ID FILENAME = ID.registerProperty("filevalu
    e");
    ^
    \cmp\FDialogPJC.java:16: cannot resolve symbol
    symbol : class ID
    location: class oracle.forms.demos.FDialogPJC
    private static final ID FILECHANGEEVENT = ID.registerProperty("filechan
    geevent");
    ^
    \cmp\FDialogPJC.java:34: cannot resolve symbol
    symbol : class IHandler
    location: class oracle.forms.demos.FDialogPJC
    public void init(IHandler handler)
    ^
    \cmp\FDialogPJC.java:40: cannot resolve symbol
    symbol : class ID
    location: class oracle.forms.demos.FDialogPJC
    public boolean setProperty(ID pid, Object value)
    ^
    \cmp\FDialogPJC.java:14: cannot resolve symbol
    symbol : variable ID
    location: class oracle.forms.demos.FDialogPJC
    private static final ID SHOWFILEDIALOG = ID.registerProperty("showfile
    dialog");
    ^
    \cmp\FDialogPJC.java:15: cannot resolve symbol
    symbol : variable ID
    location: class oracle.forms.demos.FDialogPJC
    private static final ID FILENAME = ID.registerProperty("filevalu
    e");
    ^
    \cmp\FDialogPJC.java:16: cannot resolve symbol
    symbol : variable ID
    location: class oracle.forms.demos.FDialogPJC
    private static final ID FILECHANGEEVENT = ID.registerProperty("filechan
    geevent");
    ^
    \cmp\FDialogPJC.java:21: cannot resolve symbol
    symbol : method getClass ()
    location: class oracle.forms.demos.FDialogPJC
    ClassLoader cl = getClass().getClassLoader();
    ^
    Any other advice towards these?
    Thks & Rgds,
    Edward

    Fnd the forms.jar file in the system. Make a note of the complete path For example if the forms.jar file is in C:\abcd\xyz\ , the path of this file is C:\abcd\xyz\forms.jar .
    Open the server.xml file which you can find under C:\Sun\AppServer7\domains\domain1\server1\config and add the above PATH like this
    server-classpath="C:\abcd\xyz\forms.jar;C:/Sun/AppServer7/lib/appserv-rt.jar ......
    -Restart the Application Server and run your application
    Hope this helps
    Thanks
    Srinivas

  • Importing oracle forms and reports into workbenches

    Good day I am trying to understand the correct method of
    Using workbenches how does one import oracle forms and reports.
    Within my work group we think jsp and java are the technology being used.

    Hi Rajesh,
    But i have not installed IAS at all. I have only Forms and Reports 10g and Oracle database installed. As you said it only save on IAS, but can we save it on local machine. Is there any other alternative.
    Again my second issues is --> I want to remove Mail option and rename Cache option to PDF from Destype combo box which appears at run time.
    Any idea how we can do this?

Maybe you are looking for