Jump to content

VB.NET Help, with MDI interface


Vivi

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.

Link to comment
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..

Link to comment
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 :)

Link to comment
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:

Link to comment
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.

Link to comment
Share on other sites

  • 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! :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.

Link to comment
Share on other sites

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