allexkym
Member
In my WinCC Runtime program, I have to declare these variables:
Dim AllProperties As HMIProperties
Dim objProperty As HMIProperty
Dim objDynamic As HMIVariableTrigger
How can I declare them in VBS? I tried this:
Dim AllProperties
Set AllProperties = CreateObject("grafexe.HMIProperties")
'grafexe is the library of HMIProperties
And this:
Set AllProperties = CreateObject("HMIProperties")
But they didn't work.
Does anybody have any idea to do it?
Thanks,
Alex Dias de Oliveira
Dim AllProperties As HMIProperties
Dim objProperty As HMIProperty
Dim objDynamic As HMIVariableTrigger
How can I declare them in VBS? I tried this:
Dim AllProperties
Set AllProperties = CreateObject("grafexe.HMIProperties")
'grafexe is the library of HMIProperties
And this:
Set AllProperties = CreateObject("HMIProperties")
But they didn't work.
Does anybody have any idea to do it?
Thanks,
Alex Dias de Oliveira