|
-
Apr 5th, 2009, 06:21 AM
#1
Thread Starter
PowerPoster
Play alarm for each time
with vb6 + access03
.............................
i have a field time(date/time)
how to accomplish this please
i want to play a music file for each record set in a table.
if _
for each recordset.value = now() then
playmusic() '
next
end if
please guide me..
...
for each
-
Apr 5th, 2009, 07:17 AM
#2
Re: Play alarm for each time
Load all of the times from the database and store them somehow - I would recommend an array or collection.
Then add a timer to your form with an apt Interval value, and put code in it similar to what you posted.
If you don't know how to play a sound file, see the "Multimedia" section of our Classic VB FAQs
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|