Shoutbox

[vb6] Send file - 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: [vb6] Send file (/showthread.php?tid=52745)

[vb6] Send file by eSouL on 11-07-2005 at 06:20 PM

1. Is there a way to get notified when the IM window receives a file transfer request, and when the transfer is completed?

2. I tried to implement auto-accept by sending "Alt-C" to the IM window's hwnd via 3 methods (sendkeys, postmessage, keyb_event) but all failed because Alt-C invokes the Voice chat request instead of Accepting the incoming file transfer. Why is this happening?

And I must say, it is stupid for MSN to give the same Alt-C shortcut to two different valid actions.


RE: [vb6] Send file by Dempsey on 11-07-2005 at 06:35 PM

1  -  There aren't any easy ways no, but it is possible using some long winded ways, such as packet sniffing, or using the Active Accesability APIs, but from what I've used they seem to be a bit unstable.

2  -  I have tried this before, where are you sending the Alt+C to?  the IMWindowClass or DirectUIHwnd ?


RE: [vb6] Send file by eSouL on 11-07-2005 at 06:54 PM

I've tried with both IMWindowClass and DirectUIHwnd but they give the same effect of invoking Voice conversation.