Load class library at runtime

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Nikolay Petrov

    #1

    Load class library at runtime

    Can I load a class library at runtime?
    Plugins, etc?

  • Tom Shelton

    #2
    Re: Load class library at runtime

    On 2005-06-29, Nikolay Petrov <johntup2@mail. bg> wrote:[color=blue]
    > Can I load a class library at runtime?
    > Plugins, etc?
    >[/color]

    Yes... Look at the Assembly.Load method.

    --
    Tom Shelton [MVP]

    Comment

    • Herfried K. Wagner [MVP]

      #3
      Re: Load class library at runtime

      "Nikolay Petrov" <johntup2@mail. bg> schrieb:[color=blue]
      > Can I load a class library at runtime?
      > Plugins, etc?[/color]

      'System.Reflect ion.Assembly.Lo ad'
      'System.Reflect ion.Assembly.Lo adFrom'

      Note that 'Assembly' is a reserved keyword. Thus you'll have to escape it
      by putting it between square brackets when accessing it without
      qualification.

      --
      M S Herfried K. Wagner
      M V P <URL:http://dotnet.mvps.org/>
      V B <URL:http://classicvb.org/petition/>

      Comment

      • Carlos J. Quintero [.NET MVP]

        #4
        Re: Load class library at runtime

        See these links:

        http://msdn.microsoft.com/asp.net/co...nframework.asp

        http://msdn.microsoft.com/asp.net/co...forplugins.asp

        http://msdn.microsoft.com/library/de...rp05162002.asp

        --
        Best regards,

        Carlos J. Quintero

        MZ-Tools: Productivity add-ins for Visual Studio .NET, VB6, VB5 and VBA
        You can code, design and document much faster.
        Free resources for add-in developers:
        MZ-Tools has a single goal: To make your everyday programming life easier. As an add-in to several Integrated Development Environment (IDEs) from Microsoft, MZ-Tools adds new menus and toolbars to them that provide many new productivity features.


        "Nikolay Petrov" <johntup2@mail. bg> escribió en el mensaje
        news:1120032257 .685443.214450@ o13g2000cwo.goo glegroups.com.. .[color=blue]
        > Can I load a class library at runtime?
        > Plugins, etc?
        >[/color]


        Comment

        • Nikolay Petrov

          #5
          Re: Load class library at runtime

          thanks all

          Comment

          • Armin Zingler

            #6
            Re: Load class library at runtime

            "Nikolay Petrov" <johntup2@mail. bg> schrieb[color=blue]
            > Can I load a class library at runtime? Plugins, etc?[/color]


            System.Reflecti on.Assembly.Loa d


            Plugins are often based on interfaces provided by the designer of the main
            applicatoni, less on reflection.


            Armin

            Comment

            Working...