In a DHTML-application I use an ActiveX-control. In DHTML itself I can change the style-propeties, but from within VB6 the style propeties can be accessed in design time (auto-complete and so on), but during run-time it results in an 'object does not support this method or propety'

So in HTML-page:
<OBJECT Classid= ID=ActiveX etc..

and in VB-sub:
ActiveX.style.Top = 0

This doesn't work. What's wrong or How can I change the position and z-order in a different matter from within an VB-sub?

thanks!! Bart