Hi John,
Thank you for posting in the community!
Based on my understanding, you use
assembly.GetCallingAssembly.GetManifestResourceStr eam to get the resource
in a parent class in an assembly, then you derive from this class and
calling mymethod(Which is overrided from parent class) in the child class,
you want to know if this is possible.
===============================================
In your code, you invoke Assembly.GetCallingAssembly which will return the
Assembly of the method that invoked the currently executing method.
So althrough mymethod is overrided from parent class,
Assembly.GetCallingAssembly will return the child class's assembly.
Then, GetManifestResourceStream will retrieve the child assembly's
resource. So your code should work as you expected.
Addtionally, for more information about how to deal with Resource in
VS.net, please refer to:
http://msdn.microsoft.com/library/de...us/dnforms/htm
l/winforms02202003.asp
===============================================
Thank you for your patience and cooperation. If you have any questions or
concerns, please feel free to post it in the group. I am standing by to be
of assistance.
Best regards,
Jeffrey Tan
Microsoft Online Partner Support
Get Secure! -
www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.