Did you save your animation control as a class (on form)? It's necessary to avoid these errors.
BTW, Daniel Gramunt created an animation class I use... Another version (using pure API functions) could be found in Alexander Grigoriev CommonControls library...
>Hello everybody,
>
>I'm using animation controls to display avi files in my aplication. Some of my customers have the following error while loading forms which used this control: "Ole error code 0x80040154: Class not registered. Ole object is being ignored". The problem is that the ocx file needed for this control (comctl32.ocx) is located in the work station and registered. I know this because we successfully registered the file manually using regsvr32, but the error is still generated.
>
>Am i misssing something?
>
>Please help...
>
>Paco Calvente
>Logotech Systems
If it's not broken, fix it until it is.
My Blog