PC Review
Forums
Newsgroups
Microsoft DotNet
Microsoft Dot NET Framework Forms
Animation control and Modal dialogs
Forums
Newsgroups
Microsoft DotNet
Microsoft Dot NET Framework Forms
Animation control and Modal dialogs
![]() |
Animation control and Modal dialogs |
|
|
Thread Tools | Rate Thread |
|
|
#1 |
|
Guest
Posts: n/a
|
Hi all.
I'm trying a pretty simple thing: show a modal dialog with an animation (AVI file) playing on it. - First problem, I couldn't find any native .net windows form control to do that (at least not part of the original framework) Question: Is there anything simialr in the .net toolbox? - Fine, then I decided to use the good old activeX control "Microsoft Animation Control". I put it in my toolbox then dragged to my form. I wrote the following code: Private Sub Form2_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load With AxAnimation1 .Open("C:\myfolder\myAnimation.avi") .Play() End With End Sub If I show the form modeless, it works perfectly. But if I show it modally, then the animation does not show up. Questions: * Do I have to do something extra? * Is this a known bug/limitation ? * Can I fix/hack it ? For now I made my form TopMost=True and disabled all the other forms but this is less than ideal for me because it shown in front of all the other applications windows as well. I need it to be the foremost form solely in my application. Thanks a lot. TJ! |
|
![]() |
|
| Thread Tools | |
| Rate This Thread | |
|
|

Main Page 

