Computer Learning Zone CLZ Access Excel Word Windows

If it ain't broke, don't fix it.

-280th Rule of Acquisition
 
Home   Courses   TechHelp   Forums   Help   Contact   Merch   Join   Order   Logon  
 
Back to Visual Basic Forum    Comments List
Upload Images   @Reply   Bookmark    Link   Email   Next Unseen 
Set Focus to existing Instance
Kevin Robertson 
          
3 years ago
I have started building a chat application which in its early stages is working great. When I open a room (multiple rooms may be open at any one time), if that room is already open I would like to set the focus to that specific room. Any advice would be appreciated.

Screenshots of my application so far are below (including the code for this particular operation).

roomList is a List in a Module:
Public roomList As New List(Of String)
Kevin Robertson OP  @Reply  
          
3 years ago

Kevin Robertson OP  @Reply  
          
3 years ago

Alex Hedley  @Reply  
           
3 years ago
Are you using WebSockets?
Alex Hedley  @Reply  
           
3 years ago
Dim myForms As FormCollection = Application.OpenForms
For Each frmName As Form In myForms
    MessageBox.Show(frmName.Name.ToString)
Next


Dim myForm As Form = Application.OpenForms(NAME)
Kevin Robertson OP  @Reply  
          
3 years ago
Thanks. I haven't gotten as far as actually connecting the application yet. Still building the user interface. Probably going to be a huge learning curve as I'll need to use features I've never used before.
Kevin Robertson OP  @Reply  
          
3 years ago
Got some new forms. They look really cool and, in my opinion, professional. Still need a bit of work but I'm getting there.
Kevin Robertson OP  @Reply  
          
3 years ago

Kevin Robertson OP  @Reply  
          
3 years ago

Kevin Robertson OP  @Reply  
          
3 years ago

Alex Hedley  @Reply  
           
3 years ago
Nice, but please create an icon for the app, I hate the default one :p

This thread is now CLOSED. If you wish to comment, start a NEW discussion in Visual Basic Forum.
 

Next Unseen

 
New Feature: Comment Live View
 
 

The following is a paid advertisement
Computer Learning Zone is not responsible for any content shown or offers made by these ads.
 

Learn
 
Access - index
Excel - index
Word - index
Windows - index
PowerPoint - index
Photoshop - index
Visual Basic - index
ASP - index
Seminars
More...
Customers
 
Login
My Account
My Courses
Lost Password
Memberships
Student Databases
Change Email
Info
 
Latest News
New Releases
User Forums
Topic Glossary
Tips & Tricks
Search The Site
Code Vault
Collapse Menus
Help
 
Customer Support
Web Site Tour
FAQs
TechHelp
Consulting Services
About
 
Background
Testimonials
Jobs
Affiliate Program
Richard Rost
Free Lessons
Mailing List
PCResale.NET
Order
 
Video Tutorials
Handbooks
Memberships
Learning Connection
Idiot's Guide to Excel
Volume Discounts
Payment Info
Shipping
Terms of Sale
Contact
 
Contact Info
Support Policy
Mailing Address
Phone Number
Fax Number
Course Survey
Email Richard
[email protected]
Blog RSS Feed    YouTube Channel

LinkedIn
Copyright 2026 by Computer Learning Zone, Amicron, and Richard Rost. All Rights Reserved. Current Time: 5/8/2026 1:23:35 AM. PLT: 1s