Solved

How to search in registery

Posted on 2003-11-19
4
171 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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Windows 10 start screen issues 9 55
vb6 connector to mongodb 2 122
MsgBox 4 69
IF ELSE Statement in Excel Macro VBA 16 75
Introduction In a recent article (http://www.experts-exchange.com/A_7811-A-Better-Concatenate-Function.html) for the Excel community, I showed an improved version of the Excel Concatenate() function.  While writing that article I realized that no o…
Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
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…
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…

820 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