|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Getting list of available classes in frameworkIt occurred to me recently that I would like to programmatically get a list
of all the classes available to me for a given framework (i.e.: 1.0, 1.1, 2.0). Any ideas on how to approach that problem? Thanx, Ralf "_AnonCoward" <abc***@uvwxyz.com> schrieb: Check out the 'Assembly' class. This class can be used to load assemblies > It occurred to me recently that I would like to programmatically get a > list > of all the classes available to me for a given framework (i.e.: 1.0, 1.1, > 2.0). Any ideas on how to approach that problem? and determine the types defined in the assembly. -- M S Herfried K. Wagner M V P <URL:http://dotnet.mvps.org/> V B <URL:http://classicvb.org/petition/>
Show quote
Hide quote
"Herfried K. Wagner [MVP]" <hirf-spam-me-here@gmx.at> wrote in message Will do. Thanx,news:%238I5Wt8FGHA.1032@TK2MSFTNGP15.phx.gbl... : "_AnonCoward" <abc***@uvwxyz.com> schrieb: : > It occurred to me recently that I would like to programmatically get a : > list : > of all the classes available to me for a given framework (i.e.: 1.0, 1.1, : > 2.0). Any ideas on how to approach that problem? : : Check out the 'Assembly' class. This class can be used to load assemblies : and determine the types defined in the assembly. : : -- : M S Herfried K. Wagner : M V P <URL:http://dotnet.mvps.org/> : V B <URL:http://classicvb.org/petition/> Ralf Hi,
Maybe this vb 2005 code will help. It will list all classes for the loaded assemblies. For Each asm As Reflection.Assembly In My.Application.Info.LoadedAssemblies For Each t As Type In asm.GetTypes Trace.WriteLine(String.Format("Name {0} Namespace {1}", t.Name, t.Namespace)) Next Next Ken ---------------------- Show quoteHide quote "_AnonCoward" <abc***@uvwxyz.com> wrote in message news:%ezxf.678$0h.147@tornado.southeast.rr.com... > It occurred to me recently that I would like to programmatically get a > list > of all the classes available to me for a given framework (i.e.: 1.0, 1.1, > 2.0). Any ideas on how to approach that problem? > > > Thanx, > > Ralf > > Thanx,
Ralf Show quoteHide quote "Ken Tucker [MVP]" <vb***@bellsouth.net> wrote in message news:ujfN598FGHA.2708@TK2MSFTNGP11.phx.gbl... : Hi, : : Maybe this vb 2005 code will help. It will list all classes for : the loaded assemblies. : : For Each asm As Reflection.Assembly In : My.Application.Info.LoadedAssemblies : For Each t As Type In asm.GetTypes : Trace.WriteLine(String.Format("Name {0} Namespace {1}", : t.Name, t.Namespace)) : Next : Next : : : Ken : ---------------------- : "_AnonCoward" <abc***@uvwxyz.com> wrote in message : news:%ezxf.678$0h.147@tornado.southeast.rr.com... : > It occurred to me recently that I would like to programmatically get a : > list : > of all the classes available to me for a given framework (i.e.: 1.0, 1.1, : > 2.0). Any ideas on how to approach that problem? : > : > : > Thanx, : > : > Ralf : > : > : :
control arrays
howto make a console app start with window minimized Put standard output into file Spell checker modal dialog box How can you add a custom user control to a datagridview? Export from VB.NET 2003 to an Excel spreadsheet Pointer in a structure To use ShellExecute or not? Running app on Shared Drive |
|||||||||||||||||||||||