Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Trouble with the Scripting.FileSystemObject
Message
 
À
12/03/2001 21:18:38
Jordan Pastourel
Worksafe Management Systems
Toowong, Australie
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00484304
Message ID:
00484395
Vues:
16
>Hi all,
>what the hell is going on.
>i have the following snippet of code:
>
>ofso = CreateObject'Scripting.FileSystemObject')
>oFileHandler = ofso.GetFilefilename)
>ofileHandler.Delete
>
>
>class definition SCRIPTING.FILESYSTEMOBJECT is not found
>
>where file name is obviously the location and name of a file.
>all this code works well from my machine here running win2000 workstation, and runs on win98SE with no problems at all. even on most win95 machines. i say most as i have a client machine that is having problems. they get an error:
>
>what is going on. HELP
>Jordan

Just to add to what Erik told you, if you wish to check for the existence of the WSH (and install, if necessary), check the registry for VBScript.RegExp. This will tell you whether or not the most recent version of the WSH is installed.
George

Ubi caritas et amor, deus ibi est
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform