simple hex to ingeter constant question

  • Thread starter Thread starter Brian Henry
  • Start date Start date
B

Brian Henry

How would i do this in VB.NET?

public const LVIF_IMAGE AS INT32 = 0x0002

that of course fails... but how do you get hex values like that assigned
into consts? thanks
 
Hi,

In general replace the 0x with &H

public const LVIF_IMAGE AS INT32 = &H2

Ken
--------------------
How would i do this in VB.NET?

public const LVIF_IMAGE AS INT32 = 0x0002

that of course fails... but how do you get hex values like that assigned
into consts? thanks
 

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