Login ActiveXObject

Is it still possible to use this code to login to Sage CRM?

var username = "Admin";
var password = "";
var CRM = new ActiveXObject("eWare.CRM");
CRM.FastLogon = 3; //this prevents the meta data from loading.
CRM.Logon(username,password);

When I use this, I am getting the following error...Automation server can't create object

Which shows it is failing on this line...

var CRM = new ActiveXObject("eWare.CRM");

Not sure what I am doing wrong.  Any assistance would be greatly appreciated.  Thanks!

Parents Reply Children