Results 1 to 3 of 3

Thread: Creating forms during run time

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Jan 2000
    Location
    Mobile, AL
    Posts
    16
    I have an application that requires a queue for each program that is running. The main program shells to the other processes. I want to create a form with a ListView for each process to access. How do I create the form and ListView during run time? I also thought I could have one form and multiple ListView controls for each process to access but I get compile errors when I try to make the ListView an array.

    Any Suggestion?


  2. #2
    transcendental analytic kedaman's Avatar
    Join Date
    Mar 2000
    Location
    0x002F2EA8
    Posts
    7,221
    To create a form at runtime, use:

    Dim Newform as new form1

    You can set a Listview in the form1 to get multiple forms with listviews.





  3. #3
    Conquistador
    Join Date
    Dec 1999
    Location
    Australia
    Posts
    4,527
    try this:

    Code:
    Dim frmNewForm As New frmBaseFrm
    Load frmNewForm
    frmNewForm.Show
    frmNewForm.ListView1.Visible = True
    ok ...

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