Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Converting this hexadecimal specific line
Message
From
14/06/2006 17:39:12
 
 
To
14/06/2006 17:18:21
General information
Forum:
ASP.NET
Category:
Coding, syntax and commands
Environment versions
Environment:
VB 8.0
OS:
Windows XP SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01129127
Message ID:
01129134
Views:
15
This message has been marked as the solution to the initial question of the thread.
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform