LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   Registry Concerns (https://www.linuxquestions.org/questions/programming-9/registry-concerns-401930/)

ille.pugil42 01-11-2006 02:52 AM

Registry Concerns
 
*Gasp* I know, not a linux question in any regard. In my normal day-day activities, I am forced to work with several windows computers - most of which end up getting various viruses, spyware, etc. I'm attempting to create a visual basic program that scans the registry for certain things. I've come up with several neat modules that let you read values, but you must know that the key and strings exist, it won't simply list them. I've attmpted other forums and figure that I may as well try here - at least people here attempt to answer, right? :)

So anyway, if someone can help me with this necessary evil windows question, I'd be very happy. Oh yeah, OS is mainly 9x/ME and using Visual Basic 6

AdaHacker 01-11-2006 08:41 PM

Well, there's always the Win32 API registry functions. Those will certainly let you do anything that can be done with the registry. In particular, RegEnumKeyEx might be of interest to you.

ille.pugil42 01-11-2006 09:39 PM

thanks, I look into that one.

ille.pugil42 01-11-2006 09:40 PM

although, at first glance, it looks like its for CPP... I'm not entirely sure how to make that work directly with Visual Basic...

AdaHacker 01-11-2006 09:52 PM

You can use declare statements to directly call Win32 API functions from within a VB6 program. Just open up the API text viewer that comes with VB6, search for the appropriate functions, and copy the declare statements. You can then paste them into your probram and use them more or less like regular VB6 functions.


All times are GMT -5. The time now is 09:38 PM.