Another COM Thing

Started by David Martin, April 20, 2004, 12:25:56 AM

Previous topic - Next topic

David Martin

Using the Tutorial 2 project.

- Select the Webbrowser OCX/ActiveX object on the form

- Goto Properties tab and select OCX_ProgId property

- Click on the Elipse to open the COM Browser

- Close the COM Browser ( via menu or close box )

- Select OCX_Events on Property page

- Click on Eplipse

I get the error: The 'OCX_ProgID' property for this control must be set prior to attempting to generate the related OCX events.

Well ... the OCX_ProgID property still says: Shell.Explorer.1

David

TechSupport

From your description it appears that the Prog_ID field is not getting cleared, visually, in the PropertyList. Try clicking on the Form and then re-clicking on the OCX. Does the property now change its value?

I will look into this as soon as I get back to the source code.

David Martin

Quote from: TechSupportFrom your description it appears that the Prog_ID field is not getting cleared, visually, in the PropertyList. Try clicking on the Form and then re-clicking on the OCX. Does the property now change its value?

Tried this, and everything else I could think of to force a refresh.  This may be tied to the not seeing anything in the COM browser left side panel.

Quote from: TechSupportI will look into this as soon as I get back to the source code.

Ok.