Solved

get registry

Posted on 2000-03-30
5
153 Views
Last Modified: 2010-05-02
how can i write a code to get a path from registry.
Anybody help me?
0
Comment
Question by:thg
5 Comments
 
LVL 1

Expert Comment

by:riduce
ID: 2669525
0
 

Expert Comment

by:TheMask
ID: 2669851
What do u mean by getting a path from the registry ?
0
 
LVL 7

Expert Comment

by:Vbmaster
ID: 2670155
0
 
LVL 9

Accepted Solution

by:
cymbolic earned 50 total points
ID: 2670425
here's a sample of how I saved a connection string in the registry, and then retrieved it later.  You canjust as easily save/retrieve a path/file name this way as well:
SaveSetting "PWExtract", "Database", "Con", rdoCon(Which).Connect

Con1$ = GetSetting("PWExtract", "Database", "Con")

0
 

Author Comment

by:thg
ID: 2688517
can u give me some code to get the string by using API?
0

Featured Post

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

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…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
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…

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

14 Experts available now in Live!

Get 1:1 Help Now