What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Skype & Technology » Tech Talk » Getting the "What I Am Listening to Now" as a variable in VB or C++

Getting the "What I Am Listening to Now" as a variable in VB or C++
Author: Message:
the DtTvB
Junior Member
**


Posts: 47
Reputation: 10
– / Male / –
Joined: Mar 2007
Status: Away
RE: Getting the "What I Am Listening to Now" as a variable in VB or C++
I think it would be hard to get it in VB or C.
But..... you can export!

For example, consider this code:
code:
function create_xh() {
try { return new ActiveXObject("Microsoft.XMLHTTP"); }
catch ( e ) {
try { return new ActiveXObject("Msxml2.XMLHTTP"); }
catch ( e ) { return false; }
}
}

is used to create an XMLHttpRequest object
(the same one used in web to make ajax requests)


Then, create a GET request to a URL.. For example your website is located at http://127.0.0.1/ and you make a file called setmypersonalmessage.php so the script can send the request to it.

code:
xh.open ('GET', 'http://127.0.0.1/setmypersonalmessage.php?' + 'password=abcdefg&s=' + encodeURI(Messenger.MyPersonalMessage), true);
xh.send ('');

The script in your web should be used to...
- check your password
- update the database wth the string recieved.

For example...
code:
<?php

if ($_GET['password'] == 'abcdefg') {
$fp = fopen('iamlistento.txt', 'w');
fwrite ($fp, $_GET['s']);
fclose ($fp);
}

?>


This post was edited on 03-11-2007 at 11:43 AM by the DtTvB.
the DtTvB - My name has no meaning, but it's unique at least!
[Image: asj.gif]
03-11-2007 11:39 AM
Profile E-Mail PM Web Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
Getting the "What I Am Listening to Now" as a variable in VB or C++ - by jasonallen on 03-10-2007 at 03:11 PM
RE: Getting the "What I Am Listening to Now" as a variable in VB or C++ - by the DtTvB on 03-11-2007 at 11:39 AM
RE: Getting the "What I Am Listening to Now" as a variable in VB or C++ - by jasonallen on 03-11-2007 at 06:33 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