Solved

API Calls

Posted on 2000-03-10
6
162 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
Is Your AD Toolbox Looking More Like a Toybox?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

 

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

ScreenConnect 6.0 Free Trial

Explore all the enhancements in one game-changing release, ScreenConnect 6.0, based on partner feedback. New features include a redesigned UI, app configurations and chat acknowledgement to improve customer engagement!

Question has a verified solution.

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

Introduction While answering a recent question about filtering a custom class collection, I realized that this could be accomplished with very little code by using the ScriptControl (SC) library.  This article will introduce you to the SC library a…
Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
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…

803 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