Re: Get ClassID of different versions of program with same ProgID

2007-06-01 Thread ilocke
AutoCAD.Application.16 opens 2004, but I tried numbers before and after and nothing opend up 14. I figured out a way to find it though. I was using pythoncom.GetClassFile on the AutoCAD executable instead of a drawing file. I used it with .dwg twice while associated to each of the versions, and i

Re: Get ClassID of different versions of program with same ProgID

2007-06-01 Thread Matimus
Bummer you can't look into the registry. By convention the ProgID is named ... Also, usually there is a version independent ProgID that goes .. The version independent ProgID usually points to the newest version. It looks like that is what you are using. Many programs get away with not using those

Get ClassID of different versions of program with same ProgID

2007-06-01 Thread ilocke
Hello, I am new to Python and COM, but both seem very useful for automation as AutoCAD, ArcGIS, and my gps software all have COM interfaces and ArcGIS actually uses python scripts. My trouble is that I am running two versions of AutoCAD (14 and 2004). The problem is that both have the same ProgID