Results 1 to 2 of 2

Thread: avi

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Sep 2004
    Location
    Kolkata, India
    Posts
    290

    avi

    Hi

    How to display .avi in picture in vb.net


    thanks


    asm

  2. #2
    Just Married shakti5385's Avatar
    Join Date
    Mar 2006
    Location
    Udaipur,Rajasthan(INDIA)
    Posts
    3,747

    Thumbs up Re: avi

    First way, is to make a form, with no border, set the state to maximized, and add a control that plays media files. (Like the Windows Media Player control). Simply play the file from the control.
    The 2nd way, is to use a Process, and simply "run" the file (If you happen to know the parameters for launching in fullscreen, then add that too).


    VB Code:
    1. Dim p As New Process
    2.         p.StartInfo.FileName = "C:\filename.avi"
    3.         p.StartInfo.Arguments.Insert(0, "-Fullscreen")
    4.         p.Start()

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