ACC97: "Unable to Open AVI File" Error Using Animation Control

Last reviewed: June 2, 1997
Article ID: Q162978
The information in this article applies to:
  • Microsoft Access 97

SYMPTOMS

Moderate: Requires basic macro, coding, and interoperability skills.

When you use the Animation control to display animation on a Microsoft Access 97 form, you may receive the following error message:

   Run-time error '35752':
   Unable to open AVI file

NOTE: The Animation ActiveX control is installed by Microsoft Office 97 Developer Edition.

CAUSE

You used an unsupported animation file (*.avi) with the Animation control. The control only supports uncompressed .avi files or .avi files compressed using Run-Length Encoding (RLE), and .avi files without sound data.

RESOLUTION

Replace the .avi file you are using in the Animation control with one that is uncompressed or compressed with RLE, and has no sound data.

MORE INFORMATION

You can use the Animation control to display .avi files on a form. For example, you can call the Play method of an Animation control when you click a button on a form, and the control will play the .avi file.

The Animation control is only visible in Design view. In Form view, you do not see the control; you only see the animation it plays.

You can obtain information about an .avi file by viewing its properties. In Microsoft Windows 95 and Microsoft NT version 4.0, use the right mouse button to click the .avi file, and then click Properties. In Microsoft Windows NT version 3.51, select the file in File Manager, and then click Properties on the File menu. The Audio Format property must be blank, and the Video Format property must reference MS-RLE or no compression format at all.

REFERENCES

For more information about using the Animation control, search the Help Index for "Animation control."


Additional query words: ODE custom control OLE err msg
Keywords : IntpCstm kberrmsg kbusage
Version : 97
Platform : WINDOWS
Hardware : X86
Issue type : kbprb
Resolution Type : Info_Provided


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: June 2, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.