Create a file

Posted on 2001-06-04
Last Modified: 2010-05-02
I would like to create a program that would write informaion about the pc to a database. Information like search the hhd for all .exe files and write the name of those files, hardware information; such as cpu speed, amount of RAM, stuff like that.
Any ideas???
Question by:jmrasmus
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3

Accepted Solution

glass_cookie earned 50 total points
ID: 6155399

I suppose you know how to write a database, right?

Here's some code for you: (You'lll have to do jigsaw puzzle with all the code and put them together yourself)

Description: This module allows you to find a file or files on your computer without using a single API. It looks for files type that you specific and return their name, path, size and date. It is good for program such as Anti-Virus or any program that requires access to every file in the system. This code also allows you to enter Wild Card Characters "*" so you can search for files of the same type or file(s) that you don't know how to spell.

Description: Update now shows proper infos to P4 too. Shows detailed information about your CPU. Recognizes Intel, AMD, Cyrix, Rise, IDT chips. Gives names, speed, l1 and l2 cache information. Also shows the features of your CPU. To make it possible to read the CPUID i wrote a little DLL in assembler that comes with the source code. Sorry but there are nearly no remarks in the sourcecode. But it should be easy to read. If you find that the programm makes a mistake identifying your CPU, please choose CPUID dump form the Tools Menu and send it to Enjoy

That's it!

glass cookie : )

Expert Comment

ID: 6155403
Here's another one:

Description: This code will quickly tell you a lot of your system information like computer name, IP address, OS, Service Pack, Processor Vendor, Processor Type, Processor Speed (Raw and Normal), RAM (Total and Available). The processor speed and RAM are on a timer and are updated every second. I am using a getcpu.dll that I downloaded of PSC created by Catalin Petolea. I am trying to get the source of the dll, but have not got it yet. The IP address module was also downloaded from PSC. Thanks for leting me use your code. Please vote if you like it and leave some feedback. We may use this program at work, so if there is any other information you think should be on it, please leave feedback or email me at
That's it!

glass cookie : )

Expert Comment

ID: 6155410
Here's the last one:


View snapshot:

Description: System, Hardware, Administrator? In order to make this program good, i need you, friends online! I see this project big, but I need your help.. mail me some nice things and i give you the end_result..... 95'98'NT works fine - pleace help me with 2000 The end_goal of this project is to run the program when users logon to a lan_network and write up_to_date information into a database!
That's it!

glass cookie : )
LVL 49

Expert Comment

ID: 7132879
Hi jmrasmus,
It appears that you have forgotten this question. I will ask Community Support to close it unless you finalize it within 7 days. I will suggest to:

    Accept glass_cookie's comment(s) as an answer.

jmrasmus, if you think your question was not answered at all or if you need help, you can simply post a new comment here.  Community Support moderators will follow up.
DanRollins -- EE database cleanup volunteer

Expert Comment

ID: 7167841
Comment from expert accepted as answer

E-E Moderator

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say 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

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…
Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
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…
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…

735 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