Monday, October 24, 2011

How do I Use OCX in Oracle Form?


1. Open Oracle Forms.
2. Click 'File-->'New Project'-->'OCX.'
3. Select the file (ending with the extension OCX) you would like to load from your hard drive.
4. Enter the line 'OCX_INIT(filename)' without quotes in the program code. Replace 'filename' with the name of your OCX file.
5. Begin writing code for your OCX object. Consult your OCX file's manual for its library of functions and what to call them.