|
Thread: avi
-
Dec 23rd, 2006, 04:45 AM
#1
Thread Starter
Hyperactive Member
avi
Hi
How to display .avi in picture in vb.net
thanks
asm
-
Dec 23rd, 2006, 08:43 AM
#2
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:
Dim p As New Process
p.StartInfo.FileName = "C:\filename.avi"
p.StartInfo.Arguments.Insert(0, "-Fullscreen")
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|