Make A Program In VB Make A Sound When It Starts?
Jun 9, 2011Me 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 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 RepliesI know the code to make labels invisible but i dont know how to make them invisible as soon as the program starts. where would i have to put the code fro that to work?
View 2 RepliesI wan't to make a button in my program that opens it when the computer starts up but how would I do that? I am using Visual Basic 2008 Express Edition.
View 4 RepliesI am currently working on a launcher, and it must consist of the following:
- one main routine being called, NO WINDOW may be created at any times after or before this main routine.
- one small form called by the main routine if a certain command was sent through the Command (shortcut).
At this point I use a Windows Form, but it seems a little useless to create and initialize a form if you won't even use it. Any way to make a routine run when my program starts without showing any window? But still make it possible to show that small dialog?
I did this at first but it seems a bit dangerous:
'NOTE: The following procedure is required by the Windows Form Designer 'It can be modified using the Windows Form Designer. 'Do not modify it using the code editor.
<System.Diagnostics.DebuggerStepThrough()> _
Private Sub InitializeComponent()
Main()
End Sub
Sub Main()
'Code to run here
End Sub
It starts another program (process) which has a GUI, so I do not want to display a console window.
How can I make a program to record sound from the microphone? I've tried lots of thing but they don't work. Can someone show me how to do ths using winmm.dll or DIrectx?
View 4 Replieshow to make program wich can sound my voice when i push on the button and say something using microphone?
View 1 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 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 RepliesHow can I make my app perform an event (in this case updating) on the first run, and every five starts after that? So on the first, then the fifth, then the tenth etc. I know I could do it by adding 1 to a settings variable every startup, but I can't figure out how to check if it is a multiple of five. Or is there a better way?
View 9 Repliesi just want a program that start automatically.
View 5 RepliesI am trying to make an application which will list all processes in a string when it starts. After it has listed them all I enable my timer, and in the timer there gets checked if the process is in the process list (string), and if it isn't it will add it to my listbox. The only problem is, it's not working, it's never adding an item.
vb.net
Public Class Form1 Dim AllProcesses As String Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load 'The first check For Each p In System.Diagnostics.Process.GetProcesses() If AllProcesses = "" Then AllProcesses = p.ProcessName Else AllProcesses += "|" + p.ProcessName End
[code]....
How 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 am trying to build a small program which will allow some one to click on the exit button and the sound will play and at the end of the sound the program will then close. The sound clip is about 3 seconds long Here is what I have:
Imports Microsoft.DirectX
Imports Microsoft.DirectX.DirectSound
Public Class Form1
Private Dsound As CSoundDevice
[code]....
I'm making an application in VB Express in which when a key is pressed (for example- the 'f' key) a sound plays. How could I make a specific key event for each sound? I have seen the KeyPress event, and I don't know if this is what I'm looking for.
View 3 RepliesI made a program that has mp3 files in resources when I published it I found that it doesn't work in other pcs only mine now what should I do?
View 1 RepliesHere is the code that I have that plays a certain sound
Dim Alarm As System.Media.SoundPlayer = New System.Media.SoundPlayer(Steven_Anderson_HW5.My.Resources.Alarm)
Alarm.Play()
Well, is there a way to make the sound repeat itself after it is done playing?
I cannot find a way to make a program that I write make a shortcut in the start menu for all users.My final goal is to make an MSI and deploy it in group policy to all users on a computers OU. Is this possible?
View 5 RepliesHow do i make my button open a program and make it windows size?
View 6 RepliesFor a school project I need to make a timer with a bell sound that sounds every 60 seconds in VB, I cannot work out how to make the bell sound on the 60th second, I am not getting any errors in the VB console, so I assume that I am just using the wrong code or it is in the wrong place.
Public Class OSCETimerControl
Dim t As Integer
Dim s As Integer
Dim a As Integer
[CODE]..........
There are actually 3 text boxes (not yet coded the final one) one for minutes, one for seconds and the final one is for the bell sound which will not be visible.
how 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 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 Replieswhat im trying to do= make a program that will make multiple accounts
[code]...
ok what i type in textbox(es) "1" i want it typed on a "3"{a website=www.justin.tv/signup} when i hit the "2"[button1]i really dont have any idea what im doing i know ill need to have a webrowser to load the justin.tv/signup but i have no clue what the name of the boxes are called on the webpage
I want to make that program starts when computer starts. I have no idea how to do that.
View 4 RepliesHow to make when the error shows "can't find main.exe to have sound"[code]....
View 18 RepliesHow can you add a image where when you double click on the icon and the program starts it shows a picture before the program loads. Like Photoshop startup or the new 2010 visual Basic express start up
[Code]...
If e.CommandLine.Count > 0 Then
Dim IncomingCommand As String = e.CommandLine.Item(0).ToString
If IncomingCommand.Substring(0, 2) = "-1" Then
form1.close()
End If
End If
I am trying to make the program close if the -1 string is sent with the program. See my installer allows for me to run certain programs before it actually installs, but it doesn't shut down copies of the program itself. So I have a next startup instance set to shut the program down if the -1 is received. But if the program is not running it starts up instead. This is not desired. form1.close doesn't work. e.cancel = true doesn't work, etc etc. What can I do to make the program not start during this instance.
I made vb.net program for 1440x900 resolution, if i run my program on 800x600 or 1024x768, my program's resolution is bigger then windows, so i have problem with resolution. Now i want to change my program's size and i am interested in, wich resolution is correct to make program, 800x600 such as minimum?
View 9 RepliesHow do I make a program that opens a file in the folder the program is stored?
View 6 Replies