Reference library programatically
-
Hi there! I would like to know if it's possible, and if so, how can I add a reference to a library programatically in the .net framework. The idea is to have somethin like we had with the CreateObject("library_name") in the VB6 days. Any help is welcome! Thanks in advance for your time. António
-
Hi there! I would like to know if it's possible, and if so, how can I add a reference to a library programatically in the .net framework. The idea is to have somethin like we had with the CreateObject("library_name") in the VB6 days. Any help is welcome! Thanks in advance for your time. António
-
Hi there! I would like to know if it's possible, and if so, how can I add a reference to a library programatically in the .net framework. The idea is to have somethin like we had with the CreateObject("library_name") in the VB6 days. Any help is welcome! Thanks in advance for your time. António
There is a complete library in .Net called Reflection that allows you to query a type or create an instance without referencing the assembly on compile. I would suggest you to go through the Reflection namespace and esp Assembly class. (http://msdn.microsoft.com/en-us/library/system.reflection.aspx[^]
Tariq A Karim http://moplah.blogspot.com/