Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Windows Host Scripting installed?
Message
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00838812
Message ID:
00838823
Views:
24
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.'
Previous
Reply
Map
View

Click here to load this message in the networking platform