473,385 Members | 1,409 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

to get a list of installed software in a machine

75
Hi all,
i have a activex control containing a command button.on the button click the activex control should get the list if installed softwares available on the machine,can anyone help me regarding this since i am new to visual basic
Nov 13 '06 #1
10 5757
willakawill
1,646 1GB
Hi all,
i have a activex control containing a command button.on the button click the activex control should get the list if installed softwares available on the machine,can anyone help me regarding this since i am new to visual basic
Have you linked to this active x reference in your project?
Nov 13 '06 #2
ananth
75
Hi willakawill,
The requirement is I have vb6.0. I need to use an activex control that contains a command button on the button click it should generate a list of installed softwares available on the pc .i dont know how to to get along since i am very much a beginner please suggest some codes or links that helps me out in a finding a solution.


Have you linked to this active x reference in your project?
Nov 13 '06 #3
willakawill
1,646 1GB
Hi willakawill,
The requirement is I have vb6.0. I need to use an activex control that contains a command button on the button click it should generate a list of installed softwares available on the pc .i dont know how to to get along since i am very much a beginner please suggest some codes or links that helps me out in a finding a solution.
Great. Do you have a project? A form? do you have this object on your form? does it appear as a control in your project?
Do you have a help file with the object?
I need to know where you are in your project in order to point you in the right direction.
Nov 13 '06 #4
albertw
267 100+
Great. Do you have a project? A form? do you have this object on your form? does it appear as a control in your project?
Do you have a help file with the object?
I need to know where you are in your project in order to point you in the right direction.
hi
if your create a form (without contents, but with an icon) and a module
and paste following into this module:

Expand|Select|Wrap|Line Numbers
  1.  
  2. Sub Main()
  3.   'open the Add/Remove Programs window
  4.   Shell "rundll32.exe shell32.dll,Control_RunDLL appwiz.cpl,,0"
  5.   End
  6. End Sub
  7.  
  8.  
have your project start as SubMain and make an exe... :)
Nov 13 '06 #5
ananth
75
HI Mr.Albert
Thanks for giving me a solution.But the thing is the code should access a system registry to get the installed softwares.The path in the registry i want to access is HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\Curr entVersion\Uninstall.
I dont know how to start can u give some guidelines for it, the fact is i am new to vb and i dont no how to do .
The requirement is i need to have a form with a command button.On the Button click it should show the list of available softwares installed



hi
if your create a form (without contents, but with an icon) and a module
and paste following into this module:

Expand|Select|Wrap|Line Numbers
  1.  
  2. Sub Main()
  3.   'open the Add/Remove Programs window
  4.   Shell "rundll32.exe shell32.dll,Control_RunDLL appwiz.cpl,,0"
  5.   End
  6. End Sub
  7.  
  8.  
have your project start as SubMain and make an exe... :)
Nov 13 '06 #6
albertw
267 100+
HI Mr.Albert
Thanks for giving me a solution.But the thing is the code should access a system registry to get the installed softwares.The path in the registry i want to access is HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\Curr entVersion\Uninstall.
I dont know how to start can u give some guidelines for it, the fact is i am new to vb and i dont no how to do .
The requirement is i need to have a form with a command button.On the Button click it should show the list of available softwares installed
hi

try above code as command1_click() instead
accessing the registry directly is a matter of many declarations which i never have used before. unkown matter so to speak.
Nov 13 '06 #7
ananth
75
Hello Mr.Albert,
I first of all thank you for the valuable information you have provided me the code works fine on a button click,but the problem is it opens up a Add/Remove programs control panel.the thing is i just want to store those software information details on a text box or anywhere else it shouldnt display the the control panel.please help me out regarding this

hi

try above code as command1_click() instead
accessing the registry directly is a matter of many declarations which i never have used before. unkown matter so to speak.
Nov 13 '06 #8
sashi
1,754 Expert 1GB
Hello Mr.Albert,
I first of all thank you for the valuable information you have provided me the code works fine on a button click,but the problem is it opens up a Add/Remove programs control panel.the thing is i just want to store those software information details on a text box or anywhere else it shouldnt display the the control panel.please help me out regarding this
Hi there,

Do a little research on WMI (Windows Management Intrumentation) for further reading & understanding, hope it helps. Good luck & take care.
Nov 13 '06 #9
albertw
267 100+
Hi there,

Do a little research on WMI (Windows Management Intrumentation) for further reading & understanding, hope it helps. Good luck & take care.
hi

or try this link

reg ripper
Nov 13 '06 #10
ananth
75
Hi Mr.Albert
The information and other links you have provided me was so useful ,I first of all thank you for providing me such a valuable information without which my project would have been a failure.Thanks a lot sir


hi

or try this link

reg ripper
Nov 15 '06 #11

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: Pieter Linden | last post by:
Is it possible/does anyone know where there's a code snippet that will allow me to read the contents of HKEY_LOCAL_MACHINE\SOFTWARE or something like that so I can get a complete list of installed...
3
by: John | last post by:
Hi. We had a PC that had Oracle Client 8.0.5 and 8.1.7 installed in Default_Home (c:\orant) and Default_Home1 (c:\oracle). A third party package, installed certain components of Oracle Client...
9
by: Michael A. Covington | last post by:
What is the best way to test whether .NET 1.1 is installed on someone's machine? I'd like to give him a small program to run to test this, and based on the answer, he'll download either the big...
3
by: Raj | last post by:
Hi All, Is it possible to detect if a client software is installed on a machine using browser javascript. we are building a web/windows software and when the user logs into the web application,...
2
by: Raquel | last post by:
How do I know whether the 'runtime client' and the 'application development client' are installed on my machine? When I issue the command "db2licm -l", it gives the following output: Product...
4
by: Mac | last post by:
Hello Anyone has a list of software needed to be installed on below Operating systems to be able to run C# applications. a. Win98 b. Win2000 Pro Regards, Mac
1
by: BuddyWork | last post by:
Hello, When a particular user (has administrator rights) on a Windows 2000 Server SP4 tries to run any MSI's we get the message mentioned in the subject. If we logon with another user that has...
1
by: Will Arrowsmith | last post by:
Hi all, I am trying to create a small form much like the Windows Explorer 'open with...' dialog box, which will contain a list of all applications installed on the local machine and their...
14
gcoaster
by: gcoaster | last post by:
Hello, * Access 2007 * Little Experience with VBA I will try and make this as clear as I can. ISSUE I have a database that has information for Clients and their Computers.
0
AmberJain
by: AmberJain | last post by:
Windows Autorun FAQs: List of autostart locations Linked from the Original article- "Windows Autorun FAQs: Description". Que: Can you list all the autostart locations for windows? Ans: Here is...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.