I've just received the error: 0x80040154 Class Not Registered while trying to use WScript as follows:
oShell = CREATEOBJECT("WScript.Shell")
I tried re-registering OleAut32.dll and OlePro32.dll but no change in results.
The only thing different that I can think of is an upgrade to VFP 6.0 SP5 from SP3.
Any thoughts would be appreciated.
----------------------------------
Try to reinstall WSH. You can get the latest versio 5.6 at
http://msdn.microsoft.com/downloads/default.asp?URL=/downloads/sample.asp?url=/msdn-files/027/001/733/msdncompositedoc.xml----------------------------------
Thanks Sergey, that worked.
Do you think my users who install my app will need to also upgrade to WSH 5.6?