Skip to content
View in the app

A better way to browse. Learn more.

Lunarsoft Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

VB.NET Help, with MDI interface

Featured Replies

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.

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

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

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

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.

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

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

Recently Browsing 0

  • No registered users viewing this page.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.