Message 1 of 5
Finding basic ACAD version from registry

Not applicable
06-15-2003
03:29 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi,
My application need to know about existence of various AutoCAD installations in a PC, before it can start its work.
I just need to know the basic version ONLY. For example R15 for AutoCAD 2002 & ADT 3.3 and R16 for AutoCAD 2004 & ADT 2004
For that (just an example), i use the registry key, "HKEY_LOCAL_MACHINE\SOFTWARE\Autodesk\AutoCAD\R16.0\ACAD-201:409\Release" and get the value "16.0.0.086" for R16 and soforth for other versions.
The problem is ADT 2004 has a value for the above key which looks like "4.x.y.z" and not starts with "16."
Becuase of this my application fails and i am unable to RELIABLY (FUTURE PROOF IS NEEDED) know the version number.
It will be of a great help if any prodigies could assist!
Thanx in advance,
Regards
Narayanan
My application need to know about existence of various AutoCAD installations in a PC, before it can start its work.
I just need to know the basic version ONLY. For example R15 for AutoCAD 2002 & ADT 3.3 and R16 for AutoCAD 2004 & ADT 2004
For that (just an example), i use the registry key, "HKEY_LOCAL_MACHINE\SOFTWARE\Autodesk\AutoCAD\R16.0\ACAD-201:409\Release" and get the value "16.0.0.086" for R16 and soforth for other versions.
The problem is ADT 2004 has a value for the above key which looks like "4.x.y.z" and not starts with "16."
Becuase of this my application fails and i am unable to RELIABLY (FUTURE PROOF IS NEEDED) know the version number.
It will be of a great help if any prodigies could assist!
Thanx in advance,
Regards
Narayanan