Any way to run DLL's at button click C#

Posted by Sandeep Bansal on Stack Overflow See other posts from Stack Overflow or by Sandeep Bansal
Published on 2010-03-12T02:10:54Z Indexed on 2010/03/12 2:17 UTC
Read the original article Hit count: 320

Filed under:
|

Hi Guys,

I'm looking for ways to speed my program to the max and one way I thought of was to strip all DLL's being run at startup and run them when they need to be.

As an example, I have a DLL containing info required for an update module, but I don't want to have that running in the program if I don't need it till I have an update. (I know I can create a separate program and link it to that but this is just an example.)

Is there anyway to attach this on a button click?

Sorry if I haven't made my question understandable.

Thanks

© Stack Overflow or respective owner

Related posts about c#

Related posts about interop