I did this the other day and for the life of me can't remember what I did!
I've added an OCX to my project. I then identified the ProgID from the typelib browser. The program runs fine, and although I can see the OCX on the form (it is a visible OCX which has various events associated with it) I can't interact with it.
The OCX properties page shows an entry "OCX_Events". When you click on this the help text at the bottom says "Sets the FireFly events include file (as created by the TypeLib Browser) for this OCX".
Therein lies the difficulty I think. There is no OCX include file anywhere to be seen. And I can't see any options on the TypeLib browser to create this include file.
Anyone able to advise?
Andrew
Doh! Sorry, dumb question award goes to me today.
I thought the OCX events dialog was asking me to FIND the file, whereas it is specifying the file.
One small modification suggestion though - perhaps the help text at the bottom of this properties dialog could read words to the effect of creating the INC file?
Andrew