zeldafreak

zeldafreak

  • NA
  • 11
  • 0

Importing Compiled .NET UserControl DLLs at runtime

Jan 11 2005 10:11 PM
I have a project that requires me to load UserControls from DLLs at runtime. Currently I have been able to grab Fields, Methods, Properties, etc, but I need to extract the whole class so I can display it as a control on my form. Currently I have this coded: DirectoryInfo di = new DirectoryInfo(Application.StartupPath + @"\Libraries"); if (di.Exists) { FileInfo[] dList = di.GetFiles("*.dll"); for (int x=0;x

Answers (7)