473,585 Members | 2,552 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

is it possible to load a dll into application at runtime?

Tee
is it possible to load a dll into the application at runtime?

eg: a main application, and a few dll, each dll might contains some
function, properties, or windows form. All of them were built in .NET.

So those DLL might look like a plug-in for the main application, is this
possible to achieve in .NET?

Thanks,
Tee
Nov 21 '05 #1
4 1285
Hi,

Take a look at this sample
http://blog.jausovec.net/index.php?o...Id=17&blogId=1
--
Regards,
Peter Jausovec
(http://blog.jausovec.net)
"Tee" <th*@streamyx.c om> je napisal v sporočilo
news:eJ******** ******@TK2MSFTN GP09.phx.gbl ...
is it possible to load a dll into the application at runtime?

eg: a main application, and a few dll, each dll might contains some
function, properties, or windows form. All of them were built in .NET.

So those DLL might look like a plug-in for the main application, is this
possible to achieve in .NET?

Thanks,
Tee

Nov 21 '05 #2
Hi,

Take a look at this sample
http://blog.jausovec.net/index.php?o...Id=17&blogId=1
--
Regards,
Peter Jausovec
(http://blog.jausovec.net)
"Tee" <th*@streamyx.c om> je napisal v sporočilo
news:eJ******** ******@TK2MSFTN GP09.phx.gbl ...
is it possible to load a dll into the application at runtime?

eg: a main application, and a few dll, each dll might contains some
function, properties, or windows form. All of them were built in .NET.

So those DLL might look like a plug-in for the main application, is this
possible to achieve in .NET?

Thanks,
Tee

Nov 21 '05 #3
"Tee" <th*@streamyx.c om> schrieb:
is it possible to load a dll into the application at runtime?


<URL:http://www.dnetmaster. net/source/SimplePlugins.z ip>

LiveCode.NET
<URL:http://www.codeproject .com/csharp/livecodedotnet. asp>

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

--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>
Nov 21 '05 #4
"Tee" <th*@streamyx.c om> schrieb:
is it possible to load a dll into the application at runtime?


<URL:http://www.dnetmaster. net/source/SimplePlugins.z ip>

LiveCode.NET
<URL:http://www.codeproject .com/csharp/livecodedotnet. asp>

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

--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>
Nov 21 '05 #5

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

Similar topics

2
1289
by: Tee | last post by:
is it possible to load a dll into the application at runtime? eg: a main application, and a few dll, each dll might contains some function, properties, or windows form. All of them were built in .NET. So those DLL might look like a plug-in for the main application, is this possible to achieve in .NET? Thanks, Tee
5
3191
by: Jibu George | last post by:
Hi I'm developing a deployment package using Visual Studio.Net. I have a custom user interface with a text box. How can I load the text box with some data at run time. Thanks & Regards, JIB
4
1880
by: Carson | last post by:
Hi, I am now writing a c-code, which is extremely computational extensive. My computer is 2.8GHz Pentium (supports hyperthreading), using cygwin cc (latest version) to compile with the followings: cc -c -O3 -mcpu=i686 $(FLIST) when i run my program, (a.out), it takes a quite a bit of time to finish,
3
3173
by: Daniel | last post by:
How do i dynamicaly load and unload a C# dll at runtime
4
1328
by: Dave Kolb | last post by:
Hi, It is possible to reference an assembly in a directory other than in the bin subdir without registering in ghe GAC? For instance, I would love to have all my web apps on one server reference assemblies from a c:\inetpub\wwroot\common directory shared by the apps on that web server. Thanks for any ideas.
11
2355
by: Jason | last post by:
Hi I have a "problem" i have got a ASP.NET application. in this application i have included logging. in the logging i have logged how many seconds it takes for this application to fully load. i have placed these timing loggings in the Load and Init events on a typical aspx page. i.e. first line of code in Page_Load is DateTime dtStart =...
5
277
by: Chris Calzaretta | last post by:
What I am trying to do I have an application that I am trying to create forms at runtime. I have the code for that application being served out of a web service hitting sql database. It seems that I can not create the form at runtime. I am getting an error every time unlable to find ("tmp file name.dll") If anybody could please...
6
44475
by: Steve | last post by:
I'm playing with late binding and trying a very simple test to load an assembly In my "Host" application I have this code: <code> string modulePath = @"C:\PMDRepository\Tools\ManfBusProcMgr\Modules\TestModule\bin\Debug\TestModule"; Assembly a = Assembly.Load(modulePath); </code>
1
271
by: aimlab08 | last post by:
Hi all, We have an application which is created in .net 1.1(Visual studio 2003). Now we need to create maps from this application. The only chioce for us is to use ESRI libraries to generate map images. The issue is, current version of ESRI (ArvGIS 9.2) only support .net 2.0. I wrote a map component with Visual studio 2005, and check the...
5
9878
by: =?Utf-8?B?bWFzaXg=?= | last post by:
We have an issue with load time in several installations of our application. We've located the information regarding KB 936707 and ensured that the application config file contains the runtime setting of <generatePublisherEvidence enabled="false"/> but the application still takes over 2 minutes to load. When we disconnect the PC from the...
0
7908
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7836
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
8199
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
1
7950
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
8212
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
6606
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
0
3863
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2343
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
0
1175
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

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.