Shoutbox

First VB plugin!! Uptime! - Printable Version

-Shoutbox (https://shoutbox.menthix.net)
+-- Forum: MsgHelp Archive (/forumdisplay.php?fid=58)
+--- Forum: Messenger Plus! for Live Messenger (/forumdisplay.php?fid=4)
+---- Forum: Scripting (/forumdisplay.php?fid=39)
+----- Forum: Plug-Ins (/forumdisplay.php?fid=28)
+------ Thread: First VB plugin!! Uptime! (/showthread.php?tid=12422)

First VB plugin!! Uptime! by segosa on 07-06-2003 at 06:29 PM

Yeah! first VB plugin out! this one displays your windows Uptime, to use it type (!XUP) :)

for some reason with VB plugins you need to register the DLL, you would need to put

regsvr32 "C:\Program Files\Messenger Plus! 2\Plugins\uptime.dll"

in Start | Run dialog

then restart MSN

And you need plus Build 46, get it here http://www.msgplus.net/cached/PlusBeta2045.exe


RE: First VB plugin!! Uptime! by leito on 07-06-2003 at 06:42 PM

It doesn't works for me, WindowxXP HE, MSN Messenger 6.0.0.0268, and Plus! 2.20.45


RE: First VB plugin!! Uptime! by segosa on 07-06-2003 at 06:48 PM

Yeah for some reason with VB plugins you need to register the DLL, you would need to put

regsvr32 "C:\Program Files\Messenger Plus! 2\Plugins\uptime.dll"

in Start | Run dialog

then restart MSN

EDIT: And you need plus Build 46, get it here http://www.msgplus.net/cached/PlusBeta2045.exe


RE: First VB plugin!! Uptime! by user2319 on 07-06-2003 at 06:50 PM

put both in C:\Program Files\Messenger Plus! 2\Plugins

run install.reg

start > run > regsvr32 "C:\Program Files\Messenger Plus! 2\Plugins\uptime.dll"

exit msn

start msn again

type (!XUP) for your uptime


RE: First VB plugin!! Uptime! by leito on 07-06-2003 at 06:50 PM

it still dont work!


RE: First VB plugin!! Uptime! by segosa on 07-06-2003 at 06:53 PM

Are you sure you did everything, it's worked for 3 people including me so far


RE: First VB plugin!! Uptime! by leito on 07-06-2003 at 06:57 PM

yes, firts I closed Messenger, then i move Uptime.dll to the plugins folder, then I double click install.reg, I open messenger but it didnt work, so i closed again and in run i write "regsvr32 "C:\Program Files\Messenger Plus! 2\Plugins\uptime.dll" " I open again Mesenger but still doesn't work


RE: RE: First VB plugin!! Uptime! by Verdugo on 07-06-2003 at 06:57 PM

quote:
Originally posted by leito.gt
It doesn't works for me, WindowxXP HE, MSN Messenger 6.0.0.0268, and Plus! 2.20.45


Don't you need Plus! 2.20.46 ?
Works fine with me :)
RE: First VB plugin!! Uptime! by leito on 07-06-2003 at 06:58 PM

there is no 2.20.46 available yet, Patchou said the Proxy needed to be updtate first!


RE: First VB plugin!! Uptime! by segosa on 07-06-2003 at 07:02 PM

I linked you to it in my first and second post! thats the one that works!


RE: First VB plugin!! Uptime! by leito on 07-06-2003 at 07:03 PM

sorry i didnt say that, thank you very much!


RE: First VB plugin!! Uptime! by Misterjad on 07-06-2003 at 07:05 PM

very nice ;)


RE: First VB plugin!! Uptime! by Re-Mi on 07-06-2003 at 07:08 PM

works for me nice touch Segosa :D don't know where i can use it for but it's funny :D


RE: First VB plugin!! Uptime! by segosa on 07-06-2003 at 07:09 PM

JAD: did you register the DLL? you also need to restart msn after doing it all


RE: First VB plugin!! Uptime! by trax on 07-06-2003 at 07:15 PM

Windows Version: Windows XP, 5.01.2600
Messenger Client Version: 6.0.0268
Messenger Plus! Version: 2.20.0046

doesnt work for me :(

(restarted pc and registerd dll with the .reg)


RE: First VB plugin!! Uptime! by segosa on 07-06-2003 at 07:39 PM

It has to, this is from the readme i have in the zip:

Instructions:


1) Make sure you have plus! build 46

2) Move Uptime.dll to your Plugins directory, usually C:\Program Files\Messenger Plus! 2\Plugins

