Solved

get registry

Posted on 2000-03-30
5
155 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

ScreenConnect 6.0 Free Trial

Want empowering updates? You're in the right place! Discover new features in ScreenConnect 6.0, based on partner feedback, to keep you business operating smoothly and optimally (the way it should be). Explore all of the extras and enhancements for yourself!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Excel object stays open 19 76
Updates not working for MS Windows 7 12 166
VBS file using code from 2nd file (txt or vbs) 4 37
vb6 - Transfer from MSHFlexgrid1 to xls issue 8 52
Introduction While answering a recent question (http://www.experts-exchange.com/Q_27402310.html) in the VB classic zone, I wrote some VB code in the (Office) VBA environment, rather than fire up my older PC.  I didn't post completely correct code o…
This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
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 Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…

832 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