Solved

How do I read a HKEY_CURRENT_USER registry value in VB6?

Posted on 2008-10-20
1
633 Views
Last Modified: 2012-05-05
How do I read a HKEY_CURRENT_USER registry value in VB6?
0
Comment
Question by:pat_cunningham
1 Comment
 
LVL 76

Accepted Solution

by:
David Lee earned 500 total points
ID: 22759256
Hi, pat_cunningham.

Something like this will do it.
Dim objShell 
Set objShell = CreateObject("WScript.Shell")
varValue = objShell.RegRead("HKCU\SomeKey")

Open in new window

0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

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

This article describes how to add a user-defined command button to the Windows 7 Explorer toolbar.  In the previous article (http://www.experts-exchange.com/A_2172.html), we saw how to put the Delete button back there where it belongs.  "Delete" is …
For a while now I'v been searching for a circular progress control, much like the one you get when first starting your Silverlight application. I found a couple that were written in WPF and there were a few written in Silverlight, but all appeared o…
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

809 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