Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Converting this hexadecimal specific line
Message
De
14/06/2006 17:39:12
 
 
À
14/06/2006 17:18:21
Information générale
Forum:
ASP.NET
Catégorie:
Code, syntaxe and commandes
Versions des environnements
Environment:
VB 8.0
OS:
Windows XP SP2
Database:
Visual FoxPro
Divers
Thread ID:
01129127
Message ID:
01129134
Vues:
9
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform