Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Misc Newsgroups > VB Script

Vista Tutorial - newbie Help: HOW to use VBSCript on clientside to detect browser typeand version

Reply
 
Old 06-14-2009   #1 (permalink)
jharp80
Guest


 
 

newbie Help: HOW to use VBSCript on clientside to detect browser typeand version

Hi I would like to detect broswer type and version (Example FF2, FF3,
IE, so on) on the client side using VBScript. I appreciate any script
on this I can do; and if not available some general guidelines how I
should accomplish this using VBSCript ;example what objects ı need to
query. or is it possible to do this through reading registry keys.

Thanks

My System SpecsSystem Spec
Old 06-15-2009   #2 (permalink)
Bob Barrows
Guest


 
 

Re: newbie Help: HOW to use VBSCript on clientside to detect browser type and version

jharp80 wrote:
Quote:

> Hi I would like to detect broswer type and version (Example FF2, FF3,
> IE, so on) on the client side using VBScript.
You will not be able to use vbscript with Firefox - it is not supported. You
will need to use javascript instead.
Quote:

> I appreciate any script
> on this I can do; and if not available some general guidelines how I
> should accomplish this using VBSCript ;example what objects i need to
> query. or is it possible to do this through reading registry keys.
>
No registry keys are needed. DHTM should suffice. See:
http://www.dynamicdrive.com/dynamici...sersniffer.htm

--
Microsoft MVP - ASP/ASP.NET - 2004-2007
Please reply to the newsgroup. This email account is my spam trap so I
don't check it very often. If you must reply off-line, then remove the
"NO SPAM"


My System SpecsSystem Spec
Old 06-15-2009   #3 (permalink)
jharp80
Guest


 
 

Re: newbie Help: HOW to use VBSCript on clientside to detect browsertype and version

On Jun 15, 7:09*am, "Bob Barrows" <reb01...@xxxxxx> wrote:
Quote:

> jharp80 wrote:
Quote:

> > Hi I would like to detect broswer type and version (Example FF2, FF3,
> > IE, so on) on the client side using VBScript.
>
> You will not be able to use vbscript with Firefox - it is not supported. You
> will need to use javascript instead.
>
Quote:

> > I appreciate any script
> > on this I *can do; and if not available some general guidelines how I
> > should accomplish this using VBSCript ;example what objects i need to
> > query. or is it possible to do this through reading registry keys.
>
> No registry keys are needed. DHTM should suffice. See:http://www.dynamicdrive.com/dynamici...sersniffer.htm
>
> --
> Microsoft MVP - ASP/ASP.NET - 2004-2007
> Please reply to the newsgroup. This email account is my spam trap so I
> don't check it very often. If you must reply off-line, then remove the
> "NO SPAM"
Thanks for your reply. I am interested in detecting only Firefox and
IE versions installed. And I like to do so without the browesers
actually launched.

I have an hta script; so the code that I am looking for to do the
detection will be included in that hta script written in VBScript.
There must be a way to detect firefox as well, the script you
mentioned seems to support detection of several broswers but Firefox
which is what I need along with IE. any other thoughts? Thanks.
My System SpecsSystem Spec
Old 06-15-2009   #4 (permalink)
mayayana
Guest


 
 

Re: newbie Help: HOW to use VBSCript on clientside to detect browser type and version

When you say "client-side" that implies you're
talking about doing it through a visited webpage.
If it's an HTA with VBScript then you must mean
that you're running your HTA on a local PC. (You
can't do anything like what you're asking over the
Internet.)

For IE, a couple of tests that might be good:

1) The default value in this key should give you the
path to IE. You can then check the version of the file:

HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\App
Paths\IEXPLORE.EXE

2) This value provides the IE version:

HKEY_LOCAL_MACHINE\Software\Microsoft\Internet Explorer

The latter method may be less trustworthy. On my own
system, for instance, I installed an HP printer that
insisted I didn't have a recent enough version of IE. (!)
I had to change that Registry value to a higher
number in order to stop the HP installer malfunction.
I've found a number of similar cases, where software
installers check the IE version for no good reason.
So I set that Registry value high and recommend the
same to others.

