Jump to content
Sign in to follow this  
Vivi

VB.NET Help, with MDI interface

Recommended Posts

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.

Share this post


Link to post
Share on other sites

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..

Share this post


Link to post
Share on other sites

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 :)

Share this post


Link to post
Share on other sites

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:

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

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:

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.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×