ACC: Microsoft Access Is Visible When Started Through AutomationLast reviewed: August 29, 1997Article ID: Q167659 |
The information in this article applies to:
SYMPTOMSAdvanced: Requires expert coding, interoperability, and multiuser skills. When you create an instance of Microsoft Access using Automation, the Microsoft Access application window is visible automatically. This article assumes that you are familiar with Visual Basic for Applications and with creating Microsoft Access applications using the programming tools provided with Microsoft Access. For more information about Visual Basic for Applications, please refer to your version of the "Building Applications with Microsoft Access" manual.
RESOLUTIONUse the CreateObject function to start a new instance of Microsoft Access, and then use the Windows application programming interface (API) procedure, ShowWindow, to hide the instance.
STATUSMicrosoft has confirmed this to be a problem in Microsoft Access 7.0 and 97. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.
MORE INFORMATIONMost applications are not visible by default when you activate them with Automation. Although Microsoft Access exposes a Visible property, it does not hide or show the instance of Microsoft Access. Instead, the Visible property controls whether or not Microsoft Access is minimized.
Steps to Reproduce Problem
REFERENCESFor more information about using Microsoft Access as an Automation server, please see the following article in the Microsoft Knowledge Base:
ARTICLE-ID: Q147816 TITLE : ACC: Using Microsoft Access as an Automation Server |
Additional query words: OLE
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |