Forms Builder 6 + ActiveX - help!!!

From: Bogien <bogien_at_fanthom.math.put.poznan.pl>
Date: Mon, 26 Aug 2002 04:55:24 +0200
Message-ID: <3D69989C.6A95F7D9_at_fanthom.math.put.poznan.pl>



Hello,

I experience some problems while trying to use an ActiveX control in my Oracle Forms 6 application. What am I doing wrong? I think I've been following the instructions very closely...

  1. I choose "Oracle Video Control Object", which is shipped for test purposes. The OCX file is 100% OK - I've tested it with Borland C++Builder - works fine.
  2. I create an empty form, an empty canvas and an empty data block with "Number of records displayed" = 1 and "Single Record" = Yes.
  3. I create an OCX item and insert "Oracle Video Control Object" into it.
  4. I import OLE library interface from "MMVX.mmvxCtrl.1" class. Here comes the first strange thing, the package which is created then (MMVXLIB_CONSTANTS) does not contain any subprograms? I know that there should be some (e.g. About(), which I fired from C++Builder);
  5. Another one: in layout editor I can see the ActiveX's graphical interface - "play", "stop", "rewind" buttons etc. But when I run the application, the control is empty and only its border is visible. ...?
  6. BUT! When I click it with right mouse button during runtime, a menu pops up where I can insert "Oracle Video..." object once more and see its interface. Why is that?

Please help!
- how to initiate an ActiveX object automatically, on application's
start?
- how to read/write its properties, call its methods?

  • is it necessary to select "Functional/OLE Class" for my OCX item?

Thanks... Received on Mon Aug 26 2002 - 04:55:24 CEST

Original text of this message