Solved

API Calls

Posted on 2000-03-10
6
164 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
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
SQL VB connection works in one PC and doesn't in another 15 71
vbModal 12 65
Advice in Xamarin 21 108
Visual Basic 6: Code needed for TripleDES Encryption/Decryption 13 31
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…
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…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

685 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