Convert icon to byte array

M

Michael White

I have an icon stored as a resource in my project. Once getting the icon
using

My.Resources.ResourceManager.GetObject(IconName)


How can I convert it to a byte array?

Thanks..
Michael White
Programmer/Analyst
Marion County, OR
 
C

Cor Ligthert [MVP]

Michael,

With a piece of program, however that depends if you use C# or VBNet.

I know that in the VB.Net newsgroup this question is answered almost every
week.

Cor
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top