Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
File Copy using the Shell...Win9x or Nt or 2000
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00451623
Message ID:
00451791
Views:
30
>>>>>>>>>>
How do you determine if FSO is installed on a machine via code
>>>>>>>>>>

You could trap ON ERROR * to avoid a messagebox if not there.
then try to instantiate and check result:
oFSO = CREATEOBJECT("Scripting.FileSystemObject")
IF VARTYPE(oFso) != "O"
   * Not installed
ENDIF
ON ERROR
HTH


Alex Feldstein, MCP, Microsoft MVP
VFP Tips: English - Spanish
Website - Blog - Photo Gallery


"Once again, we come to the Holiday Season, a deeply religious time that each of us observes, in his own way, by going to the mall of his choice." -- Dave Barry
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform