我决定提供几个从早期绑定到后期绑定的示例,反之亦然,并为早期绑定提供必要的VBA参考库…
这些应该是了解哪些早期绑定声明需要哪些参考库的很好的起点,同时也有助于任何想要向任一方向转换的人。
我希望这对你们中的一些人有所帮助!
以下是迄今为止提供的示例:
Microsoft Access XX.X Object Library
Microsoft ActiveX Data Object X.X Library
Microsoft ADO Ext. X.X for DDL and Security Object Library
Microsoft DAO 3.6 Object Library
This is a special case as there can be 2 distinct Libraries used here depending on the targetted database!
Microsoft Excel XX.X Object Library
Microsoft Internet Controls
Microsoft HTML Object Library
Microsoft PowerPoint XX.X Object Library
Microsoft Scripting Runtime
Microsoft Speech Object Library
Microsoft Windows Image Acquisition Library vX.X
Microsoft Windows Installer Object Library
Microsoft Word XX.X Object Library
Microsoft XML
Microsoft VBScript Regular Expressions
Microsoft WMI Scripting VX.X Library
Note: There are different namespace that can be used ‘\root\cimv2’.
Microsoft Script Control 1.0
Note: Does not work in 64-bit! Refer to: https://github.com/tablacus/TablacusScriptControl
Windows Script Host Object Model
Microsoft Shell Controls And Automation