CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Oct 1999
    Location
    Sweden
    Posts
    33

    Loop thourh an applications a forms

    Hi!
    I would like to loop through all forms within an applikation even if they are not loaded. I´m looking for a special form and if I find it in the applikation I want to load it. It doesn´t work with for each form in forms, becourse it only shows loaded forms. Thanx in advance



  2. #2
    Join Date
    Jun 2001
    Location
    Sri Lanka
    Posts
    272

    Re: Loop thourh an applications a forms

    I can give u a method to find whether a particular form exists in a project.
    The Visual Basic Project File (*.vbp) is having all the forms that the project is having.
    So get the text of the .vbp file to a string and check that text, whether that form name exists.

    Srinika



    If u don't know how to Rate an answer, then Rate my answer to learn, If u know, then practice it

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

Featured