i am loading an assembly with reflection through a partial name ... in this case "system"
works in this case to load the assembly but produces the following:vb Code:
Assembly.LoadWithPartialName(Filename)
But when I use load i get the error:Code:Public Shared Function LoadWithPartialName(partialName As String) As System.Reflection.Assembly' is obsolete: 'This method has been deprecated. Please use Assembly.Load() instead...
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?Code:Could not load file or assembly 'system' or one of its dependencies. The system cannot find the file specified.
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





Code Project - "Best VB.NET article of October 2011"
on the left <--)
Reply With Quote