here is some documentation generated from activeX, can you explain me what do those “let” and “get” mean?
Public Property Get ReadyState() ' property ReadyState
Public Property Get TotalFrames() ' property TotalFrames
Public Property Get Playing() ' property Playing
Public Propety Let Playing() ' property Playing
Public Property Get Quality() ' property Quality
Public Propety Let Quality() ' property Quality
Public Property Get ScaleMode() ' property ScaleMode
Public Propety Let ScaleMode() ' property ScaleMode
Public Property Get AlignMode() ' property AlignMode
Public Propety Let AlignMode() ' property AlignMode
I am a Java developer, I need to embed a activex control in my java gui application
Indeed, these correspond to “getters” and “setters”. However, the syntax looks wrong. I suppose that the type could be Variant (which would probably not have a corresponding type for Java), but in that case, I would expect the Property Let code to be:
Normally, you should include the type:
I would go back to the tool which gave you this nonsense VB and see if you get better information. Alternatively, you need something which will allow you to read the type library of the OCX control. If you don’t have Visual Basic, you will be able to use VBA in Word, Excel, Access etc.