Exit Button

J

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
 
R

Robinson

john piper said:
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.
 
J

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
 
H

huntaub

John said:
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

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!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top