Is possible to load dll files dinamycly?

  • Thread starter Jorge Mu?oz via .NET 247
  • Start date
J

Jorge Mu?oz via .NET 247

(Type your message here)
Hi I'm a beginner software developer, and I have a question about dynamic link library files (DLLs) on VB.NET, My question is this :
If I have an app compiled and generated its .EXE version,
Is possible to load dll files dinamycly on VB.NET?
I mean if I can use the classes contained into dll files without indicate a reference to them staticly, I'd rather that in executed time the user can choose some dll files to be referenced and used from that moment by the program.
Waiting for an answer, I say goodbye.
Thank you for your patien.
 
H

Herfried K. Wagner [MVP]

* Jorge Mu?oz via .NET 247 said:
If I have an app compiled and generated its .EXE version,
Is possible to load dll files dinamycly on VB.NET?
I mean if I can use the classes contained into dll files without
indicate a reference to them staticly, I'd rather that in executed time
the user can choose some dll files to be referenced and used from that
moment by the program.

For a simple plug/in/ mechanism, have a look at this sample:

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

François J. Miton

It's definitely possible (see Assembly.Loadxxx)

HTH


Jorge Mu?oz via .NET 247 said:
(Type your message here)
Hi I'm a beginner software developer, and I have a question about dynamic
link library files (DLLs) on VB.NET, My question is this :
If I have an app compiled and generated its .EXE version,
Is possible to load dll files dinamycly on VB.NET?
I mean if I can use the classes contained into dll files without indicate
a reference to them staticly, I'd rather that in executed time the user can
choose some dll files to be referenced and used from that moment by the
program.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top