Problem using OCX controls in my Forms project
Date: 6 May 2003 12:14:50 -0700
Message-ID: <c0975f91.0305061114.62093c96_at_posting.google.com>
Hi!
[Quoted] I am having some problems with my Oracle Forms project. Iīm using an MSCOMM32 OCX for serial communication.
I had my project up and running perfectly fine with ONE ocx control. But in this project I want to be able to communicate to both com-ports (at the same time) and therefor I had to add one more OCX control.
But by now my problem started. I was able to add one more control but
when I start the form then the second ocx isnīt initialized (i.e
empty) and I got the error message "FRM-41344: OLE Object not defined
for COM_CONTROL in the current record", where COM_CONTROL is the name
of my second ocx control.
If I put a ocx to a canvas and than closes it and then open it again
the control is now empty. why?
By now I start modifing my form. I removed both controls and tried to
add them again. But now the problem acoured for both ocx controls.
I search the webb for this problem and found some possible fixes like:
* Put a go_block before first reference to the ocx in
WHEN-NEW_FORM_INSTANCE
* Put the SYNCHRONIZE command before first reference.
- Register the OCX in windows. I tried a lot of "fixes" but nothing works.
Iīm starting to think that maybe Iīm doing something different now when I add the controlīs. But, if so, what what have I done different. I have struggled with this for about 15 hours now and beginning to lost the hope.
Can someone please give me a solution to the problem!
Best Regards
/ Stefan
Received on Tue May 06 2003 - 21:14:50 CEST