|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Bind dinamicly dlls without createobjectHi
I like to bind dll (which were written in .net) on runtime without using createobject. What I am trying to do is following: I have a folder where I like to store some dlls. My program must be able to read the dlls a call known functions from these dlls, without installing them and so... Is this possible? Thanks for the answers Nijazi Halimaji Hi,
You can do it with activator.createinstance and assembly.loadfrom http://search.msdn.microsoft.com/search/results.aspx?qu=activator.createinstance&View=msdn&st=b http://msdn2.microsoft.com/1009fa28.aspx Sample written by Billy Hollis http://www.dotnetmasters.com/Downloads/LoadingFormsOnTheFly.zip Ken ----------------------- Show quoteHide quote "Halimaji Nijazi" <t***@hotmail.com> wrote in message news:uiXUbXQFGHA.2040@TK2MSFTNGP14.phx.gbl... > Hi > > I like to bind dll (which were written in .net) on runtime without using > createobject. > > What I am trying to do is following: > > I have a folder where I like to store some dlls. My program must be able > to read the dlls a call known functions from these dlls, without > installing them and so... > > Is this possible? > > Thanks for the answers > > Nijazi Halimaji > "Halimaji Nijazi" <t***@hotmail.com> schrieb: As said in the German VB.NET group:> I like to bind dll (which were written in .net) on runtime without using > createobject. 'Assembly.Load*', 'Activator.CreateInstance': <URL:http://dotnet.mvps.org/dotnet/samples/techniques/#PlugIns> -- M S Herfried K. Wagner M V P <URL:http://dotnet.mvps.org/> V B <URL:http://classicvb.org/petition/> You might also find the following references interesting for this
requirement: http://staff.develop.com/woodring http://www.codeproject.com/csharp/dyninvok.asp Cheers, Randy Halimaji Nijazi wrote: Show quoteHide quote > Hi > > I like to bind dll (which were written in .net) on runtime without using > createobject. > > What I am trying to do is following: > > I have a folder where I like to store some dlls. My program must be able to > read the dlls a call known functions from these dlls, without installing > them and so... > > Is this possible? > > Thanks for the answers > > Nijazi Halimaji > >
VS.NET 2005 hotfixes?
Send E-Mail from VB.Net 2003 number of lines in Richtextbox Refresh Data ftp callback example C# Sending mail sending Fax from vb.net with Microsoft Fax Service Extended COM Type Libary Movement of record Strange Results From FillEllipse How set datasource of combobox to xml file |
|||||||||||||||||||||||