ActiveX control in Forms 5.0

From: Paul G Young <pgy_at_magma.ca>
Date: Sun, 31 Jan 1999 20:32:56 GMT
Message-ID: <01be4d59$41cc78e0$f03fbfce_at_default>



Has anybody ever incorporated the amovie.ocx activeX control into an Oracle Form? I've been able to find the accessor methods for the controls, but I have been unable to make use of them. This is my first attempt at adding an ActiveX control to a form.

In particular, I've used the FileName(interface OleObj, FileName VARCHAR2) procedure to open a file. My call looks like this:

        FileName( :Block.item, '1.wav');
where :Block.item is the name of the ActiveX control item within my form, and the 1.wav is the name of the file I'm trying to open. I get the compile-time message of a "bad bind variable 'Block.item'". What am I doing wrong?

If somebody has done this before, I would appreciate it if I could get a solid example of the PL/SQL and item properties required to duplicate it.

Looking at the bigger picture...
Is this a good approach to loading wave files on the fly? Is there something better that I should be doing? I started out by hosting out calls to rundll32.exe, but it tends to slow the operation of the form. I'm hoping that what I'm trying to do now will speed it up.

Thanks,
Clayton
bobecla_at_statcan.ca Received on Sun Jan 31 1999 - 21:32:56 CET

Original text of this message