Click here to Skip to main content
15,896,063 members
Home / Discussions / C#
   

C#

 
Generalhelp me, please! Pin
don7cry5-Nov-03 16:10
don7cry5-Nov-03 16:10 
GeneralRe: help me, please! Pin
mhmoud rawas5-Nov-03 18:34
mhmoud rawas5-Nov-03 18:34 
GeneralRe: help me, please! Pin
don7cry5-Nov-03 19:19
don7cry5-Nov-03 19:19 
GeneralAccess Richtext/Memo Field and C# Pin
bjulien5-Nov-03 15:04
bjulien5-Nov-03 15:04 
GeneralRe: Access Richtext/Memo Field and C# Pin
Mike Ellison5-Nov-03 15:06
Mike Ellison5-Nov-03 15:06 
GeneralRe: Access Richtext/Memo Field and C# Pin
bjulien5-Nov-03 15:24
bjulien5-Nov-03 15:24 
QuestionWMI, How to browse schema of current class types? Pin
Chris Richner5-Nov-03 11:12
Chris Richner5-Nov-03 11:12 
AnswerRe: WMI, How to browse schema of current class types? Pin
JerryFW20-Nov-03 11:24
JerryFW20-Nov-03 11:24 
Jerry,
If I understand your question correctly, the code below will grab the class names for a given namespace. Note the use of the "deep" option to force a traversal of all the classes in the namespace, not just the top-level ones. Hope this helps.
Jerry


ManagementPath nsPath = new ManagementPath();
nsPath.NamespacePath = <whatever namespace="" you="" want="">;

ManagementClass nsMgmtClass = new ManagementClass(nsPath);
System.Management.EnumerationOptions enumOpts = new EnumerationOptions();
enumOpts.EnumerateDeep = true;

string clsName = "";

foreach (ManagementObject obj in nsMgmtClass.GetSubclasses(enumOpts)) {
clsName = obj.ToString();
CbxClassName.Items.Add(clsName);
}
GeneralVS.NET Addin, try to serialize into filestream -&gt; Unable to determine identity of assembly. Pin
Chris Richner5-Nov-03 11:06
Chris Richner5-Nov-03 11:06 
GeneralAnonymous Function Names Pin
obelisk295-Nov-03 10:44
obelisk295-Nov-03 10:44 
GeneralRe: Anonymous Function Names Pin
Paul Evans6-Nov-03 1:35
Paul Evans6-Nov-03 1:35 
Generalprint in landscape Pin
tigermylk5-Nov-03 10:43
tigermylk5-Nov-03 10:43 
GeneralRe: print in landscape Pin
Mike Ellison5-Nov-03 16:16
Mike Ellison5-Nov-03 16:16 
GeneralRe: print in landscape Pin
LongRange.Shooter6-Nov-03 9:37
LongRange.Shooter6-Nov-03 9:37 
GeneralRe: print in landscape Pin
tigermylk6-Nov-03 12:31
tigermylk6-Nov-03 12:31 
GeneralDatagrid in Winform Pin
Chris#5-Nov-03 10:30
Chris#5-Nov-03 10:30 
GeneralRe: Datagrid in Winform Pin
Daniel Zaharia5-Nov-03 12:06
Daniel Zaharia5-Nov-03 12:06 
GeneralRe: Datagrid in Winform Pin
Chris#6-Nov-03 3:10
Chris#6-Nov-03 3:10 
GeneralAdd a Computer Domain Pin
Chathura5-Nov-03 9:41
Chathura5-Nov-03 9:41 
GeneralRe: Add a Computer Domain Pin
miahrugger5-Nov-03 15:57
miahrugger5-Nov-03 15:57 
GeneralRe: Add a Computer Domain Pin
Chathura10-Nov-03 11:59
Chathura10-Nov-03 11:59 
GeneralBeginner localization question Pin
Anonymous5-Nov-03 6:02
Anonymous5-Nov-03 6:02 
GeneralRe: Beginner localization question Pin
Heath Stewart5-Nov-03 8:11
protectorHeath Stewart5-Nov-03 8:11 
GeneralBeginner's localization question Pin
Anonymous5-Nov-03 6:01
Anonymous5-Nov-03 6:01 
QuestionUsing Explorer control to display HTML code? Pin
trungbkvn5-Nov-03 5:54
trungbkvn5-Nov-03 5:54 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.