Solved

API Calls

Posted on 2000-03-10
6
163 Views
Last Modified: 2010-05-02
Hi i need to cretae an app which will fit onto a stiffy that when it is run will run thru and pick up waht applications have been installed on the pc and there serial number (if possible) then write the information back to the stiffy disk

thanx:

:)

Craig
0
Comment
Question by:CraigLazar
  • 3
  • 2
6 Comments
 
LVL 7

Expert Comment

by:Vbmaster
ID: 2604062
This sounds like a impossible task.. program just don't save serial numbers in a standardized format. Not to mention those programs that do not save the serial number to harddrive (why would it?).
0
 
LVL 4

Author Comment

by:CraigLazar
ID: 2604395
Hi
Does i not store the information in the registry ?
because if u reinstall a piece of software like office 97, the second time around it does not ask for the serial number but shows who the software was registered to with the serial number


:)

CRaig
0
 
LVL 7

Expert Comment

by:Vbmaster
ID: 2604415
But every program has probably their own way of storing the data, so to look for a program's serial number will mean you will have a gigantic database of how to look for each and every program.
0
Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

 

Accepted Solution

by:
EdG earned 100 total points
ID: 2694377
Craig,
 

Although you won't be able to get the Serial numbers because there is no standard for storing them (Office just looks at the place it stores it's own) you can get a list of the installed applications.  Iteriate through the registry at this location HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\WindowsUpdate\Uninstall to see a list of all application.  To filter it down to the list that you see in the Control Panel Applet only use those application that have the String value 'DisplayName'.

Hope this Helps
Eddie
0
 
LVL 4

Author Comment

by:CraigLazar
ID: 2695711
To EdGthanx allot for the help, i will take a look at it thanx allot for the help

:)

Craig
0
 
LVL 4

Author Comment

by:CraigLazar
ID: 2712372
Thanx
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

The debugging module of the VB 6 IDE can be accessed by way of the Debug menu item. That menu item can normally be found in the IDE's main menu line as shown in this picture.   There is also a companion Debug Toolbar that looks like the followin…
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…

828 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question