Hello Ron,
Try to use MyDomain.LoadFrom
RNHi,
RN>
RNFilename is: "c:\\folder\\myassembly.dll"
RN>
RNwhen I use MyDomain.Load(AssemblyName.GetAssemblyName(filenam e)) it
RNworks
RNperfectly.
RNwhen I use MyDomain.Load(filename) it throws a
RNSystem.IO.FileLoadExceptionexception claiming it cannot load.
RNHow come?
RN>
RNRon
RN>
RN"Jon Shemitz" <jo*@midnightbeach.comwrote in message
RNnews:45***************@midnightbeach.com...
RN>
>"Ron M. Newman" wrote:
>>I was able to find this example:
Load(AssemblyName.GetAssemblyName(filename))
Is the AssemblyName class really required?
No. Look at AppDomain.Load(string).
--
.NET 2.0 for Delphi Programmers
www.midnightbeach.com/.net
What you need to know.
---
WBR,
Michael Nemtsev [C# MVP] :: blog:
http://spaces.live.com/laflour
"At times one remains faithful to a cause only because its opponents do not
cease to be insipid." (c) Friedrich Nietzsche