Home All Groups Group Topic Archive Search About
Author
10 Dec 2006 1:44 AM
john piper
I want to place a button on a form.
what I want is to have it as an exit button, however when a user clicks on
the button I want to play a video file (full Screen) then when the video is
complete, I want the player to close, then the form to close.

I am new and learning little by little,
thanks in advance for your help

Author
10 Dec 2006 11:55 AM
Robinson
"john piper" <j***@piper.com> wrote in message
news:EDJeh.10176$7T5.538@tornado.tampabay.rr.com...
>I want to place a button on a form.
> what I want is to have it as an exit button, however when a user clicks on
> the button I want to play a video file (full Screen) then when the video
> is complete, I want the player to close, then the form to close.
>
> I am new and learning little by little,
> thanks in advance for your help

Is there a good reason to want to do this?  I can imagine an "exit video" to
be intensely annoying.
Author
10 Dec 2006 3:54 PM
John Piper
I do have a reason, it is not something that is going to be distributed, but
a project for work.
i can easily use process.start and simply run the video and the next line is
me.close.
i want to
1-run the video full screen
2-have the default player close when it is done playing the video.

I do agree with it being annoying, but there is a specific purpose for this.

thanks again

Show quoteHide quote
"Robinson" <b**@bbb.com> wrote in message
news:Rs2dncuiApg-aObYnZ2dnUVZ8ty3nZ2d@giganews.com...
>
> "john piper" <j***@piper.com> wrote in message
> news:EDJeh.10176$7T5.538@tornado.tampabay.rr.com...
>>I want to place a button on a form.
>> what I want is to have it as an exit button, however when a user clicks
>> on the button I want to play a video file (full Screen) then when the
>> video is complete, I want the player to close, then the form to close.
>>
>> I am new and learning little by little,
>> thanks in advance for your help
>
> Is there a good reason to want to do this?  I can imagine an "exit video"
> to be intensely annoying.
>
Author
10 Dec 2006 9:15 PM
huntaub
John Piper wrote:
Show quoteHide quote
> I do have a reason, it is not something that is going to be distributed, but
> a project for work.
> i can easily use process.start and simply run the video and the next line is
> me.close.
> i want to
> 1-run the video full screen
> 2-have the default player close when it is done playing the video.
>
> I do agree with it being annoying, but there is a specific purpose for this.
>
> thanks again
>
> "Robinson" <b**@bbb.com> wrote in message
> news:Rs2dncuiApg-aObYnZ2dnUVZ8ty3nZ2d@giganews.com...
> >
> > "john piper" <j***@piper.com> wrote in message
> > news:EDJeh.10176$7T5.538@tornado.tampabay.rr.com...
> >>I want to place a button on a form.
> >> what I want is to have it as an exit button, however when a user clicks
> >> on the button I want to play a video file (full Screen) then when the
> >> video is complete, I want the player to close, then the form to close.
> >>
> >> I am new and learning little by little,
> >> thanks in advance for your help
> >
> > Is there a good reason to want to do this?  I can imagine an "exit video"
> > to be intensely annoying.
> >

You could use directX AudioVideoPlayback, play the video as full screen
and have an event sub for when the video ends that closes the form!