473,804 Members | 2,246 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

to get a list of installed software in a machine

75 New Member
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 5792
willakawill
1,646 Top Contributor
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 New Member
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 Top Contributor
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 Contributor
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 New Member
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_MACH INE\SOFTWARE\Mi crosoft\Windows \CurrentVersion \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 Contributor
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_MACH INE\SOFTWARE\Mi crosoft\Windows \CurrentVersion \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 New Member
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 Recognized Expert Top Contributor
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 Contributor
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

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

Similar topics

1
5162
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 applications? Even better, can I use it to grab the list of installed applications on a remote machine on my network? (I do have domain admin rights, so I would have permission to read it...) I know what you're going to say... "Uhh... yeah,...
3
30477
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.0.2 in another Oracle Home which it called ora92 (c:\oracle\ora92). Since we no longer need Clients 8.0.5 and 8.1.7, I decided to uninstall all Oracle clients and install Oracle client 9.0.2. I used Oracle installer to
9
15848
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 version (with dotnetfx.exe) or the small version of the install package for the app we're distributing. Test for existence of a directory under %WINDIR%?
3
9343
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, we want to detect if our software is installed on the client machine and if so we want to provide more access, or else we want to give the user a limited access to the web site Thanks in Advance
2
3036
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 Name = "DB2 Personal Edition" Product Password = "DB2PE" Version Information = "8.1" Expiry Date = "Permanent" Annotation = "" Other information = ""
4
1690
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
3800
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 administrator rights then it works, if we create a new administrator user then it does NOT work, Here is the MSI log, please help as this is causing problems as only 3 users on this box are able to run MSI where are about 15 other users
1
4431
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 associated icons. I can display all installed applications by accessing the registry path: "LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall", however this does not give me the path to the applications executable file (which I need...
14
3648
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
30253
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 a comprehensive list of all autostart locations for Windows OSes: NOTE : These are some abbreviations used in this list. Please note them carefully: HKCU = HKEY_CURRENT_USER HKLM = HKEY_LOCAL_MACHINE
0
9714
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9594
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10600
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10350
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10351
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10096
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9174
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5673
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
3
3002
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.