i have an ocx which i have embedded on the oracle form 6i. my first question is that it does not remain embedded on the form at run time, so i have to embed it again at run time, secondly i want to do some processing when the events of this ocx are triggered. so how do i identify the trigger event codes and then write the desired response accordingly. for example if the name of my ocx control is readerocx which is taking input from a scanner then i want to inform the form that the picture is read when the scanner reads an image and then handle. please guide me how to do it.