You are using an out of date browser. It may not display this or other websites correctly. You should upgrade or use an alternative browser.
button click
About this tag
The button click tag covers discussions about handling click events on buttons in web development and Windows application programming. Topics include triggering audio playback on button click in HTML/JavaScript, and using C# button click handlers to launch processes like opening text files with Process.Start. Common issues involve event handlers not firing as expected, such as onload functions versus button clicks, and application crashes when launching external files. These threads focus on practical troubleshooting for developers implementing button click functionality in web pages and Windows Forms applications.
Im trying to play sound onload body
//section 1
works only if i click
button on click test1()
my code works...but doesn't play the file once
body onload fucntion
call runs
in , function test1
trying to play sound
tried doesn't run onload body
i placed my explanation inside my code...
audio
audio control
buttonclick
church website
client-side scripting
coding
debugging
event handling
focus events
functionality issues
html
iframe
javascript
mp3
music player
onload function
php
timer
user interaction
web development
1) Develop a simple forms application( add one button and implement its button click handler with the following code)
2) System.Diagnostics.Process.Start("C:\\Test\\Example.txt");
3) Create the text file in the above specified path.
4) Now run the windows form application and invoke the button...
application
buttonclick
coding
crash
debugging
diagnostics
error
file management
launch
process
programming
software development
tech support
text file
user interface
windows 7
windows forms