Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Windows Host Scripting installed?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00838812
Message ID:
00838823
Vues:
23
Hi Nigel,

Thank you for your quick response. I have my software on a users XP computer to open a PDF file but it fails even though he has wscript.exe in the windows\system32. I am now trying to check if his version of WSH is broken.

Regards...Rex

>Rex,
>
>lcError = On("ERROR")
>llError = .F.
>On Error llError = .T.
>loWSH = CreateObject("WSH.Object") && I forget the library ref !!!
>On Error &lcOnError.
>If llError = .T. Then
> Error occurred
>EndIf
>
>
>>Hi all,
>>
>>Is there a simple way of determining if Windows Host Scripting is installed on a computer before it is called?
>>
>>Any assistance would be appreciated.
>>
>>Rex
Rex Toomey
ISD Port Macquarie NSW
Australia

'Inside every older person is a younger person wondering what happened.'
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform