Open .mpg File off CDRom

  • Thread starter Thread starter Rodney D. Lester
  • Start date Start date
R

Rodney D. Lester

How would i go about opening .mpg video file off of a CdRom drive using a
button on a form?

I would want to lauch in the systems default player for that file type
(.mpg)

Thanks.

Rodney
 
Hi,

Process.Start("D:\MyMovie.Mpg") will open the mpg in the default player.

Ken
============
 
* "Rodney D. Lester said:
How would i go about opening .mpg video file off of a CdRom drive using a
button on a form?

I would want to lauch in the systems default player for that file type
(.mpg)

\\\
Dim psi As New ProcessStartInfo()
psi.FileName = "C:\bla.mpg"
psi.UseShellExecute = True
Process.Start(psi)
///
 
Back
Top