Hi
How to display .avi in picture in vb.net
thanks
asm
Printable View
Hi
How to display .avi in picture in vb.net
thanks
asm
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()