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 3 1487
"john piper" <jo**@piper.com wrote in message
news:ED******** *********@torna do.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.
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.comwro te in message
news:Rs******** *************** *******@giganew s.com...
>
"john piper" <jo**@piper.com wrote in message
news:ED******** *********@torna do.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.
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.comwro te in message
news:Rs******** *************** *******@giganew s.com...
"john piper" <jo**@piper.com wrote in message
news:ED******** *********@torna do.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 AudioVideoPlayb ack, play the video as full screen
and have an event sub for when the video ends that closes the form! This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
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
program from there.
is it possible to hide or disable the exit button in the title bar?
is there another way to hanle this problem?
thanks in advanced
|
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 like this:
Private Sub cmdStart_Click
Call bas1.LongLoops(parameter1, parameter2, parameterN)
End Sub
|
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 `'}''
'else if (choice == 27) exit(0) } }'
Here is my program (Simple loop to display currency equivalencies based
|
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 quite a few
words in this post but the questions are actually quite similar and
should be fairly quick to answer ...
(1) What is Happening with the Threads
|
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
| |
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 button in
upper right corner of its dialog box I get the following exit code:
"The program ' MyApplication.exe: Managed' has exited with
code -1073741510 (0xc000013a)."
If I close it via the 'X' in the application form it exits with exit code 0:
|
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 Integer)
Select Case MsgBox("Are you sure you want to exit?", vbYesNo)
Case Is = vbYes
Exit Sub
Case Is = vbNo
Cancel = True
|
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 these commands and they work perfect.
|
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 of file increases.
Its hangs and on pressing exit button it showing application not
responding..
Plz help me out
Here is da sample code::::::
|
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
<commands>
<command idMso="FileExit" enabled="false"/>
</commands>
.... but what about renaming it?
|
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
| |
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
| |
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
| |