Message
From
12/03/2010 07:34:41
Vladimir Zhuravlev
Institute of the Physics of Earth,Russia
Moscow Region, Russia
 
 
To
12/03/2010 03:59:14
General information
Forum:
ASP.NET
Category:
Other
Miscellaneous
Thread ID:
01453908
Message ID:
01454124
Views:
36
Gregory< what I have missed
I have

public string GetModInfo(string Assemblyname)
{
string vbTab = " ";
var list = (from m in Assembly.Load(Assemblyname).GetModules() select m.GetTypes().Where(x => x.IsClass)).ToList();
foreach (var className in list) { vbTab = vbTab + className.ToString();
}
return vbTab;
}
call it with like
GetModInfo("System.Windows.Forms") from my class
It tells to me - could not find assemby
More long code with - {var assembly = Assembly.Load(assemblyName) ... works fine
Sure, I have referencies to System.Data.Linq and System.Xml.Linq
MVP-2006-2011, PHD in Math and Physics ,
host of www.foxclub.ru,
VFP lector at Interface and Microinform companies
Head science researcher of VNIIA Rosatom.
Previous
Next
Reply
Map
View