> You might have to add the .ico file to the project and (under the
> Properties) set to "Embedded Resource"
That's what i've actually already done.
But i can't find a way to "name" this resource.
Of cource i can go without that, because by default the resource will be
given a name <namespace>.<filename> But i'd like to be able to customly
name it though.
Any ideas would be highly appreciated!
Thank you,
Andrey
nzpcmad - 13 Sep 2004 21:10 GMT
I use C# / Visual Studio 2003.
When I load the icon, I use:
this.Icon = new Icon(System.Reflection.Assembly.GetExecutingAssembly).GetManifestResourceStream("Project
Name.Icon Name.ico"));
This works. I don't have sub-folders. If I did. I believe the path
would then be:
Project Name.Folder Name.Icon Name.ico"
Thanks
> > You might have to add the .ico file to the project and (under the
> > Properties) set to "Embedded Resource"
[quoted text clipped - 9 lines]
> Thank you,
> Andrey