Forum Discussion
I am using TestComplete 8.20.538.7.
So I got the Vestris code completion class to show up also, I am using Win7 64-bit which comes with .NET Framework 2.0 natively installed, but for some reason one of my coworkers upgraded this test computer to .NET Framework 4.0.
After uninstalling 4.0 and reverting to 2.0, the classes show up; I see that you say ver 8.0 has .NET 4.0 support but it doesnt seem to work in 4.0. This might be a problem because one of the applications we develop is in 4.0 (the other 20 are in 2.0).
Also, when I try to run the code, it recognizes my Vestris calls, but the line that connects to the workstation fails.
Code:
Set vmHost = dotNET.Vestris_VMWareLib.VMWareVirtualHost.zctor
vmHost.ConnectToVMWareWorkstation <---
Runtime error:
Vestris.VMWareLib.VMWareException: The specified version was not found
at Vestris.VMWareLib.VMWareInterop.Check(UInt64 errCode)
at Vestris.VMWareLib.VMWareJob..ctor(IJob job, VMWareJobCallback callback)
at Vestris.VMWareLib.VMWareVirtualHost.Connect(ServiceProviderType serviceProviderType, String hostName, Int32 hostPort, String username, String password, Int32 timeout)
at Vestris.VMWareLib.VMWareVirtualHost.ConnectToVMWareWorkstation()
I researched that error on google and vmware forums but didnt really find anything useful. Any ideas? Michael are you able to connect to your workstation via this code or some other code?