Lost Password?


Go Back   CodeCall Programming Forum > Software Development > Visual Basic Programming

Visual Basic Programming Discussion forum for Visual Basic, an event driven programming language and associated development environment from Microsoft for its COM programming model.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 08-30-2006, 12:46 PM
skilletsteve skilletsteve is offline
Learning Programmer
 
Join Date: Aug 2006
Posts: 45
Credits: 0
Rep Power: 9
skilletsteve is on a distinguished road
Default Using Timer to repeat a sound Question

How do I make a sound repeat a specific number of times?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

Sponsored Links
  #2 (permalink)  
Old 08-30-2006, 01:59 PM
TcM's Avatar   
TcM TcM is offline
Code Warrior
 
Join Date: Aug 2006
Location: In a technologic world :p
Posts: 8,332
Credits: 0
Rep Power: 68
TcM is a glorious beacon of lightTcM is a glorious beacon of lightTcM is a glorious beacon of lightTcM is a glorious beacon of lightTcM is a glorious beacon of light
Default

Make a variable in the General section ( ex. dim S as integer )
in the form_load event make ( S = 1 )
and in the timer event make
Code:
If S = 10 Then Timer1.Enabled = False Else SOUND COMMANDS ETC
S = S + 1
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Sounds and Sound Loop Resources TVDinner Website Design 0 03-10-2007 09:20 AM
Timer component not working in Service Application smith C# Programming 5 11-28-2006 09:22 AM
Question: Sound In WebPages skilletsteve HTML Programming 5 10-08-2006 01:52 AM
Problem adding timer in a text box Viper Managed C++ 6 09-24-2006 09:21 PM


All times are GMT -5. The time now is 07:58 AM.

Contest Stats

WingedPanther ........ 2656.49
Xav ........ 2576.41
Brandon W ........ 1698.26
John ........ 1207.73
marwex89 ........ 1175.24
morefood2001 ........ 959.05
dcs ........ 646.09
Steve.L ........ 475.59
orjan ........ 407.96
chili5 ........ 380.6

Contest Rules

CodeCall Goal

Goal: 100,000 Posts
Complete: 97%

Ads