Quick Find: Search for:

 Total Access Components
Control Tour

Return to Components Home
 

 
 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

About Box

AVI (Video)

Bitmap Effects

Border
Browse for Folder New!
CD Player
Clipboard
Clock
Common Dialogs
Date Time Picker New!
Digital Display
Enhanced Button
Gauge
Icon Menu
INI File
Marquee
Notes
Popup Menu
Progress Meter
Registry
Resize
Slider
Spin Button
Splitter
System Info
Tab Strip
Text Effects
Timer
Wave
 

Total Access Components Tour: Wave

The Wave control lets you play Windows digitized audio *.WAV files and MIDI sequences through your PC’s sound card. You can play, pause, stop, and rewind these audio files, and set repeat play.

Note: For this control to work, your machine must already have the correct hardware devices and software drivers.

Using the Wave Control

Place a Total Access Components Wave control on your form. After placing and naming the control, use the Property Window to specify the name and path of the WAV or MIDI file, or write the appropriate VBA code to set the FileName property. Note that you do not have to identify the file’s type as WAV or MIDI; the control does this automatically. Use the Play, Rewind, Pause, or Stop methods to control the file.

Stopping and Rewinding

The Stop method stops playing the file and rewinds to the beginning. If the Play method is called and the file plays until completion, the control also rewinds to the beginning.

Wave Properties

Name

Description

FileName The path and name of the WAV or MIDI file.
Repeat Whether the file is replayed.
RepeatCount How many times to repeat play (integer value).

Wave Methods

Name

Description

Pause Pauses the sound file.
Play Plays the sound file.
Rewind Rewinds the sound file to the beginning.
Stop Stops and rewinds the sound file.

Wave Events

Name

Description

OnReplay Fires when play starts over.
Questions  l   Web questions: Webmaster   l   Copyright © 2008 FMS, Inc.

Celebrating 21 Years of Software Excellence