ActiveX in Forms

Does anyone have any experience with calling ActiveX controls from Forms 6i (on web)?
Zeljko Djuricic

you may use JACOB, a Java-Com bridge. go to Oracle metalink form forum, you may find a Oracle article to show you steps in a sample how to get it work on webforms.

Similar Messages

  • How to use ActiveX in Forms 6i

    Hello friends:
    Being a novice forms developer I'm eager to gain the skill of using ActiveX in Forms 6i. I 'll appreciate if anyone could help me finding some online tutorial on this issue. Otherwise, I 'll very highly appreciate if someone would share his/her expertise. I wish to do the following:
    1) A master (dept) - detail (emp) blocks : I'd like to view emp records in a ListView like grid
    2) The detail emp block in ListView should be populated in-sync with change of prev/next record of my dept block
    3) On double clicking a row of the emp ListView the selected emp's info should be popolated to another for update.
    Thanks in advance,
    SAJJAD
    [email protected]
    [email protected]

    why do you need an active/X for this?
    Can't you just create 2 default blocks on dept and on emp.
    Use the relationship wizard to define the relation. and set the number of records displayed for the emp block to 10?
    This will give you all you need with no hussle.

  • Is it possible to create activeX with Forms?

    Hi, I'm new to Forms. I want to know if it is possible to create an activeX composant with Forms.
    Because, I need to integrate a part of an application create with Forms in a VisualBasic application.
    Tia

    No. You can't create an Active/X with forms.

  • Calling ActiveX from Forms 2.1

    Hi,
    Does anyone have the experience of using ActiveX components
    with Forms? I'm trying to include an activeX component MS common
    dialog into a forms project to allow our users to browse the
    directories on windows. We have no problems with other ActiveX or
    OLE components like MS Calendar, Excel, and Words. My problem is
    that we cannot find out the MSCOMDLG's server name so we cannot
    event start it since all the functions included need a OLEOBJ to
    run.
    Thanks.
    Dan
    null

    Hi Sarah,
    Thanx for your reply.
    I followed your suggestion and changed the call to the report (Screen, pdf type) in:
    WEB.SHOW_DOCUMENT('http://192.168.137.1:9001/reports/rwservlet/getjobid'||substr(v_rep,instr(v_rep,'_',-1)+1) || '?server='||v_repserver,'_blank' );
    Unfortunately it gives an HTTP error 404 ---page not found
    If I change the portnumber in 9002 In forms), the report is displayed in a second screen on the server. I can close this second screen again and continue with other forms in my apllication (server side).
    However, if i press the button on my form on the client side a second screen shows up . But nothing on it (empty). Only the header is '192.168.137.1'.
    Any other suggestions ?
    Greetings Martin

  • ActiveX in Forms 6i ???? Urgent

    Greetings..
    I want to implement the activex control (A grid object). The issue is when I use a textbox the end user needs to us arrow keys to read the data in the Textbox whereas using Grid Contro the end user capable of resizing and moving columns.
    So my queries are,
    1) Is it possible to link the activex/grid to the data block more directly, so that the grid populates automatically when the query executes?
    2) I put DB Grid control in one OCX container and Microsoft ADO control in another OCX container. I am able to set server/username/password/table names in ADO Control's properties. But I dont know how to bind these two OCX. The documentations says DB Grid's Datasource property should point to this ADO datacontrol. But I dont find any property called datasource in DB Grid property palette.
    Please help.
    Thanks,
    Badhri ...

    William,
    check this one - should be similar
    uifont.ali? Tk2Motif? Which adjusts the fonts
    Frank

  • In adobe form, how to disappear the part as the picture shows?

    Could someone give me a hint please? Thanks in advance.

    Hi Kenny,
    Firstly you should use ZCI (Native) forms and NOT ActiveX enabled forms. Also enable Javascript in your browser as rightly pointed by Custodio.
    Regards,
    Nikhil

  • Bad bind var compile time err in OracleSpreadTable ActiveX

    I'm interested to learn the implementation procedures for using
    ActiveX into Forms 6i applications. How to do I go about
    OracleSpreadTable? I have given it a try; but, found some bad bind
    variable error while tried to compile.
    Steps that I followed:
    1) A database block was created based of EMP table
    2) Each item of the EMP block was changed to ActiveX
    3) Also in Layout wizzard # of row(s) to be shown = 1 was chosen
    4*) Each item (ActiveX) of the EMP block were selected to view their
    property and respectively OLE informaion was changed to OracleSpreadTable
    * Alternatively, I haved tried by right clicking the ActiveX item and
    inserting OracleSpreadTable object for each of them.
    5) Then by selecting the ActiveX items one-by-one from "Program"
    pull-down menu "Import OLE ..." was chose and all the attributes and
    methods were taken.
    On compile I got bad-bind variable ... :-(
    Please help me out: How to incorporate ActiveX in Forms 6i
    Application !?
    I 'll appreciate your cooperation.
    SAJJAD
    [email protected]
    [email protected]

    I'm interested to learn the implementation procedures for using
    ActiveX into Forms 6i applications. How to do I go about
    OracleSpreadTable? I have given it a try; but, found some bad bind
    variable error while tried to compile.
    Steps that I followed:
    1) A database block was created based of EMP table
    2) Each item of the EMP block was changed to ActiveX
    3) Also in Layout wizzard # of row(s) to be shown = 1 was chosen
    4*) Each item (ActiveX) of the EMP block were selected to view their
    property and respectively OLE informaion was changed to OracleSpreadTable
    * Alternatively, I haved tried by right clicking the ActiveX item and
    inserting OracleSpreadTable object for each of them.
    5) Then by selecting the ActiveX items one-by-one from "Program"
    pull-down menu "Import OLE ..." was chose and all the attributes and
    methods were taken.
    On compile I got bad-bind variable ... :-(
    Please help me out: How to incorporate ActiveX in Forms 6i
    Application !?
    I 'll appreciate your cooperation.
    SAJJAD
    [email protected]
    [email protected]

  • Can not retrieve data in Crystal Report

    Hi,
    I have a problem to load data from <i><b>Crystal Report</b></i> in an SBO form with the ActiveX DI object : the Crystal Report Viewer message display : <b><i>'Failed to retrieve data from the database. Details [Database Vendor Code:208]'</i></b>
    It seems do not change the name of database in SQL Crystal Report query : My SQL query in Crystal Report file is a generic query : it must run with all custom database with the same datatable ; so the database name in FROM  clause must be change with the SetLogonInfo : but it do not run !
    Have you an idea ?
    Francis
    Here my code :
    Public Class frm_CRViewer
    ' Adding References of project : CRAXDRT and CrystalActiveXReportViewerLib11
    Private WithEvents MRO_CRV As
    CrystalActiveXReportViewerLib11.CrystalActiveXReportViewer
    Public Sub New()
    Dim msa_Form As SAPbouiCOM.Form
    Dim dsa_ActiveX As SAPbouiCOM.ActiveX ' Item <ActiveX> from form XML
    dsa_ActiveX = msa_Form.Items.Item("axCRV").Specific()
    dsa_ActiveX.ClassID = "CrystalReports11.ActiveXReportViewer.1"
    MRO_CRV = dsa_ActiveX.Object
    ' Create the crystal application
    Dim dob_ReportApp As New CRAXDRT.Application
    ' Open the report
    Dim dob_Report As New CRAXDRT.Report
    dob_Report = dob_ReportApp.OpenReport("c:MyTest.rpt")
    ' Defined to log on to the data source, and change the database name in FROM clause
    Dim dob_Table As CRAXDRT.DatabaseTable
    For Each dob_Table In dob_Report.Database.Tables
         dob_Table.SetLogOnInfo("192.168.2.10", "AeroOneDemo", "sa", "45dfrfg5")
    Next
    ' The report have a parameter in the sql query
    dob_Report.ParameterFields.Item(1).DiscreteOrRangeKind = CRAXDRT.CRDiscreteOrRangeKind.crDiscreteValue
    dob_Report.ParameterFields.Item(1).AddCurrentValue("15")
    ' Display the report in SBO form
    Title = pst_ReportName
    MRO_CRV.ReportSource = dob_Report
    MRO_CRV.ViewReport()
    End Sub
    End Class

    Try these ...
    <a href="http://technicalsupport.businessobjects.com/KanisaSupportSite/search.do?cmd=displayKC&docType=kc&externalId=c2002650&sliceId=&dialogID=7002531&stateId=1%200%207004328">http://technicalsupport.businessobjects.com/KanisaSupportSite/search.do?cmd=displayKC&docType=kc&externalId=c2002650&sliceId=&dialogID=7002531&stateId=1%200%207004328</a>
    or
    <a href="http://technicalsupport.businessobjects.com/KanisaSupportSite/search.do?cmd=displayKC&docType=kc&externalId=c2000957&sliceId=&dialogID=7002728&stateId=1%200%207004460">http://technicalsupport.businessobjects.com/KanisaSupportSite/search.do?cmd=displayKC&docType=kc&externalId=c2000957&sliceId=&dialogID=7002728&stateId=1%200%207004460</a>
    or
    <a href="http://technicalsupport.businessobjects.com/KanisaSupportSite/search.do?cmd=displayKC&docType=kc&externalId=c2001075&sliceId=&dialogID=7002728&stateId=1%200%207004460">http://technicalsupport.businessobjects.com/KanisaSupportSite/search.do?cmd=displayKC&docType=kc&externalId=c2001075&sliceId=&dialogID=7002728&stateId=1%200%207004460</a>
    or
    [url=http://technicalsupport.businessobjects.com/KanisaSupportSite/search.do?cmd=displayKC&docType=kc&externalId=c2003637&sliceId=&dialogID=7002728&stateId=1%200%207004460]http://technicalsupport.businessobjects.com/KanisaSupportSite/search.do?cmd=displayKC&docType=kc&externalId=c2003637&sliceId=&dialogID=7002728&stateId=1%200%207004460[/url]

  • Viewing Crystal 2008 ActiveX  on Access 2007 forms

    Ok, i am a little confused as there seems to be a some doubt whether Crystal 2008 ActiveX can be used on Access forms. Another thread even has a reply that mentions that the ActiveX control is no longer included in Crystal Reports 2008..... Take a look at this, you can clearly see i have embedded the 2008 ActiveX control onto an Access form. link:[http://www.moktar.pwp.blueyonder.co.uk/AX.JPG]
    I have just installed 2008 and will get round to looking at this, however in my brief look, i couldnt see the run time library for 2008. By all accounts you can freely distribute the run time files for Crystal Reports 2008 as MSI or exe packages to your clients. I hope this is the case and i can get the ActiveX working.
    If anyone has some information on this subject i will welcome reading it.
    This is how its used to be done;
    1) Open the Access form in design view.
    2) Click on Add Tool button on the toolbar.
    3) Select Crystal Reports ActiveX toolbar control from the list of controls.
    4) Place the control on the form.
    5) Click on the View Code toolbar button to open the code for the form
    6) Choose u2018Referencesu2019 from the u2018Toolsu2019 menu
    7) Select u2018Crystal Reports ActiveX Design and Runtime Library 11.Xu2019 from the list of references and add to the project.
    8) On the Form_Load() event, please use the code given below to pass the report to the viewer:
    Dim crReport as CRAXDRT.Report
    Dim crApplication as New CRAXDRT.Application
    u2018 Use the appropriate path for the report
    Set crReport = crApplication.OpenReport(u201CC:\Report1.rptu201D)
    u2018 ReportSource property and ViewReport method will not be displayed on the viewer control
    CrystalActiveXReportViewer0.ReportSource = crReport
    CrystalActiveXReportViewer0.ViewReport
    'Hey Presto, the Crystal control on the Access form is now displaying a report. However, you had the age old issue of distributing the runtime files to clients that dont have crystal reports installed, and even more so of an issue, as this is Access and no method of doing it. I was hoping that 2008 with its MSI and EXE versions of the runtime files would solve this age old problem.
    Thanks
    Simon.

    Hello Simon,
    The RDC was retired after Crystal Reports XI R2 and no longer exists in CR 2008.
    The viewer control you are seeing is not meant for RDC applications.
    You will need to move to Java or .NET if you plan on using CR 2008.
    Best Regards,
    Jason

  • AcroPDF ActiveX control on Excel Userform --- how to include it when I print the form?

    Here is a screen-shot of my Excel Userform which IS displaying the correct PDF file inside of an AcroPDF ActiveX control.
    Everything works on this form, including an option to print out a full-sized (8.5 x 11) version of the PDF.
    However ...
    I would like to push the "Print this Form" button, and have a paper copy of exactly what you see on-screen.
    The form does print, but the PDF displayed in the ActiveX control is BLANK.
    I also have an Image control  on this same form with code that allows me to browse for an image file (.JPG) which I use for Custom signs ...
    The form prints and the image displayed in the Image Control DOES print with the form.
    The Code:
    Private Sub cboSelectSign_Change()
    Dim MyPDF As String
    If Len(Me.cboSelectSign.Value) > 0 Then
        If Me.cboSelectSign.Value = "(Custom)" Then
            Me.AcroPDF1.Visible = False
            Me.ctlImage.Visible = True
            Me.ctlImage.Picture = Nothing
            If MsgBox("Do you have an image that you'd like to display?", vbYesNo, "Display an Image?") = vbYes Then
                fOpenFileBrowser
            End If
        Else
            Me.AcroPDF1.Visible = True
            Me.ctlImage.Visible = False
            MyPDF = Me.cboSelectSign.Column(1)
            Me.txtPDFpath = MyPDF
            Me.AcroPDF1.src = MyPDF
        End If
        Application.Wait (Now + TimeValue("0:00:03"))
        Me.txtWidth.SetFocus
    End If
    End Sub

    Has anyone had this problem?

  • WebDynpro ActiveX  Button in Interactive form- not working in IE

    Hi,
    1)     I am working with Interactive forms in WebDynpro. When I deploy the application, the PDF form is opens in a browser window, But the WebDynpro ActiveX button ( to call a method in view Controller) is not working.
      When I copy the URL and try in another sysetm, its working.
      I hope the probelem is with the browser settings.
    2) And also, the 'https' URLs does not work properly in my IE.
    Can you give me a solution for these problems?
    Thanks,
    Prabhakar.

    Hi Prabhakar,
    I doubt this is anything to do with the browser. Please let me know if you have already installed SAP Active Control Framework on your desktop.
    I think this might be an issue. Also check for Adobe Reader version in both the machine.
    Cheers
    Satya

  • Windows Forms with ActiveX PDF viewer steals focus when LoadFile called

    I've been very frustrated with the PDF viewer. I currently have the Acrobat Reader 8.1.2 installed and I've created an extremely simple app that has a main window with two additional child windows that are owned by the main window. I've also set a timer to periodically load the same file over and over (to show the focus issue).
    My problem is that if Child1 is currently in Focus, and the timer on Child2 goes off and calls LoadFile(...), then for some reason Child2 steals the focus and comes to the front of the app.
    My Sample Visual Studio 2008 Windows Form code here:
    //Main Window code that creates Child1 and Child2 that have the ActiveX
    //component on them
    namespace PDFViewerStealingFocusIssue
    public partial class MainWindow: Form
    public MainWindow() {
    InitializeComponent();
    private void MainWindow_Load(object sender, EventArgs e) {
    PDFViewerStealingFocusIssue.PDFViewer viewer = new PDFViewer();
    viewer.Text = "Child1";
    viewer.timer1.Interval = 4000;
    viewer.Show(this);
    viewer = new PDFViewer();
    viewer.Text = "Child2";
    viewer.timer1.Interval = 5500;
    viewer.Show(this);
    //in my child window:
    namespace PDFViewerStealingFocusIssue
    public partial class PDFViewer : Form
    public PDFViewer() {
    InitializeComponent();
    private void Form2_Load(object sender, EventArgs e) {
    private void timer1_Tick(object sender, EventArgs e) {
    axAcroPDF1.LoadFile(@"C:\test.pdf");
    //axAcroPDF1.src = @"C:\test.pdf";
    I'd appreciate if anyone has a workaround for stopping this annoying behavior.
    Jeff Braun ([email protected])

    Hi Jeff,
    I have the same problem. Have you found a solution yet? I've spent the past few hours trying to find one to no avail. Your help will be greatly appreciated. If I find anything, I'll be sure to post the solution.
    Thanks,
    Matt

  • MSTSCLib ActiveX RemoteApp Launched Application/Child forms open in middle of multiple screens

    Im using axMsRDPClient7NotSafeForScripting and connecting to windows 2008 r2 server in RemoteApp or "RemoteProgram.RemoteProgramMode
    = true". Everything opens fine, but the applications are opening in the center of screen which is fine until there is multi monitors.  When there is multiple monitors the remoteapp opens in the center of the two screens. 
    I am able to maximize an application on one screen or another and it appears it understands the h x w of each
    monitor, but if the application has a child form it opens in the center of both screens.
    If I utilize mstsc.exe v6,7 etc and connect with basic remoteapp the applications are more aware of dual monitors
    and handle child forms etc in proportion to the main open app.  I believe this is due to setting different parameters in the rdp file, such as:
    use
    multimon:i:1
    screen mode id:i:1
    span monitors:i:1
    I am unable to find a way to activate these settings on my mstsclib control on my c# application. The only way
    I can get the control to recognize the Desktop W & H is to set:
    rdpClient.DesktopWidth = SystemInformation.VirtualScreen.Width;
    rdpClient.DesktopHeight = SystemInformation.VirtualScreen.Height;
    On connecting.  This does set the remote desktop to expand over the multiple monitors, but as you would expect
    it is treating the Desktop W/H on the session as one big screen.

    Hi,
    As I know we can only manage the option which you have posted for adjusting h*w and we can’t the find the option for multimonitor or span on mstsclib control. If you want then you can refer below link for information.
    Remote Desktop ActiveX control interfaces
    https://msdn.microsoft.com/en-us/library/aa383022(VS.85).aspx
    Hope it helps!
    Thanks.
    Dharmesh Solanki
    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 Support, contact [email protected]

  • Query about use activex control in Developer form

    I'm an oracle developer and My name is milton datta.I cant' use activex control in forms.Pls. anybody would help me how to use activex control in developer forms.If possible provide me with some examples.
    my email address is [email protected]

    Download the Oracle Forms demos and you'll see a sample.
    Also read the documentation for Oracle Forms 6i the developer guide has a section about Active/X.
    Just remember that they will not work once you take your Forms to the Web. So think twice before you use them.

  • Is in Adobe Forms with ZCI "ActiveX" mandatory?

    Hi,
    I am wondering if in ZCI Adobe Forms ActiveX is still necessary? I hoped it was not, because our customer doesn't allow ActiveX. I thought when I have a native Form in my Web Dynpro Java I would NOT need ActiveX Controls in the browser any more. I have the Adobe Lifecycle Designer 7.1 with the current patches/notes and NW04s SPS13.
    Any hints/thoughts on that?
    Kind regards and thanks,
    Christoph

    Hi Christoph,
    When using ZCI Adobe forms, you dont need any activex installed on the client machine.
    Below are the prerequisites for ZCI Adobe forms:
    NetWeaver 7.0 SP09 or higher
    NetWeaver 7.0 compatible Adobe Document Service (ADS)
    Reader 8.1 higher
    Adobe LiveCycle Desinger 7.1 patch level 1 or higher(Adobe LiveCycle Designer version "7, 1, 3129, 1, 296948")
    Reward points if found helpful.
    Regards,
    Arafat

Maybe you are looking for

  • Performance of a report in Web Analysis??

    Hi Guys, •How do u improve the performance of report ? •In a general store 10 products are there, In that only 8 products are sold. I need a report for the products which are not sold(for 2 not sold). How can u do that report?(apart from Product norm

  • Latest version of firefox program is not compatible with windows 7

    After I updated the latest version of mozilla firefox in my laptop which is a windows 7 program,it doesn't work anymore. Every time I open the firefox, the screen goes black and I can't see anything on the screen but black. And when I troubleshoot an

  • Whenever I print or export to PDF a document with superscripts or subscripts, it deletes them

    Whenever I print or export to PDF a document with superscripts or subscripts, it deletes them. I'm doing a chemistry degree so as you can imagine, there are a lot of missing superscripts or subscripts through my text! I just tried updating my iWork s

  • Identify forms in Oracle forms Builder

    Hi every one, I am very very new to Oracle forms and Oracle Builder, how can we find the complexity of a form and also a report, I have the access to the Oracle forms builder and Oracle report builder, Can any one help me how to move further and, how

  • HTTPService compiler error

    I'm trying to compile an application in FlexBuilder 2.0.1 and I have an HTTPService object in my main MXML file: <mx:HTTPService id="makes_list" url="data/makes.xml" useProxy="false"/> The compiler chokes with this error: Can not resolve a multiname