Convert icon to byte array

  • Thread starter Thread starter Michael White
  • Start date Start date
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
 
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
 
Sorry, I should have provided that information.. I'm using VBnet.
 

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

Back
Top