Go4Expert

Go4Expert (http://www.go4expert.com/)
-   Visual Basic ( VB ) (http://www.go4expert.com/forums/visual-basic/)
-   -   Making Sound in VB6 (http://www.go4expert.com/forums/sound-vb6-t7196/)

jodarox 6Nov2007 09:53

Making Sound in VB6
 
Hello everyone!
Good day! I have one question about making a sound not just a beep in VB6 but a wave sound like OS does. Thank you and more power. :)

pradeep 6Nov2007 17:57

Re: Making Sound in VB6
 
Multimedia Controls

There is more than one way we can use these different forms of media. One way is to use ActiveX controls to control them. There is one main control in VB which does this, called the (you guessed it!) Multimedia Control. Here is a list of all the multimedia controls, and what they can do:
Code:

+----------------------+-----------------------------------------------+-----------------------------------+
| Name                        |Belongs to                                        |Description                          |
+----------------------+-----------------------------------------------+-----------------------------------+
|Multimedia Control        Microsoft Multimedia Control                        Plays CD's and audio files          |
+----------------------+-----------------------------------------------+-----------------------------------+
|Image Control                Standard Toolbox                                Displays a specified image          |
+----------------------+-----------------------------------------------+-----------------------------------+
|Picture Box                Standard Toolbox                                Allows you to resize an image etc. |
|                                                                        More advanced than Image Control  |
+----------------------+-----------------------------------------------+-----------------------------------+
|Animation Control        Microsoft Common Controls-2 Version 5.0/6.0        Plays animations (*.avi)          |
+----------------------+-----------------------------------------------+-----------------------------------+

You will probably find that some of these controls are not on your standard components toolbar. To add it, select the Project menu, and click Components. This is located near the bottom of the menu. Scroll down the list of available components, and check the box next to the item in the Belongs To column. For example, if you want to use the Animation Control, check the box next to Microsoft Common Controls. Then click OK. You will now see a new icon in your toolbox.


All times are GMT +5.5. The time now is 09:21.