Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
JustfName ?
Message
De
12/04/2005 03:25:04
Keith Payne
Technical Marketing Solutions
Floride, États-Unis
 
 
À
01/04/2005 06:16:09
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Titre:
Versions des environnements
Environment:
VB.NET 1.1
OS:
Windows XP SP2
Network:
Windows XP
Database:
MS SQL Server
Divers
Thread ID:
01000565
Message ID:
01003605
Vues:
19
The FileInfo class actually reads the directory entry for the file from the Operating System. It is not a good replacement for the VFP string parsing functions. Look up the Path class for pure string parsing - it has all of the neccessary string parsing functions.

>Glenn,
>
>The FileInfo class contains similiar functionality. Sorry but the following code is C# but should be easily converted.
>
>FileInfo myInfo = new FileInfo("c:\\MyDir\\MyFile.txt");
>MessageBox.Show(myInfo.Name);
>
>The Visual FoxPro Toolkit for .NET (www.gotdotnet.com) contains direct replacements for VFP functions that can be used from both C# and VB.
>
>Regards
>Neil
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform