Hi!
Im using the VIX API 1.5 and Im trying to get some properties like vmPowerState by the function GetProperties.
I tried it with that code:
.....
Dim properties As Object
Err = CType(vm, VixCOM.IVixHandle).GetProperties(propertyIDS, properties)
.....
After failing with that call, cause of the null reference exception, I thought I have to insert something like "ByRef" in the call. But thats not really possible..
The VIX Reference Guide says: "This function does not apply in VBScript, since it is not possible to access the IVixHandle interface of an object."
So, there's no possibility to get properties like the current state when using Visual Basic?
Thanks and Regards!