-----------

Firefox is awkward because it doesn't register
its executable in the App Paths Registry key.
On my system it's accessible in two ways:

1)
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Uninstall\Mozil
la Firefox (1.5)\DisplayVersion

I have v. 1.5 installed. Clearly this method requires some
parsing, though. It doesn't look like a very dependable
approach. You'd have to enumerate the Uninstall keys
(probably with WMI) and check for one with "firefox"
in the name. However the InstallLocation value should
give you the FF program folder, where you could check the
file version. But that then involves another problem:
Firefox.exe has a file version that's actually the gecko
version! What you need is the "product version". For that,
see here for a VBS class that extracts the version info.
data from a file's resource table:

www.jsware.net/jsware/scripts.php5#fvinfo

2) This method might be easier, but I don't know whether
it's standardized across FF versions. On my system, at least,
there's a value:
HKEY_LOCAL_MACHINE\Software\Mozilla\Mozilla Firefox\CurrentVersion

The value there is "1.5(en-US)". So again, you'd
have to parse the value.

Whatever method you end up with, if I were you
I'd check it across versions before depending on the
script. You can't depend on standardization. And you
can't depend on program path.

Quote:
Quote:

> > Hi I would like to detect broswer type and version (Example FF2, FF3,
> > IE, so on) on the client side using VBScript.
>
> You will not be able to use vbscript with Firefox - it is not supported.
You
Quote:

> will need to use javascript instead.
>
Quote:

> > I appreciate any script
> > on this I can do; and if not available some general guidelines how I
> > should accomplish this using VBSCript ;example what objects i need to
> > query. or is it possible to do this through reading registry keys.
>
> No registry keys are needed. DHTM should suffice.
See:http://www.dynamicdrive.com/dynamici...sersniffer.htm
Quote:

>
> --
> Microsoft MVP - ASP/ASP.NET - 2004-2007
> Please reply to the newsgroup. This email account is my spam trap so I
> don't check it very often. If you must reply off-line, then remove the
> "NO SPAM"
Thanks for your reply. I am interested in detecting only Firefox and
IE versions installed. And I like to do so without the browesers
actually launched.

I have an hta script; so the code that I am looking for to do the
detection will be included in that hta script written in VBScript.
There must be a way to detect firefox as well, the script you
mentioned seems to support detection of several broswers but Firefox
which is what I need along with IE. any other thoughts? Thanks.


My System SpecsSystem Spec
Old 06-15-2009   #5 (permalink)
Bob Barrows
Guest


 
 

Re: newbie Help: HOW to use VBSCript on clientside to detect browser type and version

jharp80 wrote:
Quote:

> On Jun 15, 7:09 am, "Bob Barrows" <reb01...@xxxxxx> wrote:
Quote:

>> jharp80 wrote:
Quote:

>>> Hi I would like to detect broswer type and version (Example FF2,
>>> FF3, IE, so on) on the client side using VBScript.
>>
>> You will not be able to use vbscript with Firefox - it is not
>> supported. You
>> will need to use javascript instead.
>>
Quote:

>>> I appreciate any script
>>> on this I can do; and if not available some general guidelines how I
>>> should accomplish this using VBSCript ;example what objects i need
>>> to query. or is it possible to do this through reading registry
>>> keys.
>>
>> No registry keys are needed. DHTM should suffice.
>> See:http://www.dynamicdrive.com/dynamici...sersniffer.htm
>>
>
> Thanks for your reply. I am interested in detecting only Firefox and
> IE versions installed.
Installed? That's a different question. That answer would require a
search of the registry.
Quote:

> And I like to do so without the browesers
> actually launched.
>
> I have an hta script; so the code that I am looking for to do the
> detection will be included in that hta script written in VBScript.
An HTA page runs in a browser doesn't it? It just uses a different
library to process the html.
Quote:

> There must be a way to detect firefox as well, the script you
> mentioned seems to support detection of several broswers but Firefox
I found that page via a google search that had many more hits, many of
which will contain the details for firefox:
http://lmgtfy.com/?q=javascript+browser+detection

