Use version-dependent ProgIDs.
For example, if you are using CreateObject, instead of :
CreateObject ("AutoCAD.Application"), use
CreateObject ("AutoCAD.Application.16") for AutoCad2004.
For AutoCAD 2002, use CreateObject ("AutoCAD.Application.15").
Mala Singh
'Dare to Imagine'