Re: video
- From: ShaneO <spcacc@xxxxxxxxxxxxxxx>
- Date: Mon, 18 Dec 2006 09:24:43 +1000
john piper wrote:
Okay,To launch a Process "Full Screen", I believe you are looking for the following -
What I have is a button that when clicked, playes a video in the default player (Usually WMP) then closes the form.
I am using ProcessStart then Me.Close
How can I do the same thing, however play the video full screen, and then close prior to the form closing.
I am an absolute beginer and have only begun to learn VB. I will need the simplest of instructions.
What I have learned is thanks to the knowledgable folks on this board.
Thank you for your help
Dim StartInfo As New ProcessStartInfo("Your Filename Here")
StartInfo.WindowStyle = ProcessWindowStyle.Maximized
Process.Start(StartInfo)
As for the rest of your question - Do you want to Close YOUR application before the Process Completes (If so, just add Me.Close) or do you want to wait for the PROCESS to Close first? (If so, post back and I'll look at the code for that).
By the way, the above code basically came from typing "Process.Start" into the Help page. You might like to examine some of the examples in there yourself.
Hope this helps.
ShaneO
There are 10 kinds of people - Those who understand Binary and those who
don't.
.
- References:
- video
- From: john piper
- video
- Prev by Date: Validation Controls
- Next by Date: Re: Need some help...
- Previous by thread: Re: video
- Next by thread: Re: video
- Index(es):