>I have this VFP line that I am trying to convert to VB.NET:
>
>
> if LEFT(lcString,3)=CHR(0xFF)+CHR(0xD8)+CHR(0xFF)
> Return "JPG"
> End If
>
>
>I need to find the proper syntax to accomodate this hexadecimal line.
0xFF = 255
0xD8 = 232
Do you need anything else?
Regards. Al
"Violence is the last refuge of the incompetent." -- Isaac Asimov
"Never let your sense of morals prevent you from doing what is right." -- Isaac Asimov
Neither a despot, nor a doormat, be
Every app wants to be a database app when it grows up