What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » ActiveX ADODB.Stream

ActiveX ADODB.Stream
Author: Message:
MeEtc
Patchou's look-alike
*****

Avatar
In the Shadow Gallery once again

Posts: 2200
Reputation: 60
38 / Male / Flag
Joined: Nov 2004
Status: Away
O.P. ActiveX ADODB.Stream
I had someone contact me just now reporting that part of my script is not working anymore. Looking in the script debugging, this is what shows:
code:
Error: El servidor de Automatización no puede crear el objeto (código: -2146827859).
       Archivo: util/util_string.js. Línea: 138.
La función OnWndFirstConfigEvent_CtrlClicked devolvió un error. Código: -2147352567

Line 138 in util_string.js is this:
Javascript code:
function StringToBinary(strAscii)
{
    var fstream = new ActiveXObject("ADODB.Stream"); 
    //Write ascii to stream
    fstream.Type = 2; //adTypeString
    fstream.CharSet = "ascii";
    fstream.Open;
    fstream.WriteText(strAscii);
   
    //Read binary from stream
    fstream.Position = 0;
    fstream.Type = 1; //adTypeBinary
   
    return fstream.Read;
}

So it seems that the ActiveX is not loading properly. Tried doing the reverse of what this MS article says to DISABLE the ActiveX, but did not work. any other ideas?
[Image: signature/]     [Image: sharing.png]
I cannot hear you. There is a banana in my ear.
03-22-2009 05:34 AM
Profile PM Web Find Quote Report
« Next Oldest Return to Top Next Newest »


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On