Results 1 to 19 of 19

Thread: [2008] Chat {instance messenger} like msn yahoo

  1. #1

    Thread Starter
    New Member
    Join Date
    Feb 2009
    Location
    uk
    Posts
    5

    Lightbulb [2008] Chat {instance messenger} like msn yahoo

    Hii.. im luking for sumbdy who can develop me a chatt like msn / yahoo. in vb net.
    Functions:
    llogin
    contactlist
    user list -important-
    main chat room
    pms
    if possible offline messages


    if anybody is intrested on it please contact me. [email protected]
    or 0044 75 079 68 538

    *will be paid for hard job

    kind regards

    Krishan .J

  2. #2
    Hyperactive Member Skatebone's Avatar
    Join Date
    Jan 2009
    Location
    Malta
    Posts
    279

    Re: [2008] Chat {instance messenger} like msn yahoo

    Hmm in this forum i dont think its legal to buy products and you would hardly find anyone in your case.

    You should try to develop it yourself and we will help you were u need. But first you have to try atleast Tnx.
    Life runs on code

  3. #3

    Thread Starter
    New Member
    Join Date
    Feb 2009
    Location
    uk
    Posts
    5

    Re: [2008] Chat {instance messenger} like msn yahoo

    Quote Originally Posted by Skatebone
    You should try to develop it yourself and we will help you were u need. But first you have to try atleast Tnx.

    ye i like to write it ma self ba fink is i reli don have tym at the moment.
    and i have very little knowledge in winsock comparing wif u all

    nyway thx for da reply

    krishan. j

  4. #4
    Raging swede Atheist's Avatar
    Join Date
    Aug 2005
    Location
    Sweden
    Posts
    8,018

    Re: [2008] Chat {instance messenger} like msn yahoo

    Im having alot of trouble understanding what you're writing. I wasnt going to mention it incase you where from a non-english speaking country, but then i saw you're from the UK...please, if you want serious answers, please make an effort to be understood.

    This isnt the forum to post requests like these, we have a separate Project Requests forum where your post should be moved soon enough.

    Edit: You should also include something like a price idea. This is quite a large project so personally I wouldnt start working on it unless I knew what I'd be paid.
    Do you have a dedicated server with some kind of database? You'd need that in order to store user information and alot other things.
    Last edited by Atheist; Feb 7th, 2009 at 07:46 AM.
    Rate posts that helped you. I do not reply to PM's with coding questions.
    How to Get Your Questions Answered
    Current project: tunaOS
    Me on.. BitBucket, Google Code, Github (pretty empty)

  5. #5
    Hyperactive Member Skatebone's Avatar
    Join Date
    Jan 2009
    Location
    Malta
    Posts
    279

    Re: [2008] Chat {instance messenger} like msn yahoo

    What scale of project are you thinking on?
    You could use basic server and client issues with Tcp not winsock xD
    Life runs on code

  6. #6
    PowerPoster gep13's Avatar
    Join Date
    Nov 2004
    Location
    The Granite City
    Posts
    21,963

    Re: [2008] Chat {instance messenger} like msn yahoo

    Hey,

    There is an example in the CodeBank that shows how this can be done.

    http://www.vbforums.com/showthread.php?t=325908

    The only downside is that it is written in VB6, but it would give you an idea where to start.

    Here are also a few links that might help you out as well:

    http://www.codeproject.com/KB/IP/msnlibrary.aspx
    http://www.codeproject.com/KB/cs/enhancedmessenger.aspx
    http://www.codeproject.com/KB/miscct...Messenger.aspx

    Hope that helps!!

    Gary

  7. #7

    Thread Starter
    New Member
    Join Date
    Feb 2009
    Location
    uk
    Posts
    5

    Re: [2008] Chat {instance messenger} like msn yahoo

    Hiii sorry for that inconvenience about my English.
    and sorry when i posted this topic in wrong place

    it would be gratefully if you can provide some information about requirements such as Server, Database, Application language, project schedule and plan.
    I am sure I can give you variety of price quotations depends on your project.

    by the way you really don't have to worry about design, i will manage this part by my self only i need a working server and client part

    thx

    Krishan . J

  8. #8
    Hyperactive Member Skatebone's Avatar
    Join Date
    Jan 2009
    Location
    Malta
    Posts
    279

    Re: [2008] Chat {instance messenger} like msn yahoo

    You can find alot of snippets on the net bout client and server parts. Its relatively easy to send text from a client to client the hard part goes when you are sending files xD
    Life runs on code

  9. #9

    Thread Starter
    New Member
    Join Date
    Feb 2009
    Location
    uk
    Posts
    5

    Re: [2008] Chat {instance messenger} like msn yahoo

    Quote Originally Posted by Skatebone
    What scale of project are you thinking on?
    You could use basic server and client issues with Tcp not winsock xD
    i expect 200 members who will join straight after launching so that program shld be capable for this amount of clients and shld stay stable...

    PS: im ready 2 buy things that are required for this project such as server and oda stuffs.


    krishan

  10. #10
    Hyperactive Member Skatebone's Avatar
    Join Date
    Jan 2009
    Location
    Malta
    Posts
    279

    Re: [2008] Chat {instance messenger} like msn yahoo

    Er...200 people aint that easy :/ You will definetely need to buy a server. I suggest you manage to program a small application which works in a lan first. That would be a good start. Then all you have to do is bother in getting it public xD
    Life runs on code

  11. #11
    Hyperactive Member Skatebone's Avatar
    Join Date
    Jan 2009
    Location
    Malta
    Posts
    279

    Re: [2008] Chat {instance messenger} like msn yahoo

    Here is a small idea for a client:

    Code:
    Public Class Form1
        Private client As System.Net.Sockets.TcpClient
        Private Const BYTES_TO_READ As Integer = 255
        Private readBuffer(BYTES_TO_READ) As Byte
        Dim bob
        Dim Locip
    
    
        Private Sub doRead(ByVal ar As System.IAsyncResult)
            Dim totalRead As Integer
            Try
                totalRead = client.GetStream.EndRead(ar) 'Ends the reading and returns the number of bytes read.
            Catch ex As Exception
                'The underlying socket have probably been closed OR an error has occured whilst trying to access it, either way, this is where you should remove close all eventuall connections
                'to this client and remove it from the list of connected clients.
            End Try
    
            If totalRead > 0 Then
                'the readBuffer array will contain everything read from the client.
                Dim receivedString As String = System.Text.Encoding.UTF8.GetString(readBuffer, 0, totalRead)
                messageReceived(receivedString)
            End If
    
            Try
                client.GetStream.BeginRead(readBuffer, 0, BYTES_TO_READ, AddressOf doRead, Nothing) 'Begin the reading again.
            Catch ex As Exception
                'The underlying socket have probably been closed OR an error has occured whilst trying to access it, either way, this is where you should remove close all eventuall connections
                'to this client and remove it from the list of connected clients.
            End Try
        End Sub
    
        Private Sub messageReceived(ByVal message As String)
            bob = message
        End Sub
        Private Sub SendMessage(ByVal msg As String)
            Dim sw As IO.StreamWriter
            Try
                sw = New IO.StreamWriter(client.GetStream)
                sw.Write(msg)
                sw.Flush()
            Catch ex As Exception
                MessageBox.Show("Unable to connect!", "Connection", MessageBoxButtons.OK, MessageBoxIcon.Exclamation)
            End Try
        End Sub
    
        Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
            SendMessage(TextBox1.Text)
            TextBox1.Text = ""
        End Sub
    
    
    
        Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick
            If bob <> "" Then
                TextBox2.Text = TextBox2.Text & vbCrLf & bob
                bob = ""
            End If
            Try
                Me.Text = Locip & " connection state: " & client.Connected
            Catch ex As Exception
                Me.Text = Locip & " connection state: False"
            End Try
    
        End Sub
    
        Private Sub Button2_Click_1(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click
            Try
                client = New System.Net.Sockets.TcpClient(TextBox3.Text, TextBox4.Text)
                client.GetStream.BeginRead(readBuffer, 0, BYTES_TO_READ, AddressOf doRead, Nothing)
                Dim sw As IO.StreamWriter
                sw = New IO.StreamWriter(client.GetStream)
                sw.Write(Locip & " has just connected with you.")
                sw.Flush()
            Catch ex As Exception
                MessageBox.Show("Unable to connect!", "Connection", MessageBoxButtons.OK, MessageBoxIcon.Exclamation)
            End Try
        End Sub
    
        Private Sub Button3_Click_1(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button3.Click
            Try
                Dim sw As IO.StreamWriter
                sw = New IO.StreamWriter(client.GetStream)
                SendMessage(Locip & " has just diconnected with you.")
                Timer2.Enabled = True
            Catch ex As Exception
            End Try
        End Sub
    
        Private Sub Form1_FormClosing(ByVal sender As Object, ByVal e As System.Windows.Forms.FormClosingEventArgs) Handles Me.FormClosing
            e.Cancel = True
            On Error GoTo 0
            Dim sw As IO.StreamWriter
            sw = New IO.StreamWriter(client.GetStream)
            sw.Close()
            End
    0:
            End
        End Sub
    
        Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
            Locip = System.Net.Dns.GetHostAddresses(My.Computer.Name)(0).ToString()
        End Sub
    
        Private Sub Timer2_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer2.Tick
            Try
                Dim sw As IO.StreamWriter
                sw = New IO.StreamWriter(client.GetStream)
                sw.Close()
                Timer2.Enabled = False
            Catch ex As Exception
                Timer2.Enabled = False
            End Try
        End Sub
    End Class
    Life runs on code

  12. #12

    Thread Starter
    New Member
    Join Date
    Feb 2009
    Location
    uk
    Posts
    5

    Re: [2008] Chat {instance messenger} like msn yahoo

    huh thx mate...
    is dat onlu LAN? or internet


    nyway thx for ur code
    will try soon

    Krishan , J

  13. #13
    Hyperactive Member Skatebone's Avatar
    Join Date
    Jan 2009
    Location
    Malta
    Posts
    279

    Re: [2008] Chat {instance messenger} like msn yahoo

    Both but u need server aswell for it to work :P I have to go though for a while and got no time to look for the server somewhere in my pc. Atheist will help you if you provide some of your code and Ps: you need to edit the client i just copied and pasted and added some lines from my application. tnx
    Life runs on code

  14. #14
    Super Moderator si_the_geek's Avatar
    Join Date
    Jul 2002
    Location
    Bristol, UK
    Posts
    41,974

    Re: [2008] Chat {instance messenger} like msn yahoo

    Thread moved to 'Open Positions (Jobs)' forum, and post deleted for violation of our rules (see the Acceptable Use Policy link at the bottom of all VBForums pages):
    • You will not use profanity in our forums, and will neither post with language or content that is obscene, sexually oriented, or sexually suggestive nor link to sites that contain such content.
    Next time we are likely to more than just delete your post.

  15. #15
    Raging swede Atheist's Avatar
    Join Date
    Aug 2005
    Location
    Sweden
    Posts
    8,018

    Re: [2008] Chat {instance messenger} like msn yahoo

    I would be interested in working on this project. But one cant just start writing an instant messenger application without basic requirements knowledge.
    If you could describe everything this "system" should be able to do in detail, it'd be good.
    Rate posts that helped you. I do not reply to PM's with coding questions.
    How to Get Your Questions Answered
    Current project: tunaOS
    Me on.. BitBucket, Google Code, Github (pretty empty)

  16. #16

    Thread Starter
    New Member
    Join Date
    Feb 2009
    Location
    uk
    Posts
    5

    Re: [2008] Chat {instance messenger} like msn yahoo

    Quote Originally Posted by si_the_geek
    Next time we are likely to more than just delete your post.
    lool as i used it to swear someone
    btw "*****" is common word in uk / us to express something that is abnormal. ^^
    nd aint mentioned something else..

    nyway move to the topic

    Quote Originally Posted by Atheist
    I would be interested in working on this project. But one cant just start writing an instant messenger application without basic requirements knowledge.
    If you could describe everything this "system" should be able to do in detail, it'd be good.
    ye sure..

    As i mentioned in previous posts.
    I am expecting around 200 clients straight after launching and it will increase everyday/week/month atlease 1000 within next 2 months.

    System should be a mixture of MSN and Yahoo
    msn does not have a main window where all user can chat simulate.
    1>our new chat shld have this function.(important)
    2>each single user shld be able to see a list of "all registered user" (important)
    Filetransfer - not reli needed for the first step
    Offline MSg - needed
    avatar - needed
    hmm everything like msn but plus 1 and 2 and is needed

    futureplan?
    our clients are able to communicate with MSN/yahoo clients

    now its your turn..
    possible ? hard? easy? medium?
    how long will it take? schedule, plan?
    required things?
    and your quotation

    krishan. j

    PS: mail me if u need more information ([email protected])
    Last edited by si_the_geek; Feb 7th, 2009 at 10:09 AM. Reason: removed profanity

  17. #17
    Super Moderator si_the_geek's Avatar
    Join Date
    Jul 2002
    Location
    Bristol, UK
    Posts
    41,974

    Re: [2008] Chat {instance messenger} like msn yahoo

    Quote Originally Posted by Krishan
    lool as i used it to swear someone
    btw "*****" is common word in uk / us to express something that is abnormal. ^^
    It is common, but is profanity - and is therefore not allowed on this site.

    If you don't like that rule, you are free to leave. If you aren't willing to abide by the rule, you will leave whether you like it or not.

  18. #18

    Thread Starter
    New Member
    Join Date
    Feb 2009
    Location
    uk
    Posts
    5

    Re: [2008] Chat {instance messenger} like msn yahoo

    Quote Originally Posted by si_the_geek
    Next time we are likely to more than just delete your post.
    If you don't like that rule, you are free to leave.
    If you aren't willing to abide by the rule, you will leave whether you like it or not.
    bcs of u super duper mod? lol
    dude when sumbdy did a mistake den correct it atleast try to explain dem..
    dis is not da right way..

    nyway leave dis profanity matter...

    krishan. j

  19. #19
    PowerPoster Deepak Sakpal's Avatar
    Join Date
    Mar 2002
    Location
    Mumbai, India
    Posts
    2,424

    Re: [2008] Chat {instance messenger} like msn yahoo

    Krishan,

    I have already said in my reply to your e-mail that I am intesred in developing this application. I had developed an Messenger client for my previous company and it was easily handling few hundred connections. Some of the features of that application are Contact list, tabs for multiple conversations, typing notifications, presence, rich text messages, emotions, announcements, avatar, etc.

    As you already had look at my post Develop an Enterprise class Instant Messenger client in .NET, you know that I used Openfire as a Server developed by Ignite Realtime and developed client in VB.NET. Ignite Realtime also has a free open source client called Spark developed in Java. You can download it's source code from public svn of Download section. To modify it to suit your requirements, you have to be a master of Java. Trying to modify the souce code just for hobby is ok but since you are ready to pay then it sounds like you are willing to develop a serious application, may be for commercial purpose. If that is so then my suggestion would be to develop a fresh messaging client in .NET.

    EDIT: It's also possible to communicate with MSN and Yahoo users from Ignite Realtime using IM gayways.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width