Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

I have seen msn bots created in perl, but i'm not used to perl, and i was wondering if it was possible to make a msn bot in vb.net, and if possible how could i do this? So far i have had no ideas.

 

Also do you know of a example about this?

Posted
Don't know... what I can do is use the Messenger DLL to access Messenger and retrieve information from my account. But... for the bot.... I really don't know

"If someone say : "Die mortal !"... don't stay to see if he isn't." - Unknown

"Learning to program is like going out with a new girl friend. There's always something that wasn't mentioned in the documentation..." - Me

"A drunk girl is like an animal... it scream at everything like a cat and roll in the grass like a dog." - Me after seeing my girlfriend drunk and some of her drunk friend.

C# TO VB TRANSLATOR

Posted (edited)

it just says this:

 

> dotMSNBot.exe!dotMSNBot.Form1.Button1_Click(Object sender = {System.Windows.Forms.Button}, System.EventArgs e = {System.EventArgs}) Line 167 + 0x3d bytes Basic

[<Non-user Code>]

dotMSNBot.exe!dotMSNBot.Form1.Main() Line 2 + 0x1d bytes Basic

 

Here is the whole code so far:

 

 Dim msngr1 As Messenger
   Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
       msngr1.Connect(txtUserName.Text, txtPassword.Text)
   End Sub
End Class
Public Class Messenger
   Dim Frm1 As Form1
   Public Overloads Sub Connect(ByVal user As String, ByVal password As String)
       Dim msn1 As DotMSN.Messenger
       msn1.Connect(user, password)
       msn1.SetStatus(DotMSN.MSNStatus.Online)
   End Sub
End Class

 

I have no idea how to work this .dll, and i do not know how it connects, zone alarm doesn't even say that it is connecting to the internet, i think i am doing something wrong...

Edited by decrypt
  • *Experts*
Posted

Maybe you should state your intentions. To me, a "bot" typically means a computer program running to simulate a real user. Why would you want a "bot" for MSN?

 

Or, are you asking "How do I interface with MSN service"? As in, are you trying to write your own instant messaging software that uses the messenger service DLL to talk to other MSN clients (something like Trillian, which "talks" to MSN, AOL, Yahoo, ICQ, etc.).

 

In any case, I doubt I could help... but thought I'd ask some questions since I didn't quite understand what you wanted.

 

-ner

"I want to stand as close to the edge as I can without going over. Out on the edge you see all the kinds of things you can't see from the center." - Kurt Vonnegut
Posted

Nerseus,

 

What I understood is that he want to make his own messaging soft using MSN DLL... but I may be wrong. But I don't have a damn idea how to do that.

 

He'll have to search to find the right path. :p

 

Bot... bot... bot... It's so bad to be bot. (if you want to simulate your connection... why do you want to do that ?)

"If someone say : "Die mortal !"... don't stay to see if he isn't." - Unknown

"Learning to program is like going out with a new girl friend. There's always something that wasn't mentioned in the documentation..." - Me

"A drunk girl is like an animal... it scream at everything like a cat and roll in the grass like a dog." - Me after seeing my girlfriend drunk and some of her drunk friend.

C# TO VB TRANSLATOR

Posted

I got it all working now.

 

What i was trying to do was create a msn bot. What that does is it acts like an IRC bot. I can add the bot into a conversation and say something like "!smack decrypt" and the bot would message back "/me smacks decrypt in the face with a rubber glove" something like that. I will get it so that it does irc commands even though it is not supported in msn messenger, but that should be easy to do since it's been done in messenger plus. Anyways i'll tell you if i need some help, i think this is one of the hardest projects i've done yet... :P

Posted
Well... good luck ! You'll need it ! :p

"If someone say : "Die mortal !"... don't stay to see if he isn't." - Unknown

"Learning to program is like going out with a new girl friend. There's always something that wasn't mentioned in the documentation..." - Me

"A drunk girl is like an animal... it scream at everything like a cat and roll in the grass like a dog." - Me after seeing my girlfriend drunk and some of her drunk friend.

C# TO VB TRANSLATOR

Posted

my program creates new tabs for every new message. The problem is, is how do i get it to do the same thing for everysingle tab? For example:

 

Someone starts up a new message, the program creates the new tab, and then the person starts sending messages to it.

 

I know how to do this using new windows, but i want to make it tabbed for easy browsing, and so i just have 1 window open all the time. I think i might end up doing windowed though...

this is kind of hard to explain :P

 

is there a feature in vb.net that enables you to put a window inside another window, so that it will create a new tab and than create a new window, but locks the window inside the program. Is this possible? Help would be greatly appreciated :)

Posted

Look at MDI program. MDIParent is your main window while MDIChild are secondary window inside your main one.

 

Good Luck.

"If someone say : "Die mortal !"... don't stay to see if he isn't." - Unknown

"Learning to program is like going out with a new girl friend. There's always something that wasn't mentioned in the documentation..." - Me

"A drunk girl is like an animal... it scream at everything like a cat and roll in the grass like a dog." - Me after seeing my girlfriend drunk and some of her drunk friend.

C# TO VB TRANSLATOR

Posted

thanks alot! :)

 

I looked it up on the internet and i got this:

 

"Create a new Project called MDIDemo

 

By default you will be having a form called form1, rename it to

frmMdiChild

 

Add one more form called frmMDIForm

 

Set the IsMDIContainer property value to True

 

Write the following code in the Form Load event of the frmMDIForm

Private Sub frmMDIForm_Load(ByVal sender As System.Object, _
                           ByVal e As System.EventArgs) _
                           Handles MyBase.Load
       Dim frmchild As New frmMdiChild()
       frmchild.MdiParent = Me
       frmchild.Show()
End Sub

"

 

I don't know how to make it so that it will be in just one of the tabs... how would i do this?

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...