In general, an AutoCAD automation project created in the VBA IDE or created with Visual Basic 6 should work with AutoCAD 2009.
AutoCAD 2009 automation projects use the same type library (acax17enu.tlb) as AutoCAD automation projects. The type library is located in C:\Program Files\Common Files\Autodesk Shared.
AutoCAD 2009 automation projects also use the same version-dependent ProgID for the CreateObject, GetObject, and GetInterfaceObject methods. For example, if you are using the CreateObject function in an AutoCAD automation project, you use CreateObject ("AutoCAD.Application.17"). If an automation project uses version-independent ProgIDs, change the project to use version-dependent ProgIDs.