function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
rotvizrotviz 

I can´t execute a JavaScript in a Sforce Control

In the JavaScript appear an error in the line :

------------------
var binding = new ActiveXObject('SForceOfficeToolkit.SForceSession');
-----------------

and the error is "error ActiveXObject is not defined"


I would like to know how to resolve the problem, or if we need to install any package or something like this

I am using Windows XP and Internet Explorer.

Thanks.

Regards.

Víctor Alvarez
DevAngelDevAngel

Hi Victor,

You need to have installed the Office edition of salesforce.com to have that ActiveX control installed on your machine.

To determine if it exists check your registry.  If the toolkit has been installed and registered, you will have an set of keys in the registry at HKEY_CLASSES_ROOT\SForceOfficeToolkit.Field and so on.

rotvizrotviz
I have reinstalled the Office Toolkit and it works.

Thanks.

Víctor