Re: Load Assembly Type.GetType("Class,Assembly")



Thank you Mike, i tried the fully qualified name but the samething happened
:(

Regards,
Mohamed
"Mike Miller" <MikeMiller@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:0FAA721A-7FA5-4D8D-8832-C7EE0C56F130@xxxxxxxxxxxxxxxx
> Your right - it should load the type correctly if assembly can be found.
> I
> find that sometimes you need to use the fully qualified name of the
> assembly
> such as:
>
> System.Windows.Forms.Form, System.Windows.Forms, Version=1.0.5000.0,
> Culture=neutral, PublicKeyToken=b77a5c561934e089
>
> This is especially true if mutiple versions exists or the reference is
> ambiguous. Hope that helps.
> Mike
>
> "Mohamed Zaki" wrote:
>
>> Dear All,
>>
>> How Can i load an assembly located in the bin folder of an asp.net
>> application using the Type, ie.e
>> Type type=Type.GetType("Namespace.class,assembly"), i used the previous
>> command and it it returns null, is there any clues for what i'm missing.
>>
>> Regards,
>> Mohamed
>>
>>
>>


.



Relevant Pages

  • Re: Script executed with /etc/init.d/networking
    ... >>Unfortunately there is nothing there pointing to load ... >for clues? ... Regards, ... To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org ...
    (Debian-User)
  • Re: [ANN] KQB - freeware query builder
    ... KQB comes up with an error 'Can not load "DMWizard.dll" when I try to create ... a new model using the BDE. ... Regards ... Mike ...
    (borland.public.delphi.thirdpartytools.general)
  • Re: My XCode 1.1 project doesnt load on Tiger
    ... > Now when I tried to load them again, they don't load in neither XCode 1.1 nor ... > in XCode 2.0. ... > Any clues where the problem is? ... Mike ...
    (comp.sys.mac.programmer.help)
  • Re: compile error: invalid qualifier.
    ... Regards, ... Tom Ogilvy ... > Any clues? ...
    (microsoft.public.excel.programming)
  • Re: OE6 and IE6
    ... Regards ... Mike ... >If the page opens, but doesn't load: ... >> When I click on a link in an email, IE6 opens but it ...
    (microsoft.public.windows.inetexplorer.ie6_outlookexpress)