I am not sure if I understand your question. Nevertheless, I will attempt an answer.
You can convert a Hexadecimal string to an Integer using the following:
Dim intValue As Integer = Convert.ToInt32(strYourHexValue, 16)
If strYourHexValue contains "00000019", intValue will contain 25.
See
http://msdn.microsoft.com/EN-US/library/f1cbtwff(v=VS.110,d=hv.2).aspx
Example to study and learn from:
string strInput = "19000000";
string strOutput = "";
int intOutput = 0;
int x = 0;
if (strInput.Length % 2 != 0) {
Interaction.MsgBox("Input string must be an even number of hexadecimal characters");
System.Environment.Exit(0);
}
for (x = strInput.Length - 2; x >= 0; x += -2) {
strOutput += strInput.Substring(x, 2);
}
try {
intOutput = Convert.ToInt32(strOutput, 16);
} catch (Exception ex) {
Interaction.MsgBox(ex.Message);
System.Environment.Exit(0);
}
Interaction.MsgBox(strOutput + "=" + intOutput.ToString());