Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problem in code for XP
Message
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01368763
Message ID:
01368769
Vues:
6
>these codes are working well in vista. But problem in xp. Can any one tell me what is problem.
>thanks
>CREATE CURSOR asdgt (code CHR(6),modified date) 
>
>oWSH = CREATEOBJECT("Scripting.FileSystemObject")
>oFolder = oWSH.GetFolder('F:\project\school\Stpics')
>FOR EACH oFile IN oFolder.Files
>=oFile.Name,oFile.DateLastModified
>INSERT INTO asdgt (code, modified) VALUES (oFile.Name, oFile.DateLastModified)  
>next
>!! Wrong title: please correct his..>Problem in codes for xp

Some system administrators may disable WSH and your code would not work then. You can use ADIR() function instead to write the same loop.
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform