Add Music - Make A Button Make A Sound Out When Pressed?
Jun 21, 2010I wanna ask how to code to make a button make a sound out when pressed? Can you add sound files to it, like a mp3 file?
View 3 RepliesI wanna ask how to code to make a button make a sound out when pressed? Can you add sound files to it, like a mp3 file?
View 3 RepliesI have button1 and button2.When button1 is pressed, I want the color of button2 to switch between white and red every second until it is pressed.
View 1 Replieshow to make the button move when arrow button is pressed
View 1 Repliesis it possible to make a button that when it is pressed it opens up a window i am using vb 2008
View 10 RepliesIn my program, if something goes wrong an ErrorForm is supposed to show up and tell what was going wrong.
And if the error is a "fatal type", then I want the program just display the ErrorForm (which gives some information about the error), wait for a button press, and then close the program (terminate run).
In case of error, the form is displayed.. That's good.
But as the program is supposed to terminate after showing the error form, the error form disappears immediately after showing up (so it doesn't allow the user any time to read what's going wrong).
How can I make the program wait until a button press (on the error form) and then terminate?
I'm trying to make a button that, when pressed, activates a function that detects mouse left click this way: whenever I left-click, it sends key 3 and then 1 (keyboard).
View 8 RepliesIs there a way in VB.NET to make an event when a button is long pressed? Like one thing happens when you only click it and another thing happens when you long click it ..
View 3 Replieshow to make the button color changed while we move mouse on it with play sound effect in the same time.
Ex:
My Button name = Search
Normally "Search" is black color while touch on it change to Blue color.
I currently have a working program that creates one colored pixel in a Bitmap, displays the bitmap in a pictureBox, and "jiggles" the pixel by making it move in a random direction by 1 pixel every time a button is clicked. I want to make the pixel move automatically until a Stop button is pressed.
[Code]...
I have been asked by a friend to make a basic timer that counts down from 3 mins and 1 mins intervals but at the end of it i have a Critical message box pop up with the sound to alert him that the time is up.i have set it so that once ok on the msg box is pressed the timer restarts..I am Just wondering if there is a way to just make sound for x seconds then the timer restarts without any button pressing?[code]
View 2 RepliesHey guys, I'm a new guy in VB.NET. I am proposing my final year project a title called music studio. My version of music studio is like real music video where we can play many sound at any time. For example, the application that I want to build can create many button and also add an audio along with it. And then, when we hit the 1st button, it play 1st audio. while 1st audio play, we also can hit 2nd button and 2nd audio is playing. for example, 1st audio is sound of man walking, and then 2nd audio is the sound of glass break. lastly 3rd sound sound of police siren play. Is it cool? so, my question is, is it possible the I can build an application by using VB.NET?
View 6 RepliesI am trying to make a blackjack program and I need to execute a different piece of code each time a button is pressed by the user.
View 5 RepliesI have a TextBox and set the MiltiLine property to true and AcceptsTab property to false.When the TextBox has focus and i press Tab it works fine and the next control get the focus, but when i press Ctrl+Tab it works as if AcceptsTab property is set to true and makes a tab character into the TextBox.The reason i press Ctrl+Tab.. when switching between forms in my MDI application.Now how to make a Ctrl+Tab when pressed works like Tab when pressed in a MultiLine TextBox?
View 1 RepliesMe and a friend are making an app which we need to play a sound when Form1 is started. How do we do this? I don't mind code.
View 2 Repliesim making a techno progam in visual basic 2008 and after 3 hour im think how to save the sound they make and catshing a sound recorder but what the code im try to find on internet but find 0 pleas give me the code im try to find
View 1 Repliesheey guys, befoure I explain the problem. I know some vb coding so you can just give me some codes and I can add it to the program. ok,
I want to make a html file with "tags" to make a music database,
<html>
<Song_Database>
<Song Number="1" Name="Memories" Artist="David guetta" Category="Pop">
</Song>
</Song_Database>
</html>
this is my first post. I just recently got vb and wish to learn a lot about it but I have no references...(book, good tutorial etc) I have always wanted to make applications for computers ever since I got on one 5-6 years ago. (I know you need code but I have no idea where to start. But, I am a fast learner.)
[Code]...
How to make a key being pressed do something?If 'w' is pressed, then...
View 2 Replies[code]how to make a ProgressBar will be long as a music file length
View 1 RepliesI added the WMP control to my project, but I can't figure out how to make the music I play through it loop!
View 1 RepliesHow do i make my button open a program and make it windows size?
View 6 RepliesI'm trying to make a gravity application (with speed readings/music player) for in the car.So I've found some sample code to create an event handler in C#, except I don't know any C#. This is the code to add an eventhandler:
motion.CurrentValueChanged += new EventHandler<SensorReadingEventArgs<MotionReading>>(motion_CurrentValueChanged);
How do I do this in VB.NET? as there is no CurrentValueChanged...
i want to make a be able to take apart an mp3 file to find the beats, and filter out different frequecies so i can make some lighting effects to go with the music. Does anyone know how i could do this in VB?
View 3 RepliesWhat i want to do is make a music player that will play a song in the .exe format, so an app will open and automatically play a song. This is to prevent ripping and copyright issues. I made a app using the WMP Com Component but that of course requires the file to be opened.
View 2 Replieshow to make a button get clicked when a key is pressed. The key I want to press is ctrl and I want it to press Button1.
View 5 RepliesIve been wondering how to do this in Vb easly for awhile but Ive found no real solutions. So far everythign in Vb has a easy way to accomplish a goal from what I've seen. So I'm hoping someone will have a simple solution to this question. I'm making a simple game and I want background music to play in the background. An I want sound FX's to play with out stopping the background music from playing. Best thing I can think of would be a loop but every time I play a new sound, it stops the other sound. So how would I accomplish this task?
View 1 RepliesHow i can get the beep sound in vb.
View 3 Replieshow to Make a Sound Recorder . Who Record System sounds
View 8 RepliesSpeak in basic, i dont know alot about vbI like.[code]...
View 1 RepliesI know the answer to this is out there somewhere, but my Google isn't being much help on this one. I am trying to make my combobox run an event when the enter key is pressed. Here is my code.
Private Sub CmbQuery_KeyPress(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyPressEventArgs) Handles CmbQuery.KeyPress
If e.KeyChar = Chr(13) Then
SearchEvent()
End If
End Sub