![]() | |
![]() |
| | Thread Tools | Search this Thread | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Hello i have a dll in GAC i'm loading this dynamically at run time, with the following code assembly = Assembly.Load("DynamicDll, Version=1.0.0.0, Culture=neutral, publicKeyToken=d7fb0eda5160caf3" ); Type type = assembly.GetType("DynamicDll.DynamicClass"); object[] arguments = new object[] { txtUserText.Text }; object ibaseObject = Activator.CreateInstance(type); i have developed a console application, the code runs successfully, but i have another situation that i'm trying to develop .Net component (Activex) that trying to access this dll from the client machine GAC the code fails in the last line (Activator.CreateInstance(type) withthe "Attempt to access the method failed" any advice? Thanks, Bernaba |
#3
| |||
| |||
|
|
i found the error and i fixed it |
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
| |