S
Steve
I have a general routine in a windows app to get an embedded resource using
GetManifestResourceStream, Is it possible for when I call my routine to use
some kind of reflection to get the current namespace from where it was
called as I'm not a big fan of Hardcoding these things. ie
myBMP = MyGetResourceFunc(SomeReflectionMethod() +
".ImageFolder.Hi.bmp")
instead of...
myBMP =
MyGetResourceFunc("MyCompany.MyApp.MyComponent.ImageFolder.Hi.bmp")
I know its not very important but thought it may be possible.
Thanks in advance.
GetManifestResourceStream, Is it possible for when I call my routine to use
some kind of reflection to get the current namespace from where it was
called as I'm not a big fan of Hardcoding these things. ie
myBMP = MyGetResourceFunc(SomeReflectionMethod() +
".ImageFolder.Hi.bmp")
instead of...
myBMP =
MyGetResourceFunc("MyCompany.MyApp.MyComponent.ImageFolder.Hi.bmp")
I know its not very important but thought it may be possible.
Thanks in advance.