Message
From
17/03/2010 02:00:51
Vladimir Zhuravlev
Institute of the Physics of Earth,Russia
Moscow Region, Russia
 
 
To
16/03/2010 10:35:46
General information
Fórum:
ASP.NET
Category:
Miscellaneous
ID da thread:
01453908
ID da mensagem:
01455017
Views:
40
Gregory
Thanks , now this works inside one code module
But when I make dll ( classes library) from my class and call my methods outside in other
program , it can not find assymblies referencies, I guess , it try to find system.windows.forms.dll near sample code, not in NET directory
For example, testing program
  static void Main(string[] args)
        {
			try
			{
                MyDotLib.Myclass Myobject = new MyDotLib.Myclass();
               string  sprp = " " ;
               sprp = Myobject.GetModInfo("System.Windows.Forms");
                          Console.WriteLine(sprp);
MyDotLi.dll is near my test program
The error message is on Russian, but appropriate traslation is
default place is used, now politice is not applied to assembly reference (*user, private or partional relations with assembly)

Same variant of class under 2005 studia and Loadpathname instead of load is working fine ( sure without Linq construction)
The error comes from 'Load' code string in 2008 studia
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
Responder
Mapa
View