Results 1 to 15 of 15

Thread: [RESOLVED] Getting list of ALL forms in a project (including Unloaded forms)

Threaded View

  1. #1

    Thread Starter
    PoorPoster iPrank's Avatar
    Join Date
    Oct 2005
    Location
    In a black hole
    Posts
    2,729

    Resolved [RESOLVED] Getting list of ALL forms in a project (including Unloaded forms)

    I'm trying to build a 3-tier template-project. In this template-project each user will be able to customize their environment. The admin specifies the default UI and the users can customize it.

    Problem is, whenever we add a new form in this project, we'll need to change our UI customizer code.

    For example, a user may have the option to set 'Starup Form' by a SetStartupForm() method. When we add a new form in our project, we'll need to add the form's name in that method.

    Q. Is there any way to get name of ALL forms (loaded or unloaded) in a project ? I'm looking for something like:
    VB Code:
    1. Dim f As Form
    2. For Each f In Project1.AllForms 'list of ALL forms
    3.     cboStartupForm.AddItem f.Name
    4. Next

    (They couldn't resolve it in CodeGuru. I have exactly same question. I hope someone can show me the correct path.
    )

    (related thread)

    .
    Last edited by iPrank; Jun 19th, 2008 at 01:51 AM. Reason: TemplateProject/Framework <> Tomato/Tomatoe
    Usefull VBF Threads/Posts I Found . My flickr page .
    "I love being married. It's so great to find that one special person you want to annoy for the rest of your life." - Rita Rudner


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