FileName PropertyFileName Property*
*



Contents  *



Index  *Topic Contents
*Previous Topic: EnableTracker Property
*Next Topic: FilterGraph Property

FileName Property

Specifies the name of the source data file.

Syntax

[form.]object.FileName  [ = string ]

Settings

stringName of the file that contains the multimedia stream.

Data Type

String

Remarks

The ActiveMovie Control asynchronously opens the file specified by this property at run time. This means that an application must receive the ReadyStateChange event with an amvInteractive or amvComplete value before attempting to call the Run method.

When designing an application using Microsoft® Visual Basic® that uses the ActiveMovie Control, you can choose the media source file at design time. After you add a control to the application, fill in the full path to the media file as the value for the FileName property in Properties. You can also double-click the "..." value in the uninitialized FileName property and its property page will appear. If you click the Browse button, you can pick the desired source file from the Open dialog box.

Run-time access: read/write. Design-time access: read/write.


Up Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.