Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Forms Collection
Message
From
22/08/2001 17:59:20
 
 
To
22/08/2001 09:54:40
General information
Forum:
Visual Basic
Category:
Other
Miscellaneous
Thread ID:
00547223
Message ID:
00547670
Views:
9
>The Forms collection will contain all the loaded forms within the project. but how to get the names of other forms within the project which is not loaded
>
>Any Idea Please?

You can do this with a VB add-in project. Basically you would use the VBProjects, VBComponents collection (VB Extensibility model) and the VBProject and VBComponent objects.

In your add-in code, you would put something like:
   For Each vbProject In VBInstance.VBProjects
      For Each vbComponent In vbProject.VBComponents
         Debug.Print vbComponent.Name, vbComponent.Type
      Next vbComponent
   Next vbProject
For more information, read the "Roll your own Add-ins" article in your MSDN library CD.
HTH
Previous
Reply
Map
View

Click here to load this message in the networking platform