473,386 Members | 1,873 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

Exit Button

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
Dec 10 '06 #1
3 1475

"john piper" <jo**@piper.comwrote in message
news:ED*****************@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.
Dec 10 '06 #2
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" <bb*@bbb.comwrote in message
news:Rs******************************@giganews.com ...
>
"john piper" <jo**@piper.comwrote in message
news:ED*****************@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.

Dec 10 '06 #3

John Piper wrote:
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" <bb*@bbb.comwrote in message
news:Rs******************************@giganews.com ...

"john piper" <jo**@piper.comwrote in message
news:ED*****************@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!

Dec 10 '06 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: s-galit | last post by:
im using "Error Provider" in my form , the problem is that when im trying to exit the program by the exit button on the title bar im getting disturbed by the error provider so i cant exit the...
7
by: deko | last post by:
I have a function with a number of long loops. While the function is running, I want to be able to click a Stop button and exit the function as quickly as possible. The abbreviated code looks...
8
by: drose0927 | last post by:
Please help! I can't get my program to exit if the user hits the Escape button: When I tried exit(EXIT_SUCCESS), it wouldn't compile and gave me this error: Parse Error, expecting `'}''...
6
by: orekin | last post by:
Hi There I have been trying to come to grips with Application.Run(), Application.Exit() and the Message Pump and I would really appreciate some feedback on the following questions .. There are...
24
by: Agnes | last post by:
I need to disable the exit button in the form . However, the min. and max. button need to keep it How ? Thanks a lot From Agnes
1
by: Peter Oliphant | last post by:
I have a C++ Console application being written using VS C++.NET 2005 Express. It never crashes and seems to be working just fine. However, when I close the application via the Console 'X' exit...
2
by: jsimons | last post by:
If the user accidentally clicks the X close button I'm using the following code in the form unload event to stop them from accidentally quitting Access. Private Sub Form_Unload(Cancel As...
2
by: Matuag | last post by:
Hi All, I want to create following command buttons on a Form which users can edit. Save ( Save Changes made) Cancel ( Undo data changes) Exit ( Close form) I am using Macros for each of...
2
by: Learning.Net | last post by:
hi , I have a application which reads files, directory,and its version and version information is written to text file.Its working fine if files in directory are less but problem arises when no...
2
by: dstork | last post by:
Anyone know how to rename the "Exit Access" command at the bottom of the Office menu. I'd like to rename it to "Exit" as I had done in previous versions of Access. I know I can disable it with ...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.