Posted September 11, 201113 yr Hello, Please remove this if it's on the wrong forum. But I couldn't find anywhere to post programming questions.. I am writing a MDI interface chat client, and need some 'concept' help with the coding, in regards to creating and managing new channel and dialog windows withiin the MDI parent. This is my plan so far.. When needed create the new PrivateChatWindow form, then sets it's Name property to pmw#UserName, so when a new string is received from the socket, I can loop through the list of created Private chat forms and match the username who sent the message with the username in the pmw#UserName dialog window. I would do the same with the channels. So far this is all I can think of, does anyone know any better/safer way to do this? Since I don't really like looping through all those forms (if they have a lot open) It would slow things down a lot. Thanks, vivi.
September 12, 201113 yr Use C# instead of VB.NET. There are already thousands chat clients, and they're all better than yours. :P
September 12, 201113 yr Author Hmm. You've misunderstood. There aren't 'thousands' of clients for the system I'm working with, a completely different protocol. In fact, there are only 2 other known clients and 1 of them is private. Secondly, VB.NET and C# are both .NET technologies, they run the same under the hood. Thirdly, Thanks for your support..
September 12, 201113 yr Hi Vivi You might be better off looking for a programming (programmers) forum - here are a few good ones in no particular order. ... http://www.xtremevbtalk.com/ ... http://www.codeguru.com/forum/ ... http://www.vbforums.com/ A bit different from a forum (Q&A site), also check out the chat rooms. ... http://stackoverflow.com/ A code repository (database) of sorts. ... http://www.planet-so...com/Default.asp Enjoy :)
September 13, 201113 yr Author Thanks, but I do know Tarun has been doing exactly what I want to do, with even a similar language. He had the source for his Lunar client up a few years back, I didn't get a chance to save it. It would be a great help in what I want to do. I'll post it on stack overflow anyway, it's meant to be good! :rolleyes:
September 13, 201113 yr Thanks, but I do know Tarun has been doing exactly what I want to do, with even a similar language. He had the source for his Lunar client up a few years back. It would be a great help in what I want to do. Might have been nice to mention this from the get go, wouldn't have wasted your time or mine.
September 13, 201113 yr Administrator Thanks, but I do know Tarun has been doing exactly what I want to do, with even a similar language. He had the source for his Lunar client up a few years back, I didn't get a chance to save it. It would be a great help in what I want to do. I'll post it on stack overflow anyway, it's meant to be good! I may still have the code. Keep in mind it was made for VB6, and if you're writing in .NET you may prefer C# a bit more.
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.