Re: Binary Registry Writes

Tech-Archive recommends: Fix windows errors by optimizing your registry

From: Ken Halter (Ken_Halter_at_Use_Sparingly_Hotmail.com)
Date: 10/05/04


Date: Tue, 05 Oct 2004 14:30:12 -0700

MMM wrote:
> After hours of frustration, I still can't figure out how to write binary
> data into the registry.

If you grab this (excellent) registry class, it shouldn't be a problem.
The last 2 "snips" on the page below show binary read/writes.

Complete Registry control
http://www.vbaccelerator.com/home/VB/Code/Libraries/Registry_and_Ini_Files/Complete_Registry_Control/article.asp

Be sure to grab the 'VB6 Registry Editor Demonstration' sample too (not
required but it's a good source for sample code that uses the class above)

-- 
Ken Halter - MS-MVP-VB - http://www.vbsight.com
Please keep all discussions in the groups..


Relevant Pages

  • Re: Detect Adobe photoshop version
    ... I personally would check the registry for a key or entry or search thru find ... the exe and grab the file version from that, ...
    (microsoft.public.dotnet.languages.csharp)
  • AD script at logon to get the currently logged on users email address?
    ... Is there a way, in our login script, that I can grab the current ... for the location in the registry). ...
    (microsoft.public.windows.server.active_directory)
  • Re: Profile Generation (Outlook XP)
    ... These keys are on in the registry and in binary. ... grab the info from logon and ...
    (microsoft.public.office.setup)
  • Textboxes User Interface Dialog
    ... I am producing a Setup and Deployment project using VS.Net 2003. ... I would like to grab some user entry to set a registry value added as part of the set up. ...
    (microsoft.public.dotnet.framework.setup)
  • Re: Setting registry data
    ... I have tried with ExecQuery, followed by modification, put instance. ... Can you please provide me a sample code or the link for the same? ... IWbemClassObject* pClassInstance = NULL; ... this example shows how to read values from the registry but I ...
    (microsoft.public.win32.programmer.wmi)