Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
French characters with IO.FileInfo
Message
De
14/04/2011 11:43:48
 
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
Code, syntaxe and commandes
Titre:
French characters with IO.FileInfo
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:
01507321
Vues:
110
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?
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform