473,378 Members | 1,401 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,378 software developers and data experts.

Stupid DLL's!

Hi,

I'm trying to write a program which searches through a directory and
picks up the dll's which i am creating and is then able to use them to
access certain things. I have difined an interface for the dll's in
order to use specific methods, however, in order to use the DLL's they
need to be added to the reference table. The only way I know of doing
this is by right clicking on the references section of the open
project. However, this will not do as I want to add these references
as the program executes, depending on the DLL's in a specified folder,
so they are not known at compile time!

Please help if you know of anyway I can add references to these DLL's
on the fly!

Thank you

Dave
Nov 21 '05 #1
2 955
"Dave Sauny" <da*******@gmail.com> schrieb:
I'm trying to write a program which searches through a directory and
picks up the dll's which i am creating and is then able to use them to
access certain things. I have difined an interface for the dll's in
order to use specific methods, however, in order to use the DLL's they
need to be added to the reference table. The only way I know of doing
this is by right clicking on the references section of the open
project. However, this will not do as I want to add these references
as the program executes, depending on the DLL's in a specified folder,
so they are not known at compile time!


<URL:http://dotnet.mvps.org/dotnet/samples/codingtechnique/PlugIns.zip>

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>
Nov 21 '05 #2
take alook of tutotial
http://www.devcity.net/Articles/111/1/vbnet_se_dll.aspx

Dave Sauny wrote:
Hi,

I'm trying to write a program which searches through a directory and
picks up the dll's which i am creating and is then able to use them to
access certain things. I have difined an interface for the dll's in
order to use specific methods, however, in order to use the DLL's they
need to be added to the reference table. The only way I know of doing
this is by right clicking on the references section of the open
project. However, this will not do as I want to add these references
as the program executes, depending on the DLL's in a specified folder,
so they are not known at compile time!

Please help if you know of anyway I can add references to these DLL's
on the fly!

Thank you

Dave


Nov 21 '05 #3

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

Similar topics

1
by: tom | last post by:
Ok i realize some will scoff at this question ... but i've never created dlls b4. always static libs because generally i need speed in num theory/cryptographic uses. I created a static lib of...
4
by: Massimo ENDRIZZI | last post by:
I am a c++ beginner and have the following problem: I wrote a simple internet application using Dev-C++ (on Win XP) and three ininet.dll functions, something like this: #include <wininet.h>...
2
by: Lampa Dario | last post by:
Hi, where is this stupid error in this program? When I execute it, i receive a segmentation fault error. #include <stdio.h> int main(int argc, char *argv, char *env) { int i=0; int l=0; int...
4
by: Uchiha Jax | last post by:
Hello everyone, I am a plenty silly person who is trying to learn .NET remoting through trial and error (all articles I read are going over my head at the moment (mostly) so I thought i'd give...
5
by: Guoqi Zheng | last post by:
I think I have this kind of problem very often, now it is really making me crazy. VS.NET always want to change my html code. Ok, that is fine as long as Vs.Net can ask my confirmaton first. For...
8
by: luxnoctis | last post by:
Hello all. Let me say first that I have no idea what python is or what it does. I bought a floor model computer, and it came with all sorts of ridiculousness on it that I promptly uninstalled....
4
by: Ronald S. Cook | last post by:
Create a new Windows forms app and you can type Imports System.Runtime.Remoting and start working away. How come I didn't need to add a reference to System.Runtime.Remoting? Thanks, Ron
9
by: AWW | last post by:
Running XP - Visual Studio 2005 - VB Want to have duplicate projects - one safe and stable - other for experimenting Can't fine easy way to make duplicate project. Stupid question? or stupid ME?...
4
by: =?Utf-8?B?aWxrZXI=?= | last post by:
I developing my own application. I Just wandering, do I import some extra .net class library dll files into my exe (project) ?
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...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

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.