Visual Basic for Applications 6.5 SDK Changes from Prior Release

Core VBA (VBE6.dll )

The majority of fixes took place in VBE6.dll to enhance stability and security.

Fixes for instabilities reported through Windows Error Reporting

Fixes specifically designed to enhance the stability and security of VBE

Sendkeys() support on Vista

Sendkeys calls fail on Vista due to code access permission changes in the OS.

More robust handling of documents that contain many ActiveX controls.

Documents with large numbers (hundreds) of ActiveX controls could crash or hang the host application.

IDispatch::Invoke does not fire events when the application is in a modal state

An example would be when the host application displays a modal progress dialog while VBA code is executing. This situation does not occur when using ITypeInfo::Invoke.

Mouse wheel support fixed in the VBA code window

Support for Data Execution Prevention (DEP), also known as No Execute (NX) added to VBA. A detailed description o f DEP can be seen at https://support.microsoft.com/kb/875352.

SDK (APC65.dll)

Additional issues were fixed that were reported by customers through Summit Software or directly to the VBA SDK team.

Some applications unable to open document when VBE and APC versions are mismatched.

Some applications fail during .EXD (extended type library) file creation on Vista.

MFC71 and APCMFC.H header files updated to resolve the following build issues in Visual Studio 7.0, 7.1 and 8.0.

  1. Error when building Unicode application error generates the following error.

    c:\program files\vba6sdk\include\apcmfc.h(381) : error C2065: 'm_nDisablePumpCount' : undeclared identifierc:\program files\vba6sdk\include\apcmfc.h(357) : while compiling class template member function 'BOOL MSAPC::CApcApplication<T>::PumpMessage(void)'
  2. VBA IDE not operating correctly when in a modal state. Event processing can hang if significant time when using the following call: OnIdle == True setting and the subsequent WaitMessage()

Shared Files Installer (vbaof11.msi)

The VBA 6.5 shared files installer has been tested by VeriTest under the "Microsoft Certified for Windows Vista" program.