Instantiating classes at runtime

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Tell me guys how to instantiate a class at runtime given the assembly DLL
file and the class name ?
Thanx in advance ..
 
Mr. Morad Jamal said:
Tell me guys how to instantiate a class at runtime given the assembly DLL
file and the class name ?

'Assembly.LoadFrom' + 'Activator.CreateInstance'.
 
Mr. Morad Jamal said:
Thanx Herfried, but can you explain your statement more ?? I'd appreciate
it..

\\\
Dim o As Object = _
Activator.CreateInstance(<assembly name>, <type name>)
///
 
Back
Top