Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
French characters with IO.FileInfo
Message
De
14/04/2011 12:39:41
 
 
À
14/04/2011 11:43:48
Information générale
Forum:
ASP.NET
Catégorie:
Code, syntaxe and commandes
Versions des environnements
Environment:
VB 9.0
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01507321
Message ID:
01507351
Vues:
39
>This code generates an error if the file name contains French characters:
>
>
>            ' Try to load the file
>            ' If it contains characters, it might not load
>            Try
>                loFile = New System.IO.FileInfo(cFile)
>            Catch loError As Exception
>                cError = aMessage(2, oProcess.nLanguage)
>                Return False
>            End Try
>
>
>Anyone would know how to use FileInfo() with French characters?

What is the exact exception info ?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform