What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » Plug-Ins » [VB6] Closing MSN messenger

3 votes - 2.67 average   [VB6] Closing MSN messenger
Author: Message:
J-Thread
Full Member
***

Avatar

Posts: 467
Reputation: 8
– / Male / –
Joined: Jul 2004
O.P. RE: [VB6] Closing MSN messenger
code:
Private Sub cmd_install_Click()
    Dim PluginDir As String
   
    PluginDir = QueryValue("SOFTWARE\Patchou\MsgPlus2", "PluginDir", True)
    If PluginDir <> "" Then
        If FileLen(PluginDir & "\ReversePlugin.dll") > 0 Then
            If MsgBox(text("overwrite"), vbYesNo + vbExclamation, text("overwrite_title")) = vbNo Then
                rc = MsgBox(text("installation_aborted"), vbInformation, text("installation_aborted_title"))
                Exit Sub
            End If
        End If
        If Sendmsg("MessengerPlus_PluginChange") Then
            label.Caption = text("copying")
            Call WriteFile(PluginDir & "\ReversePlugin.dll", FileString())
        Else
            rc = MsgBox(text("close_messenger"), vbCritical, text("close_messenger_title"))
        End If
    Else
        rc = MsgBox(text("no_msg_plus"), vbCritical, text("no_msg_plus_title"))
    End If
End Sub

code:
Public Declare Function RegisterWindowMessage Lib "user32" Alias "RegisterWindowMessageA" (ByVal lpString As String) As Long
Public Declare Function PostMessage Lib "user32" Alias "PostMessageA" (ByVal hWnd As Long, ByVal wMsg As Long, ByVal wParam As Long, ByVal lParam As Long) As Long
Public Const HWND_BROADCAST = &HFFFF&
Public nMsg As Long

Public Function Sendmsg(strMessage As String) As Boolean
    nMsg = RegisterWindowMessage(strMessage)
    Sendmsg = PostMessage(HWND_BROADCAST, nMsg, 0, 0)
End Function


The text() function is a function to display the text. The function is not totally done, after copying there has to be more, but that isn't done yet. And this is where it ends...
07-03-2004 08:29 AM
Profile E-Mail PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
[VB6] Closing MSN messenger - by J-Thread on 07-02-2004 at 12:45 PM
RE: [VB6] Closing MSN messenger - by Wouter on 07-02-2004 at 12:59 PM
RE: [VB6] Closing MSN messenger - by Dempsey on 07-02-2004 at 01:11 PM
RE: RE: [VB6] Closing MSN messenger - by J-Thread on 07-02-2004 at 03:15 PM
RE: [VB6] Closing MSN messenger - by Choli on 07-02-2004 at 01:32 PM
RE: [VB6] Closing MSN messenger - by J-Thread on 07-02-2004 at 01:44 PM
RE: [VB6] Closing MSN messenger - by CookieRevised on 07-02-2004 at 01:56 PM
RE: RE: [VB6] Closing MSN messenger - by J-Thread on 07-02-2004 at 02:28 PM
RE: [VB6] Closing MSN messenger - by CookieRevised on 07-02-2004 at 02:31 PM
RE: [VB6] Closing MSN messenger - by J-Thread on 07-02-2004 at 02:33 PM
RE: [VB6] Closing MSN messenger - by CookieRevised on 07-02-2004 at 02:42 PM
RE: [VB6] Closing MSN messenger - by J-Thread on 07-02-2004 at 02:45 PM
RE: [VB6] Closing MSN messenger - by matty on 07-02-2004 at 03:04 PM
RE: [VB6] Closing MSN messenger - by matty on 07-02-2004 at 04:56 PM
RE: [VB6] Closing MSN messenger - by J-Thread on 07-02-2004 at 05:29 PM
RE: [VB6] Closing MSN messenger - by Choli on 07-02-2004 at 05:33 PM
RE: [VB6] Closing MSN messenger - by matty on 07-02-2004 at 05:34 PM
RE: [VB6] Closing MSN messenger - by J-Thread on 07-03-2004 at 08:29 AM
RE: [VB6] Closing MSN messenger - by Choli on 07-03-2004 at 09:21 AM
RE: RE: [VB6] Closing MSN messenger - by J-Thread on 07-03-2004 at 10:49 AM
RE: [VB6] Closing MSN messenger - by Choli on 07-03-2004 at 12:12 PM
RE: [VB6] Closing MSN messenger - by J-Thread on 07-03-2004 at 12:57 PM
RE: [VB6] Closing MSN messenger - by J-Thread on 07-05-2004 at 05:46 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