I am trying to create a simple app using the VIXCOM 1.1 API and Visual Basic 2005 Express however I keep getting a COM error I can't seem to fix. The error is "Type mismatch. (Exception from HRESULT: 0x80020005 (DISP_E_TYPEMISMATCH))" when I try to execute the below code:
libv = CreateObject("VixCOM.VixLib")
job = libv.Connect(VixCOM.Constants.VIX_API_VERSION, VixCOM.Constants.VIX_SERVICEPROVIDER_VMWARE_WORKSTATION, Nothing, 0, Nothing, Nothing, 0, Nothing, Nothing)
Has anyone succesfully connected to VIXCOM using VB.NET?