Jump: Search:

Total Visual SourceBook

Total Visual SourceBook CD and Printed Manual

Microsoft Access 2007/2010 Version
is Shipping!

New features in Total Visual SourceBook for Access, Office 2007 and VB6

Supports Access/Office 2010 (32 bit), 2007, 2003, 2002, 2000, and
Visual Basic 6.0!

Also available for:
Access 97/95


View all FMS products for Microsoft AccessAll Our Microsoft Access Products

SourceBook Info:

Why SourceBook?

 

"The code is exactly how I would like to write code and the algorithms used are very efficient and well-documented."

Van T. Dinh, Microsoft MVP

 

 

 

 

 
Royalty free source code library modules for Microsoft Access, VB6, VBA, OfficeRoyalty free source code library modules for Microsoft Access, VB6, VBA, OfficeVBA and VB6 Source Code Library Download the free trial version of Total Visual SourceBook for Microsoft Access, Office, VB6 and VBA
Category: General VBA/VB6 : Multimedia
Description: Multimedia support for AVI and WAV files, CD and MIDI devices, and telephone/modem TAPI

Class: CAVI

Class that plays AVI files using the MCI (media control interface) API

This class allows you to interact with AVI movies without using the Microsoft Multimedia Control. This class also allows you to play movies on your form. With the Microsoft Multimedia Control you can only play movies in a separate window.

Procedure Name

Type

Description

(Declarations) Declarations Declarations and private variables for the CAVI class
FileName Property Sets the FileName of the AVI file to play.
Height Property Sets the height of the playback window, in pixels.
hwnd Property Gets handle of the AVI window.
hWndParent Property Sets the handle of the parent window. This property is only valid after calling the OpenAVI method.
Left Property Sets the left position of the playback window in pixels, relative to the parent window
Length Property Gets the length of the AVI movie
Position Property Gets the current playback position.
Stretch Property Gets the value of the stretch flag.
Top Property Sets the top position of the playback window in pixels, relative to the parent window.
Width Property Gets the width of the playback window.
Class_Terminate Terminate Make sure the AVI file is closed
CloseAVI Method Close the AVI file
OpenAVI Method Open the AVI file. This method must be called before attempting to play the AVI file.
Pause Method Pause the playback
Play Method Play the AVI file
PositionMovieWindow Private Position the movie playback window. If stretch is True then make playback window the size indicated in the width and height properties. Otherwise size it to the size of the movie starting at the left and top properties All measurements are in pixels
Rewind Method Rewinds the movie
StopPlay Method Stop the AVI play

Overview of Total Visual SourceBook

The source code in Total Visual SourceBook includes modules and classes for Microsoft Access, Visual Basic 6 (VB6), and Visual Basic for Applications (VBA) developers. Easily add this professionally written, tested, and documented royalty-free code into your applications to simplify your application development efforts.

Additional Resources

Feedback

Contact Us  l   Web questions: Webmaster   l   Copyright © FMS, Inc., Vienna, Virginia
Celebrating our 26th Year of Software Excellence