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
  • 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

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Saving history changes to sub form 4 42
VBA filters 2 59
Access Object Property from VBA Module in Excel 2010 2 31
Recommendation vb6 to or others 14 142
If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
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…
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…

785 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