Hi all, I want to create version independent VB6 ActiveX dll for AutocadMaps (2004,2005,2006). Your sugestion how to do this?? In my opinion: With AutoCAD everithing is ok sample code: public g_acadProgr as Object Set g_acadProgr = GetObject(, "AutoCAD.Application") If Err Then Err.Clear If Err Then msgbox "No acad runing" Exit Sub End If End If but Map is interface object of AutoCad and I can access it with: Set g_amap = g_acadProgr.GetInterfaceObject("AutocadMAP.Application.2") '2004 Map "AutocadMap.Application.3" 'in 2005 Map Now I thinking how to get version of AutocadMap user is running and calling my dlll.... do ACADVER System Variable hepled me?? Or another soliution to put this string (AutocadMap.Application.3) into a registry when setup program of my application runs.... Thank you for any sugestions.