--
HTH,
Bob Barrows


My System SpecsSystem Spec
Old 06-15-2009   #6 (permalink)
jharp80
Guest


 
 

Re: newbie Help: HOW to use VBSCript on clientside to detect browsertype and version

Thanks for your reply. So It sounds like I need to embed some vbscript
code reading registry keys to fetch the browser information.

My System SpecsSystem Spec
Old 06-16-2009   #7 (permalink)
Al Dunbar
Guest


 
 

Re: newbie Help: HOW to use VBSCript on clientside to detect browser type and version


"mayayana" <mayaXXyana@xxxxxx> wrote in message
news:eZRvwib7JHA.1432@xxxxxx
Quote:

> When you say "client-side" that implies you're
> talking about doing it through a visited webpage.
> If it's an HTA with VBScript then you must mean
> that you're running your HTA on a local PC. (You
> can't do anything like what you're asking over the
> Internet.)
>
> For IE, a couple of tests that might be good:
>
> 1) The default value in this key should give you the
> path to IE. You can then check the version of the file:
>
> HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\App
> Paths\IEXPLORE.EXE
>
> 2) This value provides the IE version:
>
> HKEY_LOCAL_MACHINE\Software\Microsoft\Internet Explorer
>
> The latter method may be less trustworthy. On my own
> system, for instance, I installed an HP printer that
> insisted I didn't have a recent enough version of IE. (!)
> I had to change that Registry value to a higher
> number in order to stop the HP installer malfunction.
> I've found a number of similar cases, where software
> installers check the IE version for no good reason.
> So I set that Registry value high and recommend the
> same to others.
>
> -----------
>
> Firefox is awkward because it doesn't register
> its executable in the App Paths Registry key.
> On my system it's accessible in two ways:
>
> 1)
> HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Uninstall\Mozil
> la Firefox (1.5)\DisplayVersion
>
> I have v. 1.5 installed. Clearly this method requires some
> parsing, though. It doesn't look like a very dependable
> approach. You'd have to enumerate the Uninstall keys
> (probably with WMI) and check for one with "firefox"
> in the name. However the InstallLocation value should
> give you the FF program folder, where you could check the
> file version. But that then involves another problem:
> Firefox.exe has a file version that's actually the gecko
> version! What you need is the "product version". For that,
> see here for a VBS class that extracts the version info.
> data from a file's resource table:
>
> www.jsware.net/jsware/scripts.php5#fvinfo
>
> 2) This method might be easier, but I don't know whether
> it's standardized across FF versions. On my system, at least,
> there's a value:
> HKEY_LOCAL_MACHINE\Software\Mozilla\Mozilla Firefox\CurrentVersion
>
> The value there is "1.5(en-US)". So again, you'd
> have to parse the value.
>
> Whatever method you end up with, if I were you
> I'd check it across versions before depending on the
> script. You can't depend on standardization. And you
> can't depend on program path.
>
>
Quote:
Quote:

>> > Hi I would like to detect broswer type and version (Example FF2, FF3,
>> > IE, so on) on the client side using VBScript.
>>
>> You will not be able to use vbscript with Firefox - it is not supported.
> You
Quote:

>> will need to use javascript instead.
>>
Quote:

>> > I appreciate any script
>> > on this I can do; and if not available some general guidelines how I
>> > should accomplish this using VBSCript ;example what objects i need to
>> > query. or is it possible to do this through reading registry keys.
>>
>> No registry keys are needed. DHTM should suffice.
> See:http://www.dynamicdrive.com/dynamici...sersniffer.htm
Quote:

>>
>> --
>> Microsoft MVP - ASP/ASP.NET - 2004-2007
>> Please reply to the newsgroup. This email account is my spam trap so I
>> don't check it very often. If you must reply off-line, then remove the
>> "NO SPAM"
>
> Thanks for your reply. I am interested in detecting only Firefox and
> IE versions installed. And I like to do so without the browesers
> actually launched.
>
> I have an hta script; so the code that I am looking for to do the
> detection will be included in that hta script written in VBScript.
> There must be a way to detect firefox as well, the script you
> mentioned seems to support detection of several broswers but Firefox
> which is what I need along with IE. any other thoughts? Thanks.
>
>