3) run install.reg (doesnt matter where you run that from)

4) register the DLL, to do this go to Start | Run dialog, and put in

regsvr32 "C:\Program Files\Messenger Plus! 2\Plugins\Uptime.dll"

make sure thats the correct path to the plugin, then hit enter, it should register correctly. Now restart MSN and you can type (!XUP) for the time that your computer has been on. :)




MAKE SURE You've done all that


RE: First VB plugin!! Uptime! by allex87 on 07-06-2003 at 08:08 PM

NICE plugin!

I'll have to modifiy my plugin installer to support VB too. :)


RE: First VB plugin!! Uptime! by Kryptonate on 07-06-2003 at 08:44 PM

I've done everything you said Segosa and I've got Plus! 2.20.46
Any idea anyone?


RE: First VB plugin!! Uptime! by allex87 on 07-06-2003 at 08:52 PM

u have the vb runtime? i guess these plugins need it...


RE: First VB plugin!! Uptime! by Kryptonate on 07-06-2003 at 08:57 PM

Hm, good idea:p but I think I have it, I'm gonna check it :-)


RE: First VB plugin!! Uptime! by Kryptonate on 07-06-2003 at 09:00 PM

Hm, appearantly I haven't :s, do you know where to get it?


RE: First VB plugin!! Uptime! by Choli on 07-07-2003 at 12:42 AM

Very nice segosa :refuck:, but can you add some configuration dialog? Something like this: when the user types /xupconf a window appears and let him to select the format (or even the language) of the text. I mean: now, my (!XUP) is
0 days, 10 hours, 48 mins and 29 secs
and it whoud be nice if it could be configured to be shown as
0d 10:48:29
or
0 dias, 10 horas, 48 mins y 29 segs (in spanish, for example)

BTW, include an installer so it'll be easier to people install your plugin (and if you do that, the installer calls PostMessage and RegisterWindowMessage (i have some vb code to do that), then we haven't to restart msn :))


RE: First VB plugin!! Uptime! by mey32 on 07-07-2003 at 06:05 AM

don't know what is wrong but my comp has been up more than 10hours i get 0 days, 10 hours, 53 mins and 19 secs when it has been up at least 30hours, maby i have to restart. nice plugin by the way :D


RE: First VB plugin!! Uptime! by AzNiNsEcT on 07-07-2003 at 06:32 AM

segosa, u think u can email me the project? i need something to reference to to start my own plugin, i havent learnt modules yet :'( lol


RE: First VB plugin!! Uptime! by segosa on 07-07-2003 at 07:27 AM

If you had problems with the plugin download the updated one i have attached in my first post.

AzNiNsEcT: I added you to MSN


RE: First VB plugin!! Uptime! by trax on 07-07-2003 at 07:45 AM

are you going to make it opensource?


RE: First VB plugin!! Uptime! by segosa on 07-07-2003 at 07:50 AM

I dont know, Maybe ;)


RE: First VB plugin!! Uptime! by AzNiNsEcT on 07-07-2003 at 08:38 AM

thx segosa


RE: First VB plugin!! Uptime! by user2319 on 07-07-2003 at 10:31 AM

why not? :tongue:


RE: First VB plugin!! Uptime! by surfichris on 07-07-2003 at 11:49 AM

You dont really need it to be open source.. You can find the code off planetsourcecode.com to get the uptime and you can find how to make plugins in vb using Patchou's sample.

Just my $0.02 :P


RE: First VB plugin!! Uptime! by segosa on 07-07-2003 at 02:58 PM

There was a small problem, it displayed 1 mins instead of 1 min, the rest of the things (days hours secs) were fine, just the mins messed up, i have fixed it and updated it in my first post, but i dont recomend redownloading it if you already have it because of the tiny change


RE: First VB plugin!! Uptime! by naski666 on 07-07-2003 at 03:36 PM

Yup I've installed it and have no problems whatsoever with it, good work


Windows Version: Windows XP, 5.01.2600
Messenger Client Version: 6.0.0268
Messenger Plus! Version: 2.20.0046

Nask


RE: First VB plugin!! Uptime! by musicalmidget on 07-07-2003 at 11:13 PM

Wow.  I only just noticed this. :)

Like all of your plugins Segosa, this is very good. (y)


RE: First VB plugin!! Uptime! by HornyToad on 03-18-2004 at 09:09 PM

cool plugin, weird install,

i'm hoping you will make a menu entry for it rather than just having to remember that (!XUP) command.

Good work on the plugin