|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Open formsHello, I have a large project containing many forms and classes and even more
instances of them. I'm looking for a way of listing all active instances in a project, i.e. all open forms and classes, basically anything that hasn't been set to nothing. I know the obvious solution is to record this myself but that is not viable in this project. Thank you for any help. This is what you can write for getting all the forms that are loaded..
Dim frmP As Form For Each frmP In Forms Debug.Print f.Name Next I am not sure how you can get the other objects... -- Show quoteHide quote--Incomplete Knowledge is always dangerous; Anyway Google helps to manage!-- "js1300" wrote: > Hello, I have a large project containing many forms and classes and even more > instances of them. I'm looking for a way of listing all active instances in > a project, i.e. all open forms and classes, basically anything that hasn't > been set to nothing. I know the obvious solution is to record this myself > but that is not viable in this project. Thank you for any help. "Shuja" <Sh***@discussions.microsoft.com> schrieb: That's VB6 code, it doesn't work in VB.NET because there is no 'Forms' > This is what you can write for getting all the forms that are loaded.. > > Dim frmP As Form > For Each frmP In Forms > Debug.Print f.Name > Next > > I am not sure how you can get the other objects... collection. -- M S Herfried K. Wagner M V P <URL:http://dotnet.mvps.org/> V B <URL:http://classicvb.org/petition/>
System.Web.Mail.Smtp namespace
Intellisense question Send datagrid via email Need Help With Translation C#? to VB How to convert this code from C# to VB.NET? How To? import vb net forms ??? Change Value of Existing Element Monitor process creation MessageBox coming up with blank message and blank buttons. how pass data between forms |
|||||||||||||||||||||||