I have a VbScript file (.vbs) which works fine on my machine (i.e. no permissioning problems. I want to produce the equivalent in a webpage, using client-side vbscript. My current script is:
RT_FRV_UPDATED = 2
RT_FCV_VALUE = 32
RT_MODE_ONUPDATE = 3
set AdxRtlist = WScript.CreateObject("AdfinXRtLib.AdxRtList","EventListner_")
FieldArray = AdxRtlist.ListFields(itemName, RT_FRV_UPDATED, RT_FCV_VALUE)
If VarType(FieldArray) <> vbEmpty Then
For i = LBound(FieldArray, 1) To UBound(FieldArray, 1)
WScript.echo "[" & ItemName,"]" & " " & FieldArray(i, 0) & ", " & FieldArray(i, 1)
I have tried to convert this, but with no success. Converting the output display isn't a problem, but the issue is creating the ActiveX object, and handling the events produced.
Can anyone advise how the syntax needs to be changed?