Shoutbox

Correct way of using InviteApp - 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: Correct way of using InviteApp (/showthread.php?tid=54971)

Correct way of using InviteApp by tobyjug on 01-15-2006 at 06:38 PM

What is the correct way to use InviteApp in VB6? Everytime I try it I get an error saying "Expected: =". I have no idea how I'm meant to be using this and doing google searches has yielded very little help.
Ultimately what I want to do with this is get it to do InviteApp to invite a user that talks to me to remote control me, this will be used for an msn bot so when someone says "remote" to the bot he will invite them to control the server he is connected to msn on.

Thanks for any help I receive.


RE: Correct way of using InviteApp by Timothy003 on 01-15-2006 at 07:07 PM

Link?


RE: Correct way of using InviteApp by tobyjug on 01-15-2006 at 07:21 PM

My Code is based upon what Matty posted here:
http://shoutbox.menthix.net/showthread.php?tid=44...d=460252#pid460252

Basically All I have added so far is:

code:
                Dim Position As Integer
                Position = InStr(1, ObA.accValue(V), "remote")
               
                If Position <> 0 Then
                    MsgBox ("Wahoo")

                End If

That is within Matty's code:
code:
            'Check to see if the Parent Window is of the MSN Messenger Conversation
            If strWinClassName = "IMWindowClass" Then
near the bottom of the module.

So at the moment the message box pops up when it recieves the text, that is where I'd like the InviteApp to go. That is what I'm having the problem with. Any idea of how to use InviteApp in there or something else which will do the same job to Invite the person to use remote assistance.