|
-
Jun 23rd, 2001, 10:54 PM
#1
Thread Starter
Addicted Member
I have ALOT of questions, as you can see... Heres how to help me with them all...
If you are good with Visual Basic, maybe you can help, by adding me to your MSN Messenger. I don't like creating so many new threads, and I bet it's pretty annoyin for you people to. Maybe not. But anyway, if you are good with VB, maybe you can be nice, and help, by adding me to your MSN Messenger buddy list. My MSN contact email is:
[email protected]
thats not my email, i just use it for MSN. My email is the same, but, @yahoo.com. Please add me!
Gray FOX: "Only a fool, trusts his life to a Weapon!"
Bart Simpson: "Bart no like! Baaad medicene!"
www.sling.to/dementia-freaks <<<---Goto my site!
http://pub80.ezboard.com/bdementiafreaksforum <<<---Goto my forum!
Thats it!
-
Jun 24th, 2001, 06:53 AM
#2
Hyperactive Member
This might help
It's an MSN sorta thing written in C++ MFC with Code. Helped me, but also, my MSVC has gone rooted, and I can't get it again till next week. :S
http://www.codeproject.com/useritems/msn_messenger.asp
Visual Basic 6.0 Enterprise
Visual C++ 6.0 Professional
Wak 
-
Jun 24th, 2001, 07:38 AM
#3
Hyperactive Member
he he he, here's a nice little chunk of code
Code:
Option Explicit
Dim mm As MsgrObject
Dim msnApp As New Messenger.MessengerApp
Dim bFlag As Boolean
Private Sub cmdLogOff_Click()
mm.Logoff
End Sub
Private Sub tmrMain_timer()
Select Case mm.LocalState
Case MSTATE_ONLINE
lblStatus = "Status: Online"
Case MSTATE_BE_RIGHT_BACK
lblStatus = "Status: Be right Back"
Case MSTATE_OFFLINE
lblStatus = "Status: Offline"
Case MSTATE_AWAY
lblStatus = "Status: Away"
Case MSTATE_BUSY
lblStatus = "Status: Busy"
Case MSTATE_OUT_TO_LUNCH
lblStatus = "Status: Out to Lunch"
Case MSTATE_ON_THE_PHONE
lblStatus = "Status: On the Phone"
Case MSTATE_UNKNOWN
lblStatus = "Status: Unknown"
Case MSTATE_IDLE
lblStatus = "Status: Idle"
Case MSTATE_LOCAL_SYNCHRONIZING_WITH_SERVER
lblStatus = "Status: Synchronizing Server"
Case MSTATE_LOCAL_FINDING_SERVER
lblStatus = "Finding Server"
Case MSTATE_LOCAL_DISCONNECTING_FROM_SERVER
lblStatus = "Status: Disconnecting"
Case MSTATE_INVISIBLE
lblStatus = "Status: Invisible"
Case MSTATE_LOCAL_CONNECTING_TO_SERVER
lblStatus = "Status: Connecting to Server"
End Select
If bFlag = True Then
bFlag = False
mm.LocalState = MSTATE_INVISIBLE
DoEvents
Exit Sub
Else
bFlag = True
mm.LocalState = MSTATE_ONLINE
DoEvents
End If
End Sub
Private Sub Form_Load()
Set mm = New MsgrObject
Me.Caption = mm.LocalLogonName
lblEmail = "You have " & 0
txtName.Text = mm.LocalFriendlyName
End Sub
Public Sub mm_OnLogoff()
MsgBox "User logged off"
End Sub
Private Sub mm_OnLogonResult(ByVal hr As Long, ByVal pService As Messenger.IMsgrService)
MsgBox ("User " + mm.LocalFriendlyName + mm.LocalLogonName + " has logged on.")
End Sub
Private Sub cmdInviteMessenger_Click()
mm.SendCustomInviteMail "johhny", &O0, &O0, &O0, "What the hell is this??? The first person to reply, get's.... ummm. something!"
End Sub
Piss any1 on your MSN list off!!!!!!!!
You'll need a timer, 2 buttons, and 3 labels, their names are used at various places within the code
Visual Basic 6.0 Enterprise
Visual C++ 6.0 Professional
Wak 
-
Jun 26th, 2001, 08:56 AM
#4
Addicted Member
Why will that pi*s off people?
-
Jun 27th, 2001, 02:05 AM
#5
Hyperactive Member
Cause it logs in and out of the list really fast
By setting the status property to invisible, it shows you as offline to everyone on your list, and then when you log back in, it shows you as online, and a little message box pops up, in the left corner. If you do this constantly, like every .2 or a second, it will clutter the screens of the people from your list, with online boxes with your name. It can get very annoying... 'Advertising'
Visual Basic 6.0 Enterprise
Visual C++ 6.0 Professional
Wak 
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|