Results 1 to 2 of 2

Thread: VB6 - Loading/unloading forms using collections

  1. #1

    Thread Starter
    Junior Member voidhead's Avatar
    Join Date
    Jun 2010
    Location
    Wellington, NZ
    Posts
    20

    VB6 - Loading/unloading forms using collections

    This code is a small template I use to load, unload and modify many forms at once using the Forms collection and a collection variable. I often think of it as what would happen if I looped non-variable forms in control arrays - which of course can't happen in the real world.

    Inputs are fairly basic, and only four forms are used as an example, but if you were to compile it immediately and comply with the instructions, it works fairly well. I'm supposing it could be used for near infinite purposes, but I've found it works as a nicer looking alternative to one large, ugly form if you want to break up the displaying of variables and such. Any suggestions/improvements are more than welcome.

    Thanks to Hack and Merri for teaching this concept to me almost single-handedly
    Attached Files Attached Files
    "Meaning, distorted, shapeless, feeling,
    Why am I such a void?" - Godflesh

    VB6 as a hobby at present.
    - Expression outside of vbforums.
    - Expression within.

  2. #2
    Addicted Member
    Join Date
    Mar 2007
    Location
    India
    Posts
    227

    Re: VB6 - Loading/unloading forms using collections

    This looks interesting.

    Thanks for this.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width