PlanetSquires Forums

Support Forums => Other Software and Code => Topic started by: David Martin on April 20, 2004, 12:25:56 AM

Title: Another COM Thing
Post by: David Martin on April 20, 2004, 12:25:56 AM
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
Title: Another COM Thing
Post by: TechSupport on April 20, 2004, 08:40:17 AM
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.
Title: Another COM Thing
Post by: David Martin on April 20, 2004, 09:24:23 AM
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.