Solved

API Calls

Posted on 2000-03-10
6
155 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
How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

 

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

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

758 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now