Try to do a reg Read
Set WshShell = WScript.CreateObject("WScript.Shell")
Wscript.Echo WshShell.RegRead("HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\CurrentVersion")
That should tell you what version you have. In Windows 98 you might need to look...
If you write it in as a ASP page you need to write it as
Server.CreateObject("Excel.Application")
and If you write it in note pad and run it under windows scripting host the code looks like this CreateObject("Excel.Application")
Wayne
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.