GetObject 与Automation的关系是什么??
这是AutoCAD VBA的帮助文件
通过 Automation,AutoCAD 提供了由 AutoCAD 对象模型描述的可编程对象。这些可编程对象可由其他应用程序创建、编辑和操纵。可以访问 AutoCAD 对象模型的应用程序是 Automation 控制程序,使用 Automation 操纵另一个应用程序的最常用工具是 Visual Basic for Applications (VBA)。这种形式的 Visual Basic 在许多 Microsoft Office 应用程序中作为一个部件出现。用户可以使用这些应用程序或其他 Automation 控制程序(例如 Visual Basic 和 Delphi)来驱动 AutoCAD。
GetObject(, "Excel.Application") '起动Excel
GetObject(, "AutoCAD.Application") '起动Excel
请问:
Automation与GetObject关系是什么?