PC Review


Reply
Thread Tools Rate Thread

Diif Assembly.Load and Assembly.LoadFrom

 
 
=?Utf-8?B?R3VqanU=?=
Guest
Posts: n/a
 
      22nd Jul 2005
Hi all,

Whats the difference betwn Assembly.Load(FileName) and
Assembly.LoadFrom(FileName.dll)

?

Cheers
C
 
Reply With Quote
 
 
 
 
Carlos J. Quintero [.NET MVP]
Guest
Posts: n/a
 
      22nd Jul 2005
Assembly.Load does not use a file name but an assembly name (which includes
the name, version, culture and public key token).

Assembly.LoadFrom uses a file name.

--

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:
http://www.mztools.com

"Gujju" <(E-Mail Removed)> escribió en el mensaje
news:026915F8-086E-43B9-A6B0-(E-Mail Removed)...
> Hi all,
>
> Whats the difference betwn Assembly.Load(FileName) and
> Assembly.LoadFrom(FileName.dll)
>
> ?
>
> Cheers
> C



 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
LoadFrom / Load to load an assembly created in .Net 1.1 =?Utf-8?B?S29lcnQ=?= Microsoft Dot NET 1 16th Mar 2007 01:45 PM
why Assembly.LoadFrom() function does'nt load VC++ Project exe file Tarandeep Singh Microsoft Dot NET Framework 6 14th Nov 2005 07:20 PM
Using Assembly.LoadFrom(Filename) to load the same DLL on CF & FF Jon Brunson Microsoft Dot NET Compact Framework 1 6th Sep 2005 02:01 PM
Restricting access to Assembly.LoadFrom call within an assembly based on strong names Nicholas Paldino [.NET/C# MVP] Microsoft C# .NET 3 9th Dec 2003 08:32 PM
Re: AxImporter, Assembly.LoadFrom(), Assembly.GetTypes() Nicholas Paldino [.NET/C# MVP] Microsoft C# .NET 3 10th Jul 2003 02:48 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 09:08 PM.