Need help with making new Data Type for VB to work with OpenGL smoothly

In Visual Basic looks like that: glReadPixel xpos, ypos, 1, 1, rpRed. pxlByte, Variable
How do you make new date type “pxlUnsignedByte” instead of pxlByte?

Reason I asked that is because pxlByte output is 0 to 127 and it discard any minus number in VB.


No slur please

A VB string is the same as a uByte. try usinf that to get the data, then converting to an integer afterwards.