Ingrid: ActiveX

Beitrag lesen

Hallo

Ich habe da so ein Problem mit ActiveX. Ich moechte ein Polygon am Bildschirm auswaehlen. Dazu habe ich folgenden Code:

--------------
var LocObj, ObjPos, SelObj, ObjNam;

LocObj = ExecACGMMLCommand("promptlocation");
 ObjPos = ExecACGMMLCommand("querylocation");
 alert(ObjPos);
 SelObj = ExecACGMMLCommand("selectproperty -sheet A  -polygonlocation " + ObjPos);
 ObjNam = ExecACGMMLCommand("queryobject -name -all");
 alert(ObjNam);
---------------
das Ganze funktioniert bis zum alert(ObjPos). Demzufolge ist irgendwas im "selectproperty"-Teil falsch. Nur was?

Dank&Gruss
Ingrid