The information in this article applies to:
SYMPTOMSWhen integrating Microsoft Visual Basic Applications (VBA) into applications written in languages other than Visual Basic, developers may receive errors such as APC_E_NOPERMISSION when calling methods on the IApcStorage, IApcStream, and IApcGlobal interfaces. CAUSEThe IApcStorage, IApcStream, and IApcGlobal interfaces were developed for use within Visual Basic only. Visual Basic is currently unable to use the standard Structured Storage interfaces that VBA uses to load and save projects. The IApcStorage, IApcStream, and IApcGlobal interfaces provide automation capable wrappers so that VBA can be integrated into Visual Basic Applications. RESOLUTIONFor non-Visual Basic applications, the IPersistStorage and IPersistStream interfaces should be used instead of IApcStorage and IApcStream. The IApcGlobal interface wraps standard COM API's that should be used instead of IApcGlobal in non Visual Basic Applications. STATUSThis behavior is by design. Additional query words: VBASDK
Keywords : kbSDKVBA kbGrpDSO kbDSupport |
Last Reviewed: November 1, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |