Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
French characters with IO.FileInfo
Message
From
14/04/2011 11:43:48
 
 
To
All
General information
Forum:
ASP.NET
Category:
Coding, syntax and commands
Title:
French characters with IO.FileInfo
Environment versions
Environment:
VB 9.0
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01507321
Message ID:
01507321
Views:
109
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
Next
Reply
Map
View

Click here to load this message in the networking platform