Indicates a file failed to start automatically.
Private Sub object_AutoStartFailure Result
Parameter Description Result A Long value specifying why the file failed to start.
This event is called only when the following are all true:
- FileName was set at design time
- AutoStart was set to True at design time
- The file specified in FileName was not opened for some reason (file not found, invalid data, and so on)
When FileName fails to find a file during run time, it sends an error message and AutoStartFailure is not called. The Error event is recommended for general error trapping.
Return to Player Control Reference.
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.