473,322 Members | 1,232 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,322 software developers and data experts.

Bind dinamicly dlls without createobject

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
Jan 9 '06 #1
3 1077
Hi,

You can do it with activator.createinstance and
assembly.loadfrom
http://search.msdn.microsoft.com/sea...View=msdn&st=b

http://msdn2.microsoft.com/1009fa28.aspx

Sample written by Billy Hollis
http://www.dotnetmasters.com/Downloa...msOnTheFly.zip
Ken
-----------------------
"Halimaji Nijazi" <te**@hotmail.com> wrote in message
news:ui**************@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

Jan 9 '06 #2
"Halimaji Nijazi" <te**@hotmail.com> schrieb:
I like to bind dll (which were written in .net) on runtime without using
createobject.


As said in the German VB.NET group:

'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/>
Jan 9 '06 #3
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:
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

Jan 12 '06 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: ack | last post by:
Hii all, I have a this internal use portal i am working on deployed on a server. My app uses some dlls that are instantiated from the asp pages using server.createobject Now I want to deploy...
7
by: shocron | last post by:
problem: input values not recognized in dinamicly loaded IFRAMEs here is the thing I have a parent window that has an IFRAME I then load a diffrent page into the IFRAME that contains an input ...
5
by: GD1 | last post by:
Dear developers, I've been working on a Word automator application for some weeks. Now, I formatted my hard drive and reinstalled Visual Studio. When I compiled my project for the first time...
1
by: pfelsted | last post by:
I have an IIS application. We make alot of changes to it during the day as others are using it. It is currently written in ASP. We are migrating to ASP.NET. So an approach we are taking is moving...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.