Using assemlby without depending on it



I am trying to use a 3rd party assembly that may or may not be available on
a given machine. Is there a way I can use the classes within that assembly
without it throwing an assembly load exception when the assembly file is not
available? I want to safely bypass the feature if the assembly is not
there.

I was going to try using the Assembly a = Assembly.Load() but there are a
lot or properties and method that I need to use. It would take forever if I
manually called GetMethd(), GetProperty(), and Invoke for every value I
needed.

--
Bill


.



Relevant Pages

  • Re: Is there an SQL query for table schema ...
    ... > Is there an SQL query that will return a list of all indexes on a ... > In addition will it list the fields involved if it is a compound index? ... Prev by Date: ...
    (microsoft.public.access.queries)
  • Re: Entourage printing issues
    ... but I was remiss in not saying THANKS to Bill for the help.!!! ... Prev by Date: ...
    (microsoft.public.mac.office.entourage)
  • Re: Function Wont Calculate -- Sometimes
    ... > knows to recalculate the function. ... I thought of that but I figured that it could cause a circular reference. ... Prev by Date: ...
    (microsoft.public.excel.misc)
  • Re: microsoft word 2002
    ... > like bill of sale or promissary note etc is there another program that ... Prev by Date: ...
    (microsoft.public.office.misc)
  • Re: Counterfeiter makes billion-dollar note
    ... Recklessly refusing to invoke the Fifth Amendment, ... Bill Klinton's face on its front - was widely sold. ...
    (alt.true-crime)