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

DATABASE?
Author: Message:
Griffo
Junior Member
**


Posts: 27
Joined: Apr 2006
RE: DATABASE?
Well I am using a DLL to do it, but here you go...

SCRIPT:
code:
var Shell = new ActiveXObject("WScript.Shell");
var MyActiveXObject = new ActiveXObject('RSP2MusicDLL.clsRSP2Music');
Shell.RegRead(MsgPlus.ScriptRegPath + "RSPpath");
var path = Shell.RegRead(MsgPlus.ScriptRegPath + "RSPpath");
var start = Shell.RegRead(MsgPlus.ScriptRegPath + "RSPenable");
   
    if(start == -1)
    {
    MyActiveXObject.SetPath(path);
    MsgPlus.AddTimer("RefreshTimer", 2000);
    }

DLL:
Global Vars:
code:
Dim DB As Database
Dim RS As Recordset

Load Precedure:
code:
Public Sub SetPath(strPath As String)
'Setup database settings
Set DB = OpenDatabase(strPath)
Set RS = DB.OpenRecordset("SELECT * FROM OnAir ORDER BY FullName ", dbOpenDynaset)
End Sub

The line that it errors on is in the timer, which is...
code:
var RSPArtist = MyActiveXObject.GetRSPArtist();
07-17-2006 09:43 AM
Profile E-Mail PM Web Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
DATABASE? - by Ruwen on 07-08-2006 at 09:20 PM
RE: DATABASE? - by segosa on 07-08-2006 at 09:24 PM
RE: DATABASE? - by Ruwen on 07-08-2006 at 09:28 PM
RE: DATABASE? - by Nathan on 07-08-2006 at 09:30 PM
RE: DATABASE? - by Griffo on 07-16-2006 at 04:22 PM
RE: DATABASE? - by cloudhunter on 07-17-2006 at 01:44 AM
RE: DATABASE? - by Griffo on 07-17-2006 at 09:43 AM
RE: DATABASE? - by -dt- on 07-17-2006 at 11:03 AM
RE: DATABASE? - by RaceProUK on 07-17-2006 at 12:17 PM
RE: DATABASE? - by -dt- on 07-17-2006 at 12:22 PM
RE: DATABASE? - by John Anderton on 07-17-2006 at 12:24 PM
RE: DATABASE? - by RaceProUK on 07-17-2006 at 12:33 PM
RE: DATABASE? - by Griffo on 07-17-2006 at 08:32 PM
RE: DATABASE? - by RaceProUK on 07-17-2006 at 08:49 PM
RE: DATABASE? - by Griffo on 07-17-2006 at 09:08 PM
RE: DATABASE? - by Griffo on 07-19-2006 at 03:22 PM
RE: DATABASE? - by cloudhunter on 07-19-2006 at 03:34 PM
RE: RE: DATABASE? - by Griffo on 07-19-2006 at 09:44 PM
RE: DATABASE? - by RaceProUK on 07-19-2006 at 03:37 PM
RE: DATABASE? - by Richy on 02-24-2008 at 05:30 PM
RE: DATABASE? - by MeEtc on 02-24-2008 at 06:53 PM
RE: DATABASE? - by Richy on 02-24-2008 at 07:16 PM
RE: DATABASE? - by MeEtc on 02-29-2008 at 02:50 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