Opening an OCX file

Hi All, I have a form which contains a RTF and a button.The rich text field contains a OCX file which is unregistered.I am programatically registering the OCX file using regsvr32 command.and i am detaching the file the code works fine.

When i just try to embed this OCX file after registering i am able to see only the attached OCX file.but i need to display the controls within the OCX file how can this be done.

Subject: Opening an OCX file

Notes’ implantation of visual OCX’s has always been shamefully poor. I doubt it is any better in version 7.

Before you waste your time, you should first be certain that the OCX operates as you want using the forground UI to embed the OCX.

Subject: Ahhh, not “always poor”, it was in fact pretty strong back in the R3 and R4 days…

You could do stuff with OLE, Notes FX and COM objects like almost no other application platform. However, the OLE/COM framework itself has always been a bit flaky, and pretty hard to create fully compliant applications for…

Bob

Subject: RE: Opening an OCX file

Hi Mr Bruce, Is there any way that i can implement the OCX control programatically into a Rich text field.