Hi.

I installed HS+ when it was in beta, later uninstalled it. After that
my Studio VTOM scripts stopped working, they threw an error on
ScriptX.Factory object initialization.

I just found a way to reregister ScriptX.Factory back to my CFS 4.5.1. You
can do it with:

regsvr32.exe /s "c:\Program Files\Allaire\ColdFusion Studio 4.5\MCScripX.dll"

Or in the scripts themselves use this:

try {
    objScriptX = new ActiveXObject("ScriptX.Factory");
} catch (err) {
    app.ShellToAppAndWait("regsvr32.exe /s \"" + app.AppPath + "MCScripX.dll\"");
    objScriptX = new ActiveXObject("ScriptX.Factory");
}

So if you have experienced the same problem after HS+ install/uninstall
or have multiple copies of CFS, then using this trick all Studio VTOM scripts
using ScriptX.Factory should run OK.

.erki

==^================================================================
This email was sent to: [email protected]

EASY UNSUBSCRIBE click here: http://topica.com/u/?bUrFMa.bV0Kx9
Or send an email to: [EMAIL PROTECTED]

T O P I C A -- Register now to manage your mail!
http://www.topica.com/partner/tag02/register
==^================================================================

Reply via email to