I am working on a small Instant Messenger program for a few friends and I have a quick question. I want a form to popup when a new message is received, much like all the other IM programs out there. My question is, does VB6 have the ability to create forms on a fly. What I mean is if I have one form that is a template for each message, can it be duplicated to popup more than once, incase you get more than one message at a time. Or would I need to create a set of say 10 forms for this purpose and just keep track of which is open and load the next one in line.
Any ideas or tips you can give is greatly appreciated.
Originally posted by Shaggy Hiker You can also pre-create an array of forms (your other idea). This seems like it would be faster, so I used the approach in a fast peer-to-peer system.
I would think in a messaging program you would want to create them on the fly as needed instead of a predefined array since the amount of windows loaded at any time could vary. Why have a predefined array of forms loaded when you never can tell how many you will need