Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8074625
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T14:43:04+00:00 2026-06-05T14:43:04+00:00

I am having trouble trying to get my VBscript to read the version number

  • 0

I am having trouble trying to get my VBscript to read the version number of each of the Firefox plugins. These plugins are locatated at HKEY_LOCAL_MACHINE\SOFTWARE\MozillaPlugins. Each are in a seperate folder and each contain a key Version with the value that I am looking for (Screenshot to make it clearer). I understand that i need to use wmi but I think ill need a loop to go through each folder. I was using this link to help me but I keep getting lost.

Any help or further information on this would be greatly appreciated. I apologize if this question is poorly asked, I have very limited VBscripting skills. If so, leave a comment and Ill try and provide more information.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-05T14:43:05+00:00Added an answer on June 5, 2026 at 2:43 pm

    Next time please publish what you have allready got, as little as it is.
    Here a script i just made

    on error resume next
    dim aKeys, version
    Const HKEY_CURRENT_USER = &H80000001, HKEY_LOCAL_MACHINE = &H80000002
    set oShell    = WScript.CreateObject("WScript.Shell")
    set objreg = GetObject("winmgmts:{impersonationLevel=impersonate}!\\.\root\default:StdRegProv")
    strKeyPath = "Software\MozillaPlugins"
    'read subkeys in array aKeys
    objreg.EnumKey HKEY_LOCAL_MACHINE, strKeyPath, aKeys
    for each subkey In aKeys
      'read from version key if available
      version = oShell.RegRead("HKEY_LOCAL_MACHINE\" & strKeyPath & "\" & subkey & "\version")
      if version = "" then
        'perhaps version info in keyname itself ?
        version = split(split(subkey,"version=")(1),",")(0)
      end if
      if version = "" then
        version = "no version info available"
      end if
      wscript.echo split(subkey,",")(0) & ": " & version
      version = ""
    next
    

    gives on my system

    @adobe.com/FlashPlayer: 10.0.45.2
    @docu-track.com/PDF-XChange Viewer Plugin: 1.0
    @java.com/JavaPlugin: 160_23
    @Microsoft.com/NpCtrl: 4.1
    @microsoft.com/WPF: 3.5
    @tracker-software.com/PDF-XChange Viewer Plugin: 1.0
    @View22/View22: 3.10.50
    Adobe Reader: 10.1.0
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am having trouble trying to get iterators for inner sub-containers. Basically imagine this
I am having trouble trying to get NAnt to compile my project, which consists
I am having trouble trying to get a group of li tags to align
I am having serious trouble with trying to get all the forms on a
I am trying to get a nice paginator to work but I'm having trouble
I am having a little bit of trouble... I am trying to get a
Hey, I currently am having trouble trying to get this to work. Here's a
I'm having trouble trying to figure out how to get prolog to spit out
I'm trying to get IronRuby installed on a Mac and having trouble getting it
I'm having trouble trying to get a radius on images. I've simplified my problem

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.