Using OCX, OLE or DDE with forms

Hi,
In the near future, I will have to interface with a program written in Visual Basic. This program will have to send me a command to a form already open. My form will have to capture the parameters and do an action (ex. calling another form).
If someone had experience with something like this, it will be gentle to send me information about that.
Thanks

You can access the Oracle Forms demos from the "Sample Code"
icon at the top of this page.
http://otn.oracle.com/sample_code/products/forms/index.html
(look for the demos for the 6i version).
There are also some notes on http://metalink.oracle.com about using OCXs.
Note that those won't work when you move your Forms application to the Web.

Similar Messages

  • OLE and DDE in forms 6i

    Hello,
    Where can I find good materials(Tutorials) on how to use OLE and DDE in Forms6i?
    Adios..

    The best location to find anything related to forms & reports id the help itself.
    U wont find many books in market on forms & reports,the reason is ,the help is so good(thanks to Oracle Corp) that we dont need any external material.
    -Nilesh

  • Using Oracle OLE DB provider (with ADO) generates error: ORA-01843 while using date

    Were using OLE DB provider in order to connect to our Oracle 9i database. When executing the following query in a SQL Plus window I will get the correct results:
    SELECT gum_seu_syo_id, seu_userid, seu_first_name, seu_last_name
    From group_user_mapping, security_users
    Where gum_seu_syo_id = seu_syo_id
    and gum_term_date > '8/19/2002'
    and gum_seg_syo_id = 11
    However if will execute the same query from the our application (VB using ADO) I will get the following error:
    ORA-01843: Not a valid month
    Checking with our Oracle DBA we made sure my registry is correct and includes the correct format under HEKY_LOCAL_MACHINE\SOFTWARE\ORACLE\ORACLE_HOME,
    where the key is NLS_DATE_FORMAT (of type REG_EXPAND_SZ) with the value:
    MM/DD/YYYY HH:MI:SS AM
    I also run the following query in a SQL Plus window:
    select sysdate from dual;
    and got the following result:
    08/19/2002 10:27:20 AM
    which shows that the data format is correct.
    Trying to switch between the month and day in the query (put '19/8/2002') worked from the application but generated ORA-01843: Not a valid month in the SQL Plus window.
    Any ideas?

    try using
    to_char function
    for eg.
    select * from emp where to_char(hiredate,'dd/mm/yy') > '20/3/83'.
    Jagriti

  • Using Windows Vista and IE7 with Forms based applications

    A user has Vista & iexplorer 7 installed on their machine and when they attempt to access the Professional Buyer responsibility (forms based) they receive an error message stating that 'Internet Explorer has stopped working'. When they attempt the same thing using a machine with Windows XP Pro and IE6 they do not have a problem. Could anyone tell me if they have experienced a similar issue and how do you work around it whilst still using Internet Explorer?? Also we are using
    j-initiator version 1.3.1.18

    Microsoft IE 7 on Vista is certified with Apps 11i provided that you meet the following requirements:
    - Applications 11.5.10 plus Maintenance Pack 11.5.10 CU2 or later
    - Oracle Developer 6i Patchset 18 (6.0.8.27.x) or later (Metalink Note 125767.1)
    - Oracle Applications Technology 11i.ATG_PF.H Rollup 4 (RUP 4) (patch 4676589) or later
    - Microsoft Vista desktop clients running Internet Explorer 7
    - Sun Java plug-in (JRE) 1.5.0_12
    Windows Vista + IE7 Certified with E-Business Suite
    http://blogs.oracle.com/stevenChan/2007/11/windows_vista_ie7_certified_wi.html

  • Unable to open movies in certain sites using Firefox 4, no problem with former versions

    As a almost daily visitor of the site Bigfun.be I got a crash every time I wanted to open a movie, since I started using Firefox 4.
    After some automatic updates, the crashes disappeared.
    But it's still unable to open movie files. There is a message which says that the file is being loaded, but it isn't.
    I've contacted the webmaster, he knows about the problem and suggested me to uninstall the version 4 and to go back to the 3.6 version.

    I went to that site and played a couple of movies without a problem. Cat & Budgie and Horse on the back seat of a car...lol.
    Have a look at your firewall logs. Is the firewall blocking '''plugin_container.exe''' by any chance? That utility is part of Firefox and acts like a kind of sandbox to isolate plugins which crash without crashing the whole browser. But it does need Internet access. Generally speaking, what often happens is the firewall throws up an alert to which the user doesn't respond. So the firewall 'assumes' it's a threat and blocks it.
    Can you go to this site: http://www.liveleak.com/ and click on any video. Is the player visible even if it doesn't play?

  • Using DDE with Oracle Forms for uploading Excel data

    Hi There,
    I have used DDE in Forms to upload data from Excel.
    The code which I have implemented is as follows:
    DECLARE
    iApplication pls_integer;
    iConv pls_integer;
    v2Buffer varchar2(100);
    v2text varchar2(100);
    nLength number;
    nTransactionId number;
    /* these varrays are defined in a package specification*/
    vExcelProduct p_upload_functions.prd_no:=p_upload_functions.prd_no('1');
    vExcelVpc p_upload_functions.vpc:=p_upload_functions.vpc('1');
    BEGIN
    /*Open an DDE Server application*/
    iApplication:= DDE.App_Begin('C:/excel.exe ‘||v2fileName,DDE.App_Mode_Minimized);
    iConv:=DDE.Initiate('EXCEL',v2filename);
    BEGIN
    /* first row of the sheet used for title . So loop is started from 2*/
    /* Reading a row*/
    FOR I IN 2..10000
    LOOP
    /* Reading columns of a particular row*/
         FOR J IN 1..n / * n be the number of columns in excel sheet */
         LOOP
    /* generate the cell no of excel sheet from where data will
    be fetched- R is used for row no and C is foe column no*/
         v2text:='R'||I||'C'||J||':'||'R'||I||'C'||J;
    /* Store the value in variable */
    dde.request(iConv,v2text,v2Buffer,dde.cf_text,1000);
    /*Stores values in the varrays for a row*/
    IF j=1 THEN
    /* for first column*/
    nLength:=length(v2Buffer);
    vExcelOrg(I-1):=To_Number(substr(v2Buffer,1,nLength-2));
         /* for second column */
    ELSIF j=2 THEN
    nLength:=length(v2Buffer);
    vExcelProduct(I-1):=substr(v2Buffer,1,nLength-2);
    END IF;
    END LOOP;
    /*Exit the loop when it encounters an empty row*/
    IF vExcelProduct(I-1) IS NULL AND vExcelOrg(I-1) IS NULL THEN
    EXIT;
    END IF;
    /* Otherwise extending the varray*/
    vExcelProduct.extend;
    vExcelOrg.extend;
    /* Reading the next row*/
    END LOOP;
    /* Now close the DDE application */
    DDE.app_end(iApplication);
    DDE.terminate(iConv);
    EXCEPTION
         WHEN Others THEN
         DDE.app_end(iApplication);
    DDE.terminate(iConv);
    RAISE Form_Trigger_Failure;
    END;
    I am facing a problem, I will appreciate if you can give some insights to help.
    We have been having problem logging in to application when there are a number of EXCEL processes running (17-18) on the server. Users that have already logged in have no problem, but new login will get "FRM-92101 There was a failure in the Forms Server during startup". The Forms Server itself is running fine. After we killed a few EXCEL processes, new users will be able to login.
    Thanks and regards,
    Mandeep

    this is a trial method and right now i am trying to read only the first cell of the excel sheet and return that value and show it in the UI when the user presses the button but this code is not returning any value.
    METHOD read_excel.
      INCLUDE ole2incl.
      DATA: filename(128) TYPE c,
                excel TYPE ole2_object,
                cell TYPE ole2_object,
                workbook TYPE ole2_object,
               pfile TYPE localfile VALUE
               'C:\Documents and Settings\I047323\Desktop\new.xls',
                name TYPE string.
      CREATE OBJECT excel 'EXCEL.APPLICATION'.
      SET PROPERTY OF excel 'VISIBLE' = 0.
      CALL METHOD OF excel 'WORKBOOKS' = workbook.
      CALL METHOD OF workbook 'OPEN'
        EXPORTING  #1       = pfile.
        CALL METHOD OF excel  'CELLS' = cell
          EXPORTING
            #1      = 1
            #2      = 1
        GET PROPERTY OF cell 'VALUE' = value.
      CALL METHOD OF workbook 'SAVE'.
      CALL METHOD OF workbook 'CLOSE'.
      CALL METHOD OF excel 'QUIT'.
      FREE OBJECT excel.
    ENDMETHOD.
    Edited by: neelima v on Jan 14, 2008 4:06 PM

  • Using OCX controls in oracle forms 6

    Hi,
    I wanted to use the ocx control (filenet idmviewer control) in my forms. I imported the control using the ole importer. But i dont know how to reference it or so to say, how to use it to access my documents in the repository.
    Any help would be very much appreciated.
    Thanks

    Hi,
    Thanks for your info. I tried that. But i could not complete. It gives me compilation errors.
    If you have any sample apps. can u forward it to me?
    Balaji

  • Can I use OCX for VB with Dev6

    Hi
    I am form 4.5 developer. I've never used dev 6.
    I am just wondering that I can use OCX with Dev6 which is
    specially developed for visual basic.
    Hamid
    null

    Unfortunately, this is not true either. For some reason, when you export to PDF, and open the PDF on a PC, it often says it cannot read the font and you get a PDF that looks like it's very sick.
    I'm not sure exactly how PDF works, but I don't know why it needs to be able to read a font correctly? I thought PDFs were readable on anything because it basically printed the document on a page, which is why you cannot edit it.

  • How to use SAP Business Workflow along with Interactive Adobe Form

    Hi Experts,
    I am working on SAP Business Workflow since last couple of years.
    Now i have got a new Project where client wants to use SAP Business Workflow along with Interactive Adobe Form.
    I am new to Interactive Adobe Form and Portal thing and i really dont know from where to start.
    We have one central system and 2 local systems. when we do create a Material document using adobe form workflow should trigger and notification should go to group of users who can approve or reject it, once they approve it document gets created in central system and replicated to 2 local system through ALE.
    In the Local system they do extend the document to different plants, again workflow triggers and notification will go to Managers inbox for the approval.
    Once the final approval done data should go and store in SAP.
    Now here i have couple of Questions.
    1. In SAP R3 Business workflow when i execute the workitem from the inbox i do get the application screen ( i.e. MM01 MRP View ) , what is going to happen if the same case i have with Adobe form?? is it possible or do we have to design a adobe form and we will have to map the fields with backend application??
    2. Do i have to maintained 3 separate Org Structure for 3 different system or using UWL  i can manage the show
    3. Untill final submit is not done, where the application data is going to be, is there any kind of buffer that we will have to keep it or its there with XML file??
    Please help me out.
    Thanks in Advance.
    Regards,
    Manoj

    Hi Manoj,
    Welcome to ADOBE Forms related Workflow Development. Well, here are my answers.
    1) You can go for either go for ISR based development or WD development with Adobe form. In both the cases you can achieve your requirement. Yes, you will have to design the Adobe form and bind the fields to backend.
    2) Am not clear or your System landscape to advice you in these regards.
    3) Until final Submit/Approval is done, the data can be stored in WORKFLOW CONTAINERS or XML FORM(If you go for ISR based Development).
    Hope this helps.
    Regards
    <i><b>Raja Sekhar</b></i>

  • Can I create a PDF with form controls using JAVA?

    I have a web site running on linux (Ubuntu). I'm programming in Java. Presently I use open office to create PDFs with form controls (checkboxes, lists and text fields). I'd like to be able to create in my program (Java) with form controls. JasperReports is not good because I don't see a way to create form controls. Help!!!

    I am not sure what this has to do with the Acrobat SDK, as we don't have a version of SDK for Linux (or Java).

  • How to create PDF with Form Builder (T-Code:SPF) and how to use it?

    How to create PDF with Form Builder (T-Code:SPF) and how to use it? Is there anyone can show me some doc. or PA material ? << removed >>  Thank you very much!!
    Edited by: Rob Burbank on Nov 11, 2010 1:04 PM

    PDF forms also known as Adobe From or Interactive Forms.
    Check this link -
    Interactive Forms
    REG:ADOBE FORM
    Adobe forms
    Regards,
    Amit

  • Can I use Swing controls with Forms 9i?

    Is there a way to use Java Swing controls with Forms 9i via a PJC or something? If so, is there a white paper on it? Thanks.

    Yes you can. There is a quick start about PJC here:
    http://otn-stage.us.oracle.com/products/forms/htdocs/upgrade/pjc/content.html
    And there is also a paper about Forms in the Java World that you should read.
    http://otn.oracle.com/products/forms/pdf/forms_in_java_world.pdf
    You might want to have a look at the Oracle9i Forms Demos for some code samples as well.

  • Signing  a trusted jar for use with forms

    I have not found sufficient documentation on how to sign a new jar for use in conjunction with forms.
    I have read the descriptions in the getCLientInfo bean.
    This doesn't cover the whole subject.
    What must be done in Jinitiator? for instance.
    Can someone direct me to a more exhaustive source of information?
    I've done everything I can think of and /or discover and I'm still getting Security exceptions.
    Mick

    Adrienk wrote:
    is the a tutorial on how to open a .jar file and use it with in eclipse by keeping the same file structure?Is your shift key broken, or are you just too lazy to apply once at the start of each sentence?
    In any case, for Eclipse problems, see [http://www.google.com/#q=eclipse+forum].

  • Can I use web.show_document with forms name parameter ?

    Hi All,
    I need to pass URL to web.show_document but with form name too. Is it possible?
    I'd like to do something like web.show_document('url?report=myReport','_blank')
    Thanks in advance
    Edited by: _blackjack on Dec 13, 2012 2:17 PM                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

    Yes, you can use any valid URL within web.show_document

  • Use of Times ten database with Oracle Forms 11g

    Hi,
    We need to use some caching / pre-fetching solution with Oracle Forms 11g.  Is there a possibility that Oracle Forms 11g can be used with Times ten database.
    Regards,

    We have never tested TimesTen with Forms 11g but we suspect there are issues that may prevent if from being used.
    Sorry.
    Chris

Maybe you are looking for

  • Adobe Camera Raw Interface - Can anyone help?

    I have Photoshop Elements 9 installed on my PC running under XP. I have version 6.5 of Camera Raw installed. My camera is a Nikon D60 which records its Raw images as .NEF. When I open a Raw file in PSE9 the Camera Raw Interface does NOT open. When I

  • Switch over from active to passive in the cluster

    If online EMS Sun Server goes off line , the client looses the connectivity with EMS till the IP address of the other online server is updated in client PC. When the servers switch over from active to passive in the cluster, we have to change the ser

  • Routings Upload using LSMW

    Hi Experts,     I'm trying to upload routings data using Direct Input method (in LSMW). When i execute the Direct Input program, I get an error <i><b>"C\ 056 QQ0000000083121201  0600    Group cannot be determined for material QQ0000000083121201 plant

  • Query based on two views

    Hello ppl, I need your help. I got this query which is based on two views. View_1: x1, x2, x3, x4, day, xy View_2: y1, y2, y3, y4, day, xy By running a SELECT query on each view takes approx 2 minutes, yes there are lots of records. When I combine th

  • Relative positioning of JSF component

    Hi, How can I place a JSF component relative to another component, say I want to place a table below another table whose number of rows may vary. Thanks, Bob