Making Sound in VB6

Discussion in 'Visual Basic ( VB )' started by jodarox, Nov 6, 2007.

  1. jodarox

    jodarox New Member

    Joined:
    Nov 1, 2007
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    0
    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. :)
     
  2. pradeep

    pradeep Team Leader

    Joined:
    Apr 4, 2005
    Messages:
    1,645
    Likes Received:
    87
    Trophy Points:
    0
    Occupation:
    Programmer
    Location:
    Kolkata, India
    Home Page:
    http://blog.pradeep.net.in
    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.
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice