A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » General Discussion
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

WSH/VBScript Version



 
 
Thread Tools Display Modes
  #1  
Old July 8th, 2004, 09:51 PM
external usenet poster
 
Posts: n/a
Default WSH/VBScript Version

Hi,

I am using the regular expressions object in VBScript
from an Excel application and I want to test the version
number of WSH or VBScript installed on the user's
machine. I've tried variations on the following with no
luck [1]. Any suggestions on how I can discover the
installed version of WSH or VBScript from my Excel
application would be very much appreciated. - Ethan

[1] Dim wshshell
Set wshshell = CreateObject("WScript.Shell")
lblWSRVersion.Caption = "Version: " & wshshell.Version

  #2  
Old July 9th, 2004, 11:01 AM
Harlan Grove
external usenet poster
 
Posts: n/a
Default WSH/VBScript Version

wrote...
I am using the regular expressions object in VBScript
from an Excel application and I want to test the version
number of WSH or VBScript installed on the user's
machine. I've tried variations on the following with no
luck [1]. Any suggestions on how I can discover the
installed version of WSH or VBScript from my Excel
application would be very much appreciated. - Ethan

....

Do a better job of reading the VBScript documentation. WScript has a Version
property, WScript.Shell doesn't. All you need is

wsv = WScript.Version


 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Why install older version of Office first? Apply to Tools? Chad Harris Setup, Installing & Configuration 1 June 23rd, 2004 04:03 AM
Why install older version of Office first? Apply to Tools? Chad Harris General Discussions 0 June 22nd, 2004 08:04 AM
ie6 sp1 update fails->"wfp: unrecognized version" Beemer Biker Outlook Express 2 June 14th, 2004 10:36 PM
Upgrade 03 Trial to Full Tom Publisher 2 June 4th, 2004 12:18 AM
Office 2003 and Office 2000/97 coexist on same PC? John General Discussions 3 May 6th, 2004 12:36 PM


All times are GMT +1. The time now is 06:25 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.