Solved

How to search in registery

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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
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…

708 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

17 Experts available now in Live!

Get 1:1 Help Now