What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » [Question] Any way I can get a Winsock ActiveXObject working ?

[Question] Any way I can get a Winsock ActiveXObject working ?
Author: Message:
segosa
Community's Choice
*****


Posts: 1407
Reputation: 92
Joined: Feb 2003
RE: RE: [Question] Any way I can get a Winsock ActiveXObject working ?
quote:
Originally posted by Matty
quote:
Originally posted by Pai
Doesn't seem to work here |:

code:
function Test()
{
var ws = new ActiveXObject( "MSWinsock.Winsock.1" );
return 'abc';
}
doesn't return anything


code:
function Test()
{
//var ws = new ActiveXObject( "MSWinsock.Winsock.1" );
return 'abc';
}
returns 'abc'

Any ideas ? |:
Well when you use return "abc" your saying the return value of the function is "abc".

How about trying this :
code:

function Test(){
    var ws = new ActiveXObject( "MSWinsock.Winsock.1" );
    return ws.LocalIP;
}



What? No, when you use return 'abc' you return the string 'abc'. return abc; would attempt to return the function pointer. 8-)
The previous sentence is false. The following sentence is true.
06-07-2006 06:57 AM
Profile PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
[Question] Any way I can get a Winsock ActiveXObject working ? - by Pai on 06-06-2006 at 10:04 AM
RE: [Question] Any way I can get a Winsock ActiveXObject working ? - by -dt- on 06-06-2006 at 10:19 AM
RE: [Question] Any way I can get a Winsock ActiveXObject working ? - by Pai on 06-06-2006 at 05:46 PM
RE: [Question] Any way I can get a Winsock ActiveXObject working ? - by matty on 06-06-2006 at 07:25 PM
RE: RE: [Question] Any way I can get a Winsock ActiveXObject working ? - by segosa on 06-07-2006 at 06:57 AM
RE: [Question] Any way I can get a Winsock ActiveXObject working ? - by Pai on 06-06-2006 at 11:27 PM
RE: [Question] Any way I can get a Winsock ActiveXObject working ? - by CookieRevised on 06-07-2006 at 12:41 AM
RE: [Question] Any way I can get a Winsock ActiveXObject working ? - by Patchou on 06-07-2006 at 03:39 AM
RE: [Question] Any way I can get a Winsock ActiveXObject working ? - by L. Coyote on 06-07-2006 at 04:51 AM
RE: [Question] Any way I can get a Winsock ActiveXObject working ? - by Pai on 06-07-2006 at 06:43 AM
RE: [Question] Any way I can get a Winsock ActiveXObject working ? - by -dt- on 06-07-2006 at 06:52 AM
RE: RE: [Question] Any way I can get a Winsock ActiveXObject working ? - by Pai on 06-07-2006 at 11:39 AM
RE: [Question] Any way I can get a Winsock ActiveXObject working ? - by Patchou on 06-07-2006 at 08:50 PM
RE: [Question] Any way I can get a Winsock ActiveXObject working ? - by Pai on 06-07-2006 at 08:54 PM
RE: [Question] Any way I can get a Winsock ActiveXObject working ? - by CookieRevised on 06-08-2006 at 12:05 PM
RE: [Question] Any way I can get a Winsock ActiveXObject working ? - by Pai on 06-08-2006 at 02:58 PM
RE: RE: [Question] Any way I can get a Winsock ActiveXObject working ? - by CookieRevised on 06-08-2006 at 04:21 PM
RE: [Question] Any way I can get a Winsock ActiveXObject working ? - by Patchou on 06-08-2006 at 05:22 PM
RE: [Question] Any way I can get a Winsock ActiveXObject working ? - by Pai on 06-08-2006 at 07:22 PM
RE: [Question] Any way I can get a Winsock ActiveXObject working ? - by CookieRevised on 06-08-2006 at 07:33 PM
RE: [Question] Any way I can get a Winsock ActiveXObject working ? - by Pai on 06-08-2006 at 07:45 PM


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