0

well i create a application and i put all MenuStrip icons in a folder
And i call them like this

MenuSItem.Image = Image.FromFile(@"Icons/Login/About.png");

but this one have a big problem, everyone have acces to icons, everyone can delete-put other icons...
Yea ok i know, i can let icons in resource but i dont like this one...

My Question is:
Can i create a encrypted file were inside i will have all those images?

Example , to create a WIcons.wic file, and when application run to load from this file icons...

like a "local store- database"

3
Contributors
2
Replies
3
Views
6 Years
Discussion Span
Last Post by singh_soorma94
2

What if someone removed your iconfile? It is a bad thing to do believe me.
The best way to store your icons is in the application!
Your project probably contains a Properties map, which contains something called resources. Open it and add your icons. You can watch this video to see how it is done. It's about buttons but you'll get the idea. Succes!!

Edited by ddanbe: n/a

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.