My System SpecsSystem Spec
Old 06-16-2009   #8 (permalink)
mayayana
Guest


 
 

Re: newbie Help: HOW to use VBSCript on clientside to detect browser type and version

My goodness, Al, we seem to have rendered
you speechless.

--
--
Al Dunbar <alandrub@xxxxxx> wrote in message
news:uQH5nJk7JHA.4632@xxxxxx
Quote:

>
> "mayayana" <mayaXXyana@xxxxxx> wrote in message
> news:eZRvwib7JHA.1432@xxxxxx
Quote:

> > When you say "client-side" that implies you're
> > talking about doing it through a visited webpage.
> > If it's an HTA with VBScript then you must mean
> > that you're running your HTA on a local PC. (You
> > can't do anything like what you're asking over the
> > Internet.)
> >
> > For IE, a couple of tests that might be good:
> >
> > 1) The default value in this key should give you the
> > path to IE. You can then check the version of the file:
> >
> > HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\App
> > Paths\IEXPLORE.EXE
> >
> > 2) This value provides the IE version:
> >
> > HKEY_LOCAL_MACHINE\Software\Microsoft\Internet Explorer
> >
> > The latter method may be less trustworthy. On my own
> > system, for instance, I installed an HP printer that
> > insisted I didn't have a recent enough version of IE. (!)
> > I had to change that Registry value to a higher
> > number in order to stop the HP installer malfunction.
> > I've found a number of similar cases, where software
> > installers check the IE version for no good reason.
> > So I set that Registry value high and recommend the
> > same to others.
> >
> > -----------
> >
> > Firefox is awkward because it doesn't register
> > its executable in the App Paths Registry key.
> > On my system it's accessible in two ways:
> >
> > 1)
> >
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Uninstall\Mozil
Quote:
Quote:

> > la Firefox (1.5)\DisplayVersion
> >
> > I have v. 1.5 installed. Clearly this method requires some
> > parsing, though. It doesn't look like a very dependable
> > approach. You'd have to enumerate the Uninstall keys
> > (probably with WMI) and check for one with "firefox"
> > in the name. However the InstallLocation value should
> > give you the FF program folder, where you could check the
> > file version. But that then involves another problem:
> > Firefox.exe has a file version that's actually the gecko
> > version! What you need is the "product version". For that,
> > see here for a VBS class that extracts the version info.
> > data from a file's resource table:
> >
> > www.jsware.net/jsware/scripts.php5#fvinfo
> >
> > 2) This method might be easier, but I don't know whether
> > it's standardized across FF versions. On my system, at least,
> > there's a value:
> > HKEY_LOCAL_MACHINE\Software\Mozilla\Mozilla Firefox\CurrentVersion
> >
> > The value there is "1.5(en-US)". So again, you'd
> > have to parse the value.
> >
> > Whatever method you end up with, if I were you
> > I'd check it across versions before depending on the
> > script. You can't depend on standardization. And you
> > can't depend on program path.
> >
> >
Quote:

> >> > Hi I would like to detect broswer type and version (Example FF2, FF3,
> >> > IE, so on) on the client side using VBScript.
> >>
> >> You will not be able to use vbscript with Firefox - it is not
supported.
Quote:
Quote:

> > You
Quote:

> >> will need to use javascript instead.
> >>
> >> > I appreciate any script
> >> > on this I can do; and if not available some general guidelines how I
> >> > should accomplish this using VBSCript ;example what objects i need to
> >> > query. or is it possible to do this through reading registry keys.
> >>
> >> No registry keys are needed. DHTM should suffice.
> > See:http://www.dynamicdrive.com/dynamici...sersniffer.htm
Quote:

