Solved

How to search in registery

Posted on 2003-11-19
4
169 Views
Last Modified: 2010-05-03
Hi, i am writing a program to basically search and copy files from one loaction to another just to start.  I want to be able to Look in KKEY_LOCAL_MACHINE/SOFTWARE....and find the data path for a program.  From that path i want to look into the path and look for another file.  How do i do that?

thanks
0
Comment
Question by:reshmi726
  • 2
  • 2
4 Comments
 

Author Comment

by:reshmi726
ID: 9781826
By the way im writing the code in VB
0
 
LVL 28

Expert Comment

by:vinnyd79
ID: 9789374
Does the program you need the path to have a file extension associated with it?
0
 

Author Comment

by:reshmi726
ID: 9790547
I dont need a file extension now, i just have to search for the path of a particular software, and then once i get that i need to do another search within the path for a particular .txt file.

for example in a computer i need to know where financialsoft is located.  Is it in d:\finance or c:/financial or etc...
0
 
LVL 28

Accepted Solution

by:
vinnyd79 earned 100 total points
ID: 9792140
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

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…
I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
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…
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…

896 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now