Results 1 to 4 of 4

Thread: Displaying .AVI file in VB.NET

  1. #1

    Thread Starter
    Junior Member
    Join Date
    May 2003
    Posts
    16

    Question Displaying .AVI file in VB.NET

    How do I display a .AVI file in VB.NET? For example, I'd like
    to display the FILECOPY.AVI file while copying a file, similar to
    the standard Microsoft method.
    Thanks

  2. #2
    yay gay PT Exorcist's Avatar
    Join Date
    Apr 2002
    Location
    . . . my reason of shame
    Posts
    2,729
    you can use the microsoft windows media player control just like u did in vb6..vs.net will upgrade it to a .net component..but if u want the animation for showing copy operation there's an windows api that shows that dialog showing the percentage of a file being copied etc..just look for it
    \m/\m/

  3. #3

    Thread Starter
    Junior Member
    Join Date
    May 2003
    Posts
    16
    I found a detailed explanation on the MSDN site at
    http://msdn.microsoft.com/library/de...er_article.asp

    titled: Playing Digital Media in a Visual Basic .NET Application, and using the Windows Media Player 9 series.

    However, although I can now get the filecopy.avi to play on my form, the .avi background color remains. This is a purple-ish color (I think they call it fushcia). When I've displayed icons or bitmaps in a picture box, the background color is treated as a transparent color. So how do I get the background color in the .avi files to be transparent in the WMP control?

  4. #4
    Junior Member
    Join Date
    Mar 2007
    Posts
    23

    Re: Displaying .AVI file in VB.NET

    Quote Originally Posted by PT Exorcist View Post
    you can use the microsoft windows media player control just like u did in vb6..vs.net will upgrade it to a .net component..but if u want the animation for showing copy operation there's an windows api that shows that dialog showing the percentage of a file being copied etc..just look for it

    Thanx for the above helpful information, is there an animation control in .NET that i can use to play the file FILECOPY.AVI to simulate a delet operation jas like in vb6 while using the animation control?.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width