i am loading an assembly with reflection through a partial name ... in this case "system"
vb Code:
  1. Assembly.LoadWithPartialName(Filename)
works in this case to load the assembly but produces the following:
Code:
Public Shared Function LoadWithPartialName(partialName As String) As System.Reflection.Assembly' is obsolete: 'This method has been deprecated. Please use Assembly.Load() instead...
But when I use load i get the error:
Code:
Could not load file or assembly 'system' or one of its dependencies. The system cannot find the file specified.
Is it not quite stupid of M$ to recommend using another function to replace an existing function if it does not work the same way?

I guess i am asking if there is another way to do this, or atleast a way to hide the warning for this appearing in the warning window - as i like no warnings

Thanks
Kris