> >>
> >> --
> >> Microsoft MVP - ASP/ASP.NET - 2004-2007
> >> Please reply to the newsgroup. This email account is my spam trap so I
> >> don't check it very often. If you must reply off-line, then remove the
> >> "NO SPAM"
> >
> > Thanks for your reply. I am interested in detecting only Firefox and
> > IE versions installed. And I like to do so without the browesers
> > actually launched.
> >
> > I have an hta script; so the code that I am looking for to do the
> > detection will be included in that hta script written in VBScript.
> > There must be a way to detect firefox as well, the script you
> > mentioned seems to support detection of several broswers but Firefox
> > which is what I need along with IE. any other thoughts? Thanks.
> >
> >
>
>
>

My System SpecsSystem Spec
Old 06-17-2009   #9 (permalink)
Al Dunbar
Guest


 
 

Re: newbie Help: HOW to use VBSCript on clientside to detect browser type and version


"mayayana" <mayaXXyana@xxxxxx> wrote in message
news:eVSDqKo7JHA.1564@xxxxxx
Quote:

> My goodness, Al, we seem to have rendered
> you speechless.
LOL. But not you guys. I have switched to the Windows Live Mail Client and
often post null replies. When I click on the reply-group button, the mouse
pointer is left hovering over the send button, and I inadvertently tap the
touchpad on this laptop, or hit the left button.


/Al
Quote:

> --
> --
> Al Dunbar <alandrub@xxxxxx> wrote in message
> news:uQH5nJk7JHA.4632@xxxxxx
Quote:

>>
>> "mayayana" <mayaXXyana@xxxxxx> wrote in message
>> news:eZRvwib7JHA.1432@xxxxxx
Quote:

>> > When you say "client-side" that implies you're
>> > talking about doing it through a visited webpage.
>> > If it's an HTA with VBScript then you must mean
>> > that you're running your HTA on a local PC. (You
>> > can't do anything like what you're asking over the
>> > Internet.)
>> >
>> > For IE, a couple of tests that might be good:
>> >
>> > 1) The default value in this key should give you the
>> > path to IE. You can then check the version of the file:
>> >
>> > HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\App
>> > Paths\IEXPLORE.EXE
>> >
>> > 2) This value provides the IE version:
>> >
>> > HKEY_LOCAL_MACHINE\Software\Microsoft\Internet Explorer
>> >
>> > The latter method may be less trustworthy. On my own
>> > system, for instance, I installed an HP printer that
>> > insisted I didn't have a recent enough version of IE. (!)
>> > I had to change that Registry value to a higher
>> > number in order to stop the HP installer malfunction.
>> > I've found a number of similar cases, where software
>> > installers check the IE version for no good reason.
>> > So I set that Registry value high and recommend the
>> > same to others.
>> >
>> > -----------
>> >
>> > Firefox is awkward because it doesn't register
>> > its executable in the App Paths Registry key.
>> > On my system it's accessible in two ways:
>> >
>> > 1)
>> >
> HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Uninstall\Mozil
Quote:
Quote:

>> > la Firefox (1.5)\DisplayVersion
>> >
>> > I have v. 1.5 installed. Clearly this method requires some
>> > parsing, though. It doesn't look like a very dependable
>> > approach. You'd have to enumerate the Uninstall keys
>> > (probably with WMI) and check for one with "firefox"
>> > in the name. However the InstallLocation value should
>> > give you the FF program folder, where you could check the
>> > file version. But that then involves another problem:
>> > Firefox.exe has a file version that's actually the gecko
>> > version! What you need is the "product version". For that,
>> > see here for a VBS class that extracts the version info.
>> > data from a file's resource table:
>> >
>> > www.jsware.net/jsware/scripts.php5#fvinfo
>> >
>> > 2) This method might be easier, but I don't know whether
>> > it's standardized across FF versions. On my system, at least,
>> > there's a value:
>> > HKEY_LOCAL_MACHINE\Software\Mozilla\Mozilla Firefox\CurrentVersion
>> >
>> > The value there is "1.5(en-US)". So again, you'd
>> > have to parse the value.
>> >
>> > Whatever method you end up with, if I were you
>> > I'd check it across versions before depending on the
>> > script. You can't depend on standardization. And you
>> > can't depend on program path.
>> >
>> >
>> >> > Hi I would like to detect broswer type and version (Example FF2,
>> >> > FF3,
>> >> > IE, so on) on the client side using VBScript.
>> >>
>> >> You will not be able to use vbscript with Firefox - it is not
> supported.
Quote:
Quote:

