Shoutbox

[addon made in vb6]3 howto's questions - Printable Version

-Shoutbox (https://shoutbox.menthix.net)
+-- Forum: MsgHelp Archive (/forumdisplay.php?fid=58)
+--- Forum: Skype & Technology (/forumdisplay.php?fid=9)
+---- Forum: Skype & Live Messenger (/forumdisplay.php?fid=10)
+----- Thread: [addon made in vb6]3 howto's questions (/showthread.php?tid=72618)

[addon made in vb6]3 howto's questions by Compact on 03-13-2007 at 01:45 PM

1.
How can I attach my program to wlm like msgplus. You know, with a menu-item, how do you add a menu-item in wlm?

2.
How can I get the messages that the user receives from his contacts?

3.
How can I send messages and send the "***** is typing a message..."-message?


And all that in visual basic 6 code...
Please help...


RE: [addon made in vb6]3 howto's questions by matty on 03-13-2007 at 02:25 PM

1 - There is a thread on how to add a menu to MSN Messenger
How To Hook Msn Messenger In Visual Basic

However hooking the internal workings of WLM requires advanced knowledge and not a task that can really be accomplished in VB

2 - Packet Sniffing? No easier way

3 - Craft a packet and send it in the right structure to the server

As far as giving you code this is a lot of code and requires advanced hooking which VB doesn't have the ability to do... learn C++.


RE: [addon made in vb6]3 howto's questions by vikke on 03-13-2007 at 02:30 PM

Hello Compact!

First of all, you want to make a addon in VB6, which I don't personally recommend, because you can't do as much as you can in C/C++. VB6 is also a more unstable programming language (especially the IDE).

To add a menu-item to Messengers menus, you can use the FindWindow API to get the Messenger window handle. Then you use the GetMenu API to get that window's menu. Then you use AppendMenu API to add a menu item.

The points 2 and 3 can easiest be done with a winsock hook. There are many samples floating around the net, not for VB6 though. I've searched some and I can't find anything. But you can download very many C++ samples at www.pscode.com, so you can learn some also.

If you'd like to start making addons check out www.fanatic.net.nz, it's a site about making Messenger addons.

I've made a sample addon I called it "MessengerMinus", you can download source code at http://forums.fanatic.net.nz/index.php?showtopic=14820. It doesn't have the features you asked for, but you can use it freely and just add more features.

vikke

Edit: Damn, Matty posted before :(. That sample was written for www.mess.be I think :), anyways it's a lot easier in C++.


RE: [addon made in vb6]3 howto's questions by Felu on 03-13-2007 at 02:31 PM

quote:
Originally posted by Compact
1.
How can I attach my program to wlm like msgplus. You know, with a menu-item, how do you add a menu-item in wlm?
This might help you.
quote:
Originally posted by Compact
3.
How can I send messages and send the "***** is typing a message..."-message?
Take a look at the code for Always Typing script. Might help you :).
RE: RE: [addon made in vb6]3 howto's questions by CookieRevised on 03-14-2007 at 12:34 AM

quote:
Originally posted by vikke
First of all, you want to make a addon in VB6, which I don't personally recommend, because you can't do as much as you can in C/C++. VB6 is also a more unstable programming language (especially the IDE).
- You can do it in VB6 also though.
- VB6 is certainly not a 'more unstable language'. It is just as stable as any other language, provided you make a decent program (just as with any other language).

quote:
The points 2 and 3 can easiest be done with a winsock hook. There are many samples floating around the net, not for VB6 though.
There are many VB6 winsock hooking examples too (pscode isn't the only place for example code).