|
-
Aug 23rd, 2000, 08:50 AM
#1
Thread Starter
Junior Member
Hi! I need to know if there is a way to check the PC installed software, I want this application to check if the users have installed illegal software, if you know how can I do that or where can I find a software if it exists, please let me know, I will appreciate all your comments.
Thanks
Yoya
-
Aug 23rd, 2000, 09:27 AM
#2
Member
hi,
i've a temporary programmer for a company, and they've asked me to write the exact same piece of code as u've asked for.
i had a lotta problems searching for regestry codes that does what you want, but after a week i came to the decision to trash the regestry and search for the executables instead...
yeah i know it's hell of a lot more inefficient, but thats what i had to do in the end... my program searches for 20 apps on a 1gb disk, P100 with 128 mgs of ram, and it take 45 seconds..
the way i did it was te create a map of the disk by:
C:\winnt\system32\tree.com /f /a > C:\temp.map
then it's just a simple instr to find the program. the advantage of this search method is that it only makes on passes over the file, and so is kinda fast if you are searching for more then 1 application....
email me if you want a copy of my VB project..., it's got the whole code in it... 
Good luck.
p.s. if you do find a method to scan the regestry then please post it here so i can have a look 
Thanx, for your reply(s)
Zhang Tian Hao
Visual Studio Enterprise 6.0 SP 4
[email protected]
-
Aug 24th, 2000, 10:37 AM
#3
Frenzied Member
This tip:
http://www.vb-world.net/tips/tip121.html
logs all the apps that are run so all you need is a select case for a list of permitted apps and stop unknown ones being run.
Infact, you could code automaically email a notification to you!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|