>> > You
>> >> will need to use javascript instead.
>> >>
>> >> > I appreciate any script
>> >> > on this I can do; and if not available some general guidelines how I
>> >> > should accomplish this using VBSCript ;example what objects i need
>> >> > to
>> >> > query. or is it possible to do this through reading registry keys.
>> >>
>> >> No registry keys are needed. DHTM should suffice.
>> > See:http://www.dynamicdrive.com/dynamici...sersniffer.htm
>> >>
>> >> --
>> >> Microsoft MVP - ASP/ASP.NET - 2004-2007
>> >> Please reply to the newsgroup. This email account is my spam trap so I
>> >> don't check it very often. If you must reply off-line, then remove the
>> >> "NO SPAM"
>> >
>> > Thanks for your reply. I am interested in detecting only Firefox and
>> > IE versions installed. And I like to do so without the browesers
>> > actually launched.
>> >
>> > I have an hta script; so the code that I am looking for to do the
>> > detection will be included in that hta script written in VBScript.
>> > There must be a way to detect firefox as well, the script you
>> > mentioned seems to support detection of several broswers but Firefox
>> > which is what I need along with IE. any other thoughts? Thanks.
>> >
>> >
>>
>>
>>
>
>


My System SpecsSystem Spec
Old 07-01-2009   #10 (permalink)
Mark D. MacLachlan
Guest


 
 

Re: newbie Help: HOW to use VBSCript on clientside to detect browser type and version

jharp80 wrote:
Quote:

> Hi I would like to detect broswer type and version (Example FF2, FF3,
> IE, so on) on the client side using VBScript. I appreciate any script
> on this I can do; and if not available some general guidelines how I
> should accomplish this using VBSCript ;example what objects ı need to
> query. or is it possible to do this through reading registry keys.
>
> Thanks
I had to grab FireFox versions a little while back myself. THis is the
solution I came up with:

Code:
'=======================================================================
===
'
' NAME: GetFireFoxVersion.vbs
'
' AUTHOR: Mark D. MacLachlan , The Spider's Parlor
' URL: http://www.thespidersparlor.com
' DATE  : 1/27/2009
' COPYRIGHT © 2009, All Rights Reserved
'
' COMMENT:
'    THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF
'    ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED To
'    THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A
'    PARTICULAR PURPOSE.
'
'    IN NO EVENT SHALL THE SPIDER'S PARLOR AND/OR ITS RESPECTIVE
SUPPLIERS
'    BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY
'    DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
'    WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS
'    ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE
'    OF THIS CODE OR INFORMATION.
'
'=======================================================================
===
Dim objFSO
strComputer = "."

Set objFSO = CreateObject("Scripting.FileSystemObject")

If objFSO.FileExists("C:\Program Files (x86)\Mozilla
Firefox\FireFox.exe") Then
FF = "C:\\Program Files (x86)\\Mozilla Firefox\\FireFox.exe"
ElseIf objFSO.FileExists("C:\Program Files\Mozilla
Firefox\FireFox.exe") Then
FF = "C:\\Program Files\\Mozilla Firefox\\FireFox.exe"
Else
FF = "NotFound" 'FireFox not found
End If

If FF <> "NotFound" Then
Set objWMIService = GetObject("winmgmts:" _
& "{impersonationLevel=impersonate}!\\" & strComputer &
"\root\cimv2")
Set colFiles = objWMIService.ExecQuery _
("Select * from CIM_Datafile Where name = '" & FF &"'")
For Each objFile in colFiles
Wscript.Echo "FireFox Version: " & objFile.Version
Next
End If
--

My System SpecsSystem Spec
Reply

Thread Tools


Similar Threads
Thread Forum
Is Vbscript can support with many browser...? VB Script
Detect which version of Visual Studio compiled a program .NET General
browser version Browsers & Mail
How to detect .NET Framework version of an Assembly .NET General
Newbie Vista Version Question Vista General


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46