Quantcast
Channel: VMware Communities : Popular Discussions - VIX API
Viewing all articles
Browse latest Browse all 34639

Using VIXCOM 1.1 with VB Express 2005?

$
0
0

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?


Viewing all articles
Browse latest Browse all 34639

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>