Creating ActiveX Object in LotusScript

How can I create an ActiveX object in LotusScript?

I am trying to open a URL and pass it some data arguments from a LotusScript agent (Notes client).

For example, in Javascript, I would do the folowing:

var objHTTP = new ActiveXObject(“microsoft.XMLHTTP”);

objHTTP.Open(‘POST’,'?d1=value1&d2=value2, false);

objHTTP.send(abc);

…

How could I accomplish the same via a LotusScript agent? Any help would be much appreciated. Thanks!

Subject: Creating ActiveX Object in LotusScript

Use CreateObject().

Subject: Lotusscript version

Dim objHTTP as Variant

Set objHTTP = CreateObject(“microsoft.XMLHTTP”)

Call objHTTP.Open(‘POST’,'?d1=value1&d2=value2, false)

Call objHTTP.send(abc)

Thomas - IBM