Re: Retrieving registry value

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance




"David Heer" <DavidHeer@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:3BAA8B5A-098B-4D29-8479-020132A49B1C@xxxxxxxxxxxxxxxx
At runtime, I need to retrieve a registry value that is not located under
HKEY_CURRENT_USER\Software\VB and VBA Program Settings, so GetSetting
isn't
going to do the trick. I've found the CRegKey Class and its methods
(specifically QueryStringValue), but I'm missing the code to alias the
function in my app. Little help?
--
Cheers!

David W. T. Heer

This class is written in C++
http://www.codeguru.com/cpp/w-p/system/registry/article.php/c2889/

But there are quite a few VB6 replacements out there...
http://www.vbaccelerator.com/home/VB/Code/Libraries/Registry_and_Ini_Files/Complete_Registry_Control/article.asp

"RegSettings" at http://vb.mvps.org/samples/

And while not a specific 'class' has a lot of useful routines for
stealing...
http://vbnet.mvps.org/index.html?code/reg/index.html

Also take a look at the source code for Setup1 (likely already on your HD).

HTH
-ralph


.



Relevant Pages

  • Re: Not a valid Windows CE Application Error on my platform
    ... Are we talking a managed app or a native app? ... Chris Tacke, Embedded MVP ... so it must be something in my platform that is missing or wrong. ... beitman AT applieddata DOT net ...
    (microsoft.public.windowsce.platbuilder)
  • Re: How to change focus from .net application back to Word
    ... you are instantiating the Word app differently than I am in my app. ... David ... "John Murray" wrote: ... >>I developed a Windows User Control that automates some functionality of ...
    (microsoft.public.office.developer.automation)
  • Re: WDK build environment...
    ... Please do not send e-mail directly to this alias. ... driver doesn't even load ... Sorry only if he builds with the Windows 2000 environment. ... missing on his machine, which is not missing on your own one. ...
    (microsoft.public.win32.programmer.kernel)
  • Re: Upper Filter for HidIr.sys Sample
    ... if you wrote the app, ... alter the "cooked" HID data ... Please do not send e-mail directly to this alias. ... How can we inject a HID usage up the HID stack? ...
    (microsoft.public.development.device.drivers)
  • Re: CreateProcess FAILS
    ... How did you get this resolved, CreateProcess also fails for me. ... all the app & service development items, couldn't find anything missing. ...
    (microsoft.public.windowsce.platbuilder)