Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7069303
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T05:25:45+00:00 2026-05-28T05:25:45+00:00

Well i’ve seen this being done in another project, which was also using windows

  • 0

Well i’ve seen this being done in another project, which was also using windows forms, and i’m just curious on how it can be done.
Basically what i’m asking for example: I have 2 windows form projects, currently there both separate but i’d like to incorporate them into each-other. One big aspect of this will be how to load the 2nd project into the 1st. So i’ve built my seconded project as a .dll file.
And i then want to place that .dll file into a folder inside the project and then be able search for any .dlls in the folder and load them up.

So i know i can do this via adding the .dll file from my 2nd project into the references of the first project, but specifically im wondering if it can be done without this?
So that in my first project i can just say; “Search “DirectoryName”, if there’s any .dll files in that folder, load them up, and add them to a list in the project that the user i.e me can see & hopefully use.”

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-28T05:25:46+00:00Added an answer on May 28, 2026 at 5:25 am

    What you’re looking for can be achieved by using a mechanism called Reflection

    Reflection allows you to dynamically load an assembly into your application, among other things.

    The class you’d need is called Assembly that has several useful methods for loading assemblies:

    LoadFile, LoadFrom and a few more.

    Here’s a code example of loading an assembly at a given path:

    string path = @"D:\Folder\MyDll.dll";
    Assembly assembly = Assembly.LoadFrom(path);
    

    Once you have loaded an assembly and have a reference to an Assembly object, you can create objects that are defined in it, invoke their methods and so on.

    More resources can be found here: Dynamically loading and using Types

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Well this is incredibly frustrating. After being nagged by Rails that I need to
Well friends, I have got this query which works but is very long for
Well, i've got a nice WPF book its called Sams Windows Presentation Foundation Unleashed.
Well behaved windows programs need to allow users to save their work when they
Well, this is my first post here and really enjoying the site. I have
well i have this messages table with sample values like these: msg_id recipient_id read
Well, here we are. Yet another proposed practice that my C++ book has an
Well, the subject says everything. I'm using json_encode to convert some UTF8 data to
Well this is embarrassing ... I'm starting to play with the Eclipse Memory Analyzer
well I think I know what the problem is. I am just having a

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.