Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.tools -> Orcale Forms 6 and OCX

Orcale Forms 6 and OCX

From: SteveC <scullum_at_ntlworld.com>
Date: Wed, 17 Jan 2001 23:40:36 -0000
Message-ID: <k8q96.5862$UC4.110147@news6-win.server.ntlworld.com>

I am extremely new to oracle forms, i barely know the language syntax.. But can someone
please tell me how to call a method in my ocx. Specifically the command syntax.

The ocx is embedded on the "canvas" (i think thats what it is called). It is written in VB
and has one public sub method LoadFile(String filename).

In Oracle i have loaded the OLE references to it and in the program units tree i can
see the method, declared as LoadFile(interface as oleobj, Varchar filename). I have named the
ocx name myocx.

Why doesnt this work in a trigger...

myocx.LoadFile("filename");

PS.. i have tried various combinations of the above, using the control name as it is registered eg.. MyControl.UserControl etc..

Please, can someone tell me the command syntax or point me to a reference

Thankyou in advance...... Received on Wed Jan 17 2001 - 17:40:36 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US