Forum Discussion
mithileshmaurya
Occasional Contributor
var object = Connect.Sys["Browser"]("chrome");
This line when run through visual studio give me the error "Cannot create ActiveX component"
agapych
8 years agoNew Contributor
mithileshmaurya wrote:var object = Connect.Sys["Browser"]("chrome");
This line when run through visual studio give me the error "Cannot create ActiveX component"
I had the same issue when trying to use Connected apps on some environments.
The root cause of the issue was that TestComplete DLLs referenced in my C# project had lower version (TC10) than the TestComplete version installed on the environment (TC11).
After updating the referenced DLLs to the ones from TC11 the problem